frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Stop Cramming Everything into Postgres

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

Show HN: Regrada – The CI gate for LLM behavior

https://www.regrada.com/
1•matiasmolinolo•43s ago•0 comments

Show HN: Situation Monitor

https://www.situation-monitor.org/
1•zarathustra333•1m ago•0 comments

Interpret: China

https://interpret.csis.org/
1•gone35•2m ago•0 comments

Team House: How JSOC Uses Instagram Ads to Track Terrorists – Mike Yeagley [video]

https://www.youtube.com/watch?v=OACwlV9I5LM
1•NN88•2m ago•0 comments

Yeahchain, a high-throughput data sync layer

1•YeahchainTECH•2m ago•0 comments

Supply-chain attack using invisible code hits GitHub and other repositories

https://arstechnica.com/security/2026/03/supply-chain-attack-using-invisible-code-hits-github-and...
1•pabs3•3m ago•0 comments

Monitoring high-load systems with PULSESUN

1•PULSESUN•10m ago•0 comments

Automating data parsing for Mindzo Investment Union

1•MindzoFAQs•13m ago•0 comments

Making Chocolates: Lessons Learned

https://brian.jp/blog/making-chocolates-lessons-learned-35/
1•lofties•14m ago•1 comments

NFL linebacker charged w. killing girlfriend asked ChatGPT advice b4 calling 911

https://www.nbcnews.com/news/us-news/ex-nfl-linebacker-charged-killing-girlfriend-allegedly-asked...
1•randycupertino•14m ago•0 comments

Show HN: Catan Clock – a free PWA timer for keeping Catan turns moving

https://github.com/apasserby00/Catan-Clock/
1•apasserby00•15m ago•0 comments

What I Learned Running Two College Video Game Programs (2011-2018)

https://jasoneckert.github.io/myblog/vg-programs/
1•jasoneckert•16m ago•0 comments

Show HN: Try Gerbil Scheme in the Browser

https://trygerbil.dev/
1•agambrahma•16m ago•0 comments

Show HN: Fubar Daily – satirical news for people watching it unravel

1•anonnona8878•18m ago•0 comments

Jsse: Agent-coded JavaScript engine in Rust passing 99.96% of test262

https://github.com/pmatos/jsse
2•ivankra•19m ago•0 comments

Arancely – AI that calculates import costs in Argentina

https://www.arancely.com
1•flambee•20m ago•1 comments

The Billionaire Backlash Against a Philanthropic Dream

https://www.nytimes.com/2026/03/15/business/the-billionaire-backlash-against-a-philanthropic-drea...
2•tysone•20m ago•0 comments

Google wins Korea map access after 20-year freeze

https://www.koreatimes.co.kr/business/tech-science/20260314/google-wins-korea-map-access-after-20...
3•teleforce•21m ago•0 comments

A 277 KB no_std WebAssembly JIT engine that goes head-to-head with V8

https://github.com/mbbill/Silverfir-nano
1•mbbill•21m ago•0 comments

What "Ready" Means in AI-Assisted Software Builds

https://vibe2value.com/what-ready-actually-means/
1•mattcameron•22m ago•2 comments

CeraPiper: Custom Extruded Ceramics for Heat Exchange (2025)

https://dl.acm.org/doi/10.1145/3745778.3766644
1•wslh•22m ago•0 comments

AI tools are making me lose interest in CS fundamentals

5•Tim25659•24m ago•4 comments

Show HN: OpenClaiming, a tiny protocol for verifiable claims that works anywhere

https://github.com/OpenClaiming/Documentation
1•EGreg•24m ago•0 comments

Couvade syndrome makes fathers feel pregnant

https://www.bbc.com/future/article/20260313-the-mysteries-of-couvade-syndrome
2•1659447091•27m ago•0 comments

Federal Right to Privacy Act

https://righttoprivacyact.github.io
2•pilingual•27m ago•0 comments

Ask HN: Supabase PG upgrade wiped production DB, PITR backups failing

1•supai•31m ago•0 comments

Your AI Agent Is Building Shadow IT and Nobody Noticed

https://geoffstearns.com/blog/your-ai-agent-is-building-shadow-it/
2•tensafefrogs•32m ago•0 comments

We Say You Want a Revolution (2025)

https://citizenlab.ca/research/2025-10-ai-enabled-io-aimed-at-overthrowing-iranian-regime/
1•caaqil•34m ago•0 comments

Show HN: Argazer – detect outdated Helm charts in ArgoCD applications

https://github.com/k-krew/argazer
1•kreicer•34m ago•0 comments

Building a high-end, documentation-first API for DualHeart Financial Association

1•DualHeartNEWS•35m ago•0 comments