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)

Geoengineering still faces major practical challenges

https://www.technologyreview.com/2026/06/18/1139227/geoengineering-engineering-challenges/
1•joozio•54s ago•0 comments

W.H. Auden's typist: James Schuyler in life and literature

https://hedgehogreview.com/web-features/thr/posts/companions-on-parnassus
1•simplegeek•2m ago•0 comments

Show HN: MP3 to Mp4 Converter

https://www.neuralframes.com/tools/mp3-to-mp4
1•nicollegah•4m ago•0 comments

Psychological warfare was once an afterthought, its now the primary battleground

https://iai.tv/articles/psychological-warfare-was-once-an-afterthought-its-now-the-primary-battle...
1•XzetaU8•11m ago•1 comments

Bab: A hash function for content-addressable storage

https://bab-hash.org/spec
1•g0xA52A2A•14m ago•0 comments

Show HN: Chess-Inspired Roguelike

https://princechazz.com
2•cowboy_henk•15m ago•0 comments

Loomer "Loveless" (1991)

https://tohereknowswhen.org/tabs/loomer.html
1•hmmnxrye•18m ago•0 comments

Moving beyond fiat-based: A tensor-network model for resource-abundance

https://github.com/TribeWarez/REALMS
1•odelyzid•19m ago•0 comments

Asked ChatGPT to disable the copy.fail module, it enabled it instead

https://chatgpt.com/share/6a37877e-73c8-83e9-bd53-28bd136fc259
1•TZubiri•24m ago•0 comments

The Wonderful Walkabouts of Harmen Hoek

https://jeffpolman.com/2024/04/30/the-wonderful-walkabouts-of-harmen-hoek/
1•andsoitis•24m ago•0 comments

Europeans should learn to love the air conditioner

https://www.economist.com/europe/2026/06/18/europeans-should-learn-to-love-the-air-conditioner
2•CalRobert•26m ago•1 comments

"My Way" Killings

https://en.wikipedia.org/wiki/My_Way_killings
2•SweetSoftPillow•28m ago•0 comments

Show HN: Domvault – self-hostable second brain with consent-based note sharing

https://github.com/dys5315/domvault
1•quietdrift_04•28m ago•0 comments

Show HN: Pyor – A desktop PR reviewer for the diffs GitHub chokes on

1•othmanosx•28m ago•0 comments

Show HN: Notedog – Git-friendly portable Markdown journal, edit from a laptop

https://notedog.run/
1•hibariya•29m ago•0 comments

Show HN: Quikdown – 17 KB bidirectional Markdown parser and rich-fence editor

https://github.com/deftio/quikdown
1•deftio•30m ago•0 comments

Now that your newsletter is AI-generated, I've Unsubscribed

https://idiallo.com/blog/unsubscribed-from-ai-generated-newsletters
1•nenadpantelic•31m ago•0 comments

All 4,582 abhangs of Sant Tukaram, translated and theme-mapped with AI

https://sant.ajinkya.ai/tukaram
1•csmonk•31m ago•0 comments

Built a rival to the largest fanfiction platforms – alone, at 17

https://obaid.wtf/jotbook/2026/06/20/built-a-rival-to-the-worlds-largest-fanfiction-platforms.html
2•pknerd•32m ago•0 comments

Where Do India's IPO-Bound Founders Come From?

https://www.dealflowiq.com/p/what-indias-ipo-founders-actually
1•koolhead17•32m ago•0 comments

Show HN: shared verified memory for AI agents: one learns, all recall

https://kage-core.com/
1•kage18•33m ago•0 comments

Improvements to Std:Format in C++26

https://mariusbancila.ro/blog/2026/06/19/improvements-to-stdformat-in-c26/
1•jandeboevrie•38m ago•0 comments

Windows UI evolution: Clicking an unassociated file

https://movq.de/blog/postings/2026-06-20/0/POSTING-en.html
1•jandeboevrie•40m ago•0 comments

The Omnipod 5 insulin pump has been cracked by open source developers

https://nightscout.github.io/omnipod-five/
1•rcgy•42m ago•1 comments

Continuous Quaternion Delta Encoding

https://biochainai.substack.com/p/the-math-of-motion-visualizing-continuous
1•BioChainAI•52m ago•0 comments

Ethereum: Still Chasing Sovereignty

https://twitter.com/i/status/2068429073429287373
2•johnpradeep•1h ago•0 comments

See if you are in the weights of super intelligence

https://intheweights.com/
1•rishabhpoddar•1h ago•1 comments

Ask HN: If AI didn't exist, what would you be building today?

4•akashwadhwani35•1h ago•4 comments

The Pneumatic Tube Mail System in New York City

https://www.untappedcities.com/pneumatic-tube-mail-new-york-city/
1•thunderbong•1h ago•0 comments

The 100k Whys of AI

https://lcamtuf.substack.com/p/the-100000-whys-of-ai
41•surprisetalk•1h ago•11 comments