frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Stop Cramming Everything into Postgres

3•saisrirampur•7mo ago
Loved the discussion on this hn post few months ago on Postgres for everything. https://news.ycombinator.com/item?id=42347606 I thought I'd share my thoughts over a separate post. I see a bunch of comments: just don’t do it! I’m glad this is becoming mainstream, and people are realizing that Postgres for everything doesn’t work. Don’t get me wrong—I’m a huge Postgres proponent and have spent 10 years helping customers implement it. However, I’m a strong believer in using Postgres for what it’s designed for in first-place. Postgres was designed as a row-based OLTP database, with over 30 years of effort dedicated to making it robust for that use case.

I know there are many extensions attempting to make Postgres support other use cases, such as analytics, queues, and more. Keep in mind that these extensions are relatively recent and aim to retrofit new capabilities onto a database primarily designed for transactional workloads. It’s like adding an F1 car engine to a Toyota Camry — will that work?

Extensions also have many issues—they are not fully Postgres-compatible. In Citus, for example, we added support for the COPY command 4 years into the company, and chasing SQL coverage was a daily challenge for 10 years. Unable to use the full capabilities of Postgres and having to work around numerous unsupported features defeats the purpose of being a Postgres extension. This was a common feedback across Citus customers - when you say Postgres extension, customers are looking for something that supports all Postgres features! Side note for the Postgres extension companies: Chasing Postgres compatibility and world class performance are ginormous problems and are hard to achieve without laser focus on each of them.

On the other hand, you have purpose-built alternatives like ClickHouse, Snowflake for analytics, Redis for caching, and Kafka for queues. These technologies have benefited from decades of development, laser-focused on supporting specific use cases. As a result, they are highly efficient for their intended purposes.

I often hear that these Postgres extensions are expanding the boundaries of what Postgres can do. While I partly agree, I question the extent to which these boundaries are truly being expanded. In this era of AI, where data is growing exponentially, handling scale is critical for any technology. These boundaries will likely be broken very quickly - A data point here is that in my day-to-day now, I'm seeing AI companies use purpose-built technologies like ClickHouse way sooner. A few years ago, it was a Series A or Series B company that would consider a purpose-built database, now it is Seed stage companies. This is because the amount of data / users to be handled has grown tremendously from the get go and companies are preferring solutions that scale with their workload.

Also I keep hearing these Postgres extension companies say Zero ETL in their positioning, which I don't agree. Let’s take a search or an analytics extension where you want to run analytics on your transactional data. You either need to manage a cron to continuously offload the transactional data to the storage format of the extension or if the extension supports logical replication (not all do), you need to have logical replication setup. And logical replication is ETL! It is painful to manage logical replication - fun fact, at PeerDB, Postgres was the second largest target connector as logical replication was painful to manage, at scale. And yes, you could have capabilities which does the conversion in the background, but that is again a ginormous problem, I think only a few fully fledged databases like Vertica have this feature.

TL;DR: Please think carefully before choosing the right technology as you scale. Cramming everything into Postgres might not be the best approach for scaling your business.

Comments

gjvc•7mo ago
you do not need to use anything/everything you find in there, or anywhere for that matter.
XCSme•7mo ago
Most use-cases and people/companies don't have the traffic amount where scaling matters that much, so performance gains will be negligible (or even worse) when using a more complex "specialized" stack.

Yes, if you have a large team, building for scale in a VC-funded company, go for dedicated stacks, but if you are just building a start-up where moving fast is important and architecture quickly changes, any DB will do and will not be the bottleneck.

I use Postgres to cache some responses from APIs (max 100 different documents per month) where latency doesn't matter, so using Redis instead would provide no benefit (will actually make it worse, due to its "worse" persistency and third-party integrations capabilities)

CSS-in-JS: The Great Betrayal of Front End Sanity

https://thenewstack.io/css-in-js-the-great-betrayal-of-frontend-sanity/
1•meistro•2m ago•0 comments

Fruit Harvesting Robot Based on a Reachability and Inverse Reachability Map

https://www.mdpi.com/2624-7402/7/12/417
1•PaulHoule•5m ago•0 comments

AI hasn't run out of data

https://openmined.org/blog/ai-hasnt-run-out-of-data/
1•voidmain0001•5m ago•0 comments

Scrollback - Anchor links for ChatGPT and Claude conversations

https://chromewebstore.google.com/detail/scrollback-–-navigate-cha/iblmmeckegbndmfhhjphpdbpoehn...
1•rorschach_3•5m ago•1 comments

