frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Stop Cramming Everything into Postgres

3•saisrirampur•1y 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•1y ago
you do not need to use anything/everything you find in there, or anywhere for that matter.
XCSme•1y 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)

Intro to Multiplicative Calculus [video]

https://www.youtube.com/watch?v=O1ds53ADmOU
1•soupspaces•4m ago•0 comments

'I'm not a programmer' anymore: Linus Torvalds on the only two tools he uses now

https://www.zdnet.com/article/open-source-summit-linus-torvalds/
1•makerdiety•6m ago•0 comments

Unify AI Horn alternative using ESP32, WizNet 5500, Poe and a Ti Amp

https://www.hackster.io/c_m_cooper/announce-for-unify-e9c652
1•cromka•7m ago•0 comments

Show HN: Inkfold – workspace across multiple AI providers with shared memory

https://www.inkfold.app/
1•hannan2•10m ago•0 comments

Why Mechanical Sympathy? (2011)

https://mechanical-sympathy.blogspot.com/2011/07/why-mechanical-sympathy.html
1•tosh•13m ago•0 comments

Word Count Benchmarks for Websites and Email

https://medium.com/@thesuperrepemail/word-count-benchmarks-for-websites-and-email-d3a7eb6bbea8
1•rajkverma123•14m ago•0 comments

List of theaters and campaigns of World War II

https://en.wikipedia.org/wiki/List_of_theaters_and_campaigns_of_World_War_II
2•zeristor•15m ago•0 comments

China unveils high-power microwave weapon arsenal with up to 100 gigawatts

https://www.scmp.com/news/china/science/article/3360000/100-gigawatts-china-unveils-its-high-powe...
2•msalsas•18m ago•0 comments

ESDM Is Now Open Source

https://docs.eventsourcingdb.io/blog/2026/07/13/esdm-is-now-open-source/
3•goloroden•20m ago•0 comments

T. rex fossil could become most expensive dinosaur ever sold

https://www.bbc.co.uk/news/articles/c4gykgyn1r4o
2•beardyw•21m ago•0 comments

24-zig

https://en.wikipedia.org/wiki/24-zig
1•Lammy•24m ago•0 comments

Show HN: PalExplorer – peer-to-peer file sharing with no central server

https://palexplorer.com
2•hannan2•25m ago•1 comments

The Caste of Intelligence and the Big Tech Blueprint

https://calcrecipe.com/en/workshop/5
1•wsdn•26m ago•0 comments

Agent Service – promptable AI agents with guardrails and downloadable packages

https://buy.stripe.com/5kQ5kEaUKd8w0qr0FKe3e00
1•mknight2690•30m ago•0 comments

Using Kamal 2.0 in Production

https://rubys.github.io/kamal-in-production/
3•enz•36m ago•0 comments

AI Should Build Its Own Research World Model

https://www.evolvinglab.ai/blog/research-world-model
1•vinhnx•36m ago•0 comments

Cruxcoach – Manage many climbing boards privatly in one app

https://cruxcoach.org/
2•frankzander•39m ago•0 comments

What I learned publishing a paper

https://ramjanarthan.com/what-i-learned-publishing-a-paper/
1•shadowblue•45m ago•0 comments

Best Hiking Boots (2026): Walking Shoes, Trails, Backpacking

https://www.wired.com/gallery/best-hiking-boots/
1•joozio•45m ago•0 comments

6× faster binary search: from compiled code to mechanical sympathy

https://pythonspeed.com/articles/branchless-binary-search/
3•enz•47m ago•0 comments

The secret operation to move the Bayeux Tapestry

https://www.nationalgeographic.com/history/article/bayeux-tapestry-return-england-british-museum
1•Tomte•51m ago•0 comments

Sen. Lindsey Graham dead at 71 after 'brief and sudden' illness, office says

https://www.dw.com/en/us-senator-lindsey-graham-dies/a-77921386
6•rock57•51m ago•3 comments

Parse inbound email to JSON in Node.js – MailKite

https://mailkite.dev/blog/parse-inbound-email-to-json-node/
4•aisendhub•52m ago•0 comments

To Build More Believable Bots, Simulate the Neurochemistry

https://github.com/smithandrewjohn/kindalive
2•beardyw•54m ago•2 comments

Ancient feeding-related neuropeptides regulate alloparenting in ants

https://www.nature.com/articles/s41586-026-10747-6
2•XzetaU8•1h ago•0 comments

How Aldi is taking on US supermarkets with its $4 almond butter

https://www.bbc.com/news/articles/cly0l5d5xn7o
2•reqo•1h ago•1 comments

Sen. Lindsey Graham dies at 71 from a 'sudden illness'

https://www.nbcnews.com/video/sen-lindsey-graham-dies-at-81-266555461760
4•josefrichter•1h ago•0 comments

Show HN: Bgchanger.video – change video backgrounds online

https://bgchanger.video/
1•andytuyu•1h ago•0 comments

Ask HN: Can anyone explain this Gsearch rabbit-hole?

1•Baljhin•1h ago•0 comments

The Ten Commandments of AI Usage

https://defragzone.substack.com/p/the-ten-commandments-of-ai-usage
1•frag•1h ago•0 comments