frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

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)

The Preparation of Programs for an Electronic Digital Computer

https://en.wikipedia.org/wiki/The_Preparation_of_Programs_for_an_Electronic_Digital_Computer
1•geox•21s ago•0 comments

I built an extension to preview GitHub repos and links without opening new tabs

https://gopeekapp.github.io/gopeek/
1•GeorgeWoff25•35s ago•0 comments

Genkit Middleware: Intercept, extend, and harden your agentic apps Blog

https://developers.googleblog.com/announcing-genkit-middleware-intercept-extend-and-harden-your-a...
1•shallow-mind•4m ago•0 comments

Programmable Phones

https://tailrecursion.com/~alan/ProgrammablePhones.html
1•wooby•6m ago•0 comments

The rise and fall of an AI-driven 'local news outlet' in South Florida

https://floridatrib.org/2026/05/14/the-rise-and-fall-of-an-ai-driven-local-news-outlet-in-south-f...
1•martey•9m ago•0 comments

What Are AI Ethics

https://krellixlabs.com/en/blog/what-are-ai-ethics
1•radu_me•9m ago•0 comments

Ask HN: One mistake or hack that taught you the most?

1•SyntaxErrorist•10m ago•2 comments

Agentic evals or LLM as a judge? considering cost, time and quality

1•pipelineofone•13m ago•0 comments

Lookup.disclose.io – find the right security contact for any asset

https://lookup.disclose.io
2•caseyjohnellis•14m ago•1 comments

Agentic SDLC: How OpenSearch accelerates engineering with its own engine

https://opensearch.org/blog/harness-first-agentic-sdlc-how-opensearch-builds-software-using-its-o...
1•Lunar5227•18m ago•0 comments

Show HN: QUptime, quorum based decentralized uptime tool

https://github.com/Axodouble/QUptime
1•Axodouble•21m ago•0 comments

Multi-LLM trading harness with live leaderboard on Alpaca paper trades

https://github.com/achaljhawar/1rok
1•satoshiclad•28m ago•0 comments

What Are the Different Types of AI Testing Tools?

1•allenmatthew•39m ago•0 comments

The Power of the Breath

https://medicine.yale.edu/news-article/the-power-of-the-breath/
3•andsoitis•45m ago•2 comments

Social Media Bans Are for Kids. What About Adults?

https://pmz1.substack.com/p/social-media-bans-are-for-kids-what
4•gieksosz•49m ago•1 comments

How climate-resilient homes in India are reducing dependence on air conditioners

https://www.thehindu.com/sci-tech/energy-and-environment/how-climate-resilient-homes-in-india-are...
2•rustoo•56m ago•0 comments

OpenAI just lost its enterprise AI crown to Anthropic

https://www.businessinsider.com/anthropic-tops-openai-business-ai-adoption-ramp-index-2026-5
3•mazokum•57m ago•0 comments

Edith Eger, Auschwitz Survivor Who Helped Others Cope with Trauma, Dies at 98

https://www.wsj.com/world/edith-eva-eger-dead-13268534
3•hodgesrm•1h ago•0 comments

Britain investigates Microsoft over business software dominance

https://www.reuters.com/legal/litigation/uk-opens-antitrust-probe-into-microsofts-business-softwa...
3•frm88•1h ago•1 comments

Random AI Explained Fast

https://www.youtube.com/watch?v=XURpiqSelBw
2•KornClown7•1h ago•0 comments

Perfect Number Bomb(2025)

https://www.quantumcalculus.org/odd-perfect-number-bomb/
2•nill0•1h ago•0 comments

FilePilot AI – local-first desktop file manager with optional AI summaries

https://github.com/cuiheng511/filepilot-ai
2•cui511511•1h ago•0 comments

How the Ingredients of Life Make Our Journey Worthwhile

https://medium.com/create-your-career/how-the-ingredients-of-life-make-our-journey-worthwhile-12e...
1•andsoitis•1h ago•0 comments

US reportedly dropped fraud charges against Adani after he hired Trump's lawyer

https://www.theguardian.com/us-news/2026/may/14/gautam-adani-billionaire-trump
2•dilawar•1h ago•0 comments

Logic bug in the Linux kernel's __ptrace_may_access() function (LPE)

https://www.openwall.com/lists/oss-security/2026/05/15/2
2•Tiberium•1h ago•0 comments

Ask HN: How do you catch regressions when you change your AI agent's prompt?

1•yakshithk_•1h ago•0 comments

C++26 Shipped a SIMD Library Nobody Asked For

https://lucisqr.substack.com/p/c26-shipped-a-simd-library-nobody
2•signa11•1h ago•0 comments

Solar Is Everything

https://www.barchart.com/story/news/37361552/solar-is-everything-teslas-elon-musk-says-other-ener...
2•andsoitis•1h ago•0 comments

Claude free usage limits are nuts. useless

4•paulpauper•1h ago•0 comments

PSVL 1.0 – The most comprehensive source-visible license (276 clauses)

https://github.com/BMBOMICH/PSVL
1•BMBOMICH•1h ago•0 comments