Reasoning Claim Tokens(RCTs): Minimal Evidence for Governing AI Representations

https://zenodo.org/records/18096977
1•businessmate•7m ago•1 comments

Open manus: An open-source framework for building general AI agents

https://openmanus.github.io/
1•nothrowaways•7m ago•0 comments

Harry Potter and the Rules of Quidditch

https://substack.com/inbox/post/179661551
1•TomasBjartur•9m ago•0 comments

Toronto man outruns streetcars to show up sluggish transit network

https://www.theguardian.com/world/2025/dec/30/i-dont-like-winning-toronto-man-outruns-streetcars-...
1•bookofjoe•10m ago•0 comments

The Oldest Restaurant in the World Just Turned 300 Years Old

https://www.smithsonianmag.com/travel/the-oldest-restaurant-in-the-world-just-turned-300-years-ol...
1•Brajeshwar•11m ago•0 comments

Star of Bethlehem might have been a comet described in an ancient Chinese text

https://phys.org/news/2025-12-star-bethlehem-comet-ancient-chinese.html
2•Brajeshwar•12m ago•0 comments

Advice for New Tech Bloggers

https://writethatblog.substack.com/p/advice-for-new-tech-bloggers
1•cyndunlop•15m ago•0 comments

You Were the Smart Kid, So What Went Wrong? [video]

https://www.youtube.com/watch?v=ICTgC1RDhng
1•devnull3•16m ago•0 comments

The 70% AI productivity myth: why most companies aren't seeing the gains

https://sderosiaux.substack.com/p/the-70-ai-productivity-myth-why-most
4•chtefi•17m ago•2 comments

Designing a Postgres MCP Server

https://dbhub.ai/blog/postgres-mcp-server-review-dbhub
1•tianzhou•17m ago•0 comments

Ask HN: Could identical twins better optimize career discovery?

1•amichail•19m ago•0 comments

Agentic AI Crash Course

https://github.com/aishwaryanr/awesome-generative-ai-guide/tree/main/free_courses/agentic_ai_cras...
1•Anon84•20m ago•0 comments

Show HN: Jules Mobile Client – React Native App for Google's Jules AI Assistant

https://github.com/linkalls/jules-mobile-client
1•potetotown•21m ago•0 comments

Training AI Co-Scientists Using Rubric Rewards [Meta Superintelligence Labs]

https://www.alphaxiv.org/abs/2512.23707
1•shash42•21m ago•0 comments

Show HN: Tl;dr HN – Summaries of the top HN posts and comments (powered by AI)

https://www.tldrhn.io/
1•colfax23•21m ago•0 comments

Princeton-Affiliated Research: Exploring Singularity-Free Black Holes

https://arxiv.org/abs/2507.05145
1•northlondoner•21m ago•1 comments

Show HN: I built a free invoice generator for freelancers and small businesses

https://www.myinvoicegenerator.app/
2•sujitmali0•22m ago•0 comments

Public Sans – A strong, neutral typeface

https://public-sans.digital.gov/
3•mhb•23m ago•0 comments

Show HN: I built a site that tracks and summarizes $500M projects from Ask HN

https://hackernews-side-projects.vercel.app
1•xukeek•24m ago•0 comments

The challenges of synthetic users in UX research

https://interactions.acm.org/blog/view/the-challenges-of-synthetic-users-in-ux-research
1•azhenley•28m ago•0 comments

China holds military drills around Taiwan as warning to 'separatist forces'

https://www.bbc.com/news/articles/c87l7xjp235o
3•ksec•29m ago•1 comments

Surgical robot removes gallbladder without human help

https://www.ibsafoundation.org/en/blog/surgical-robot-removes-gallbladder-without-human-help
1•nopinsight•30m ago•0 comments

'peck' – easy screenshots and screen captures on Wayland

https://github.com/codevogel/peck
1•codevogel_com•33m ago•1 comments

Miniray is a vibecoded WGSL shader minifier and validator

https://hugodaniel.com/posts/miniray/
1•hugodan•33m ago•0 comments

A Second Year of Decline for Tesla's EVs

https://electrek.co/2025/12/29/tesla-tsla-does-something-unsual-q4-delivery-results/
2•thelastgallon•34m ago•2 comments

Writer's Room: Behind the scenes, rough and unfinished ideas

https://www.ssp.sh/writers-room/
1•articsputnik•34m ago•0 comments