frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Stop Cramming Everything into Postgres

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

My Reporting on the Columbia Protests Led to My Deportation

1•computersuck•3m ago•0 comments

iPhone Air Sales Are So Bad That Apple's Delaying the Next-Generation Version

https://www.macrumors.com/2025/11/10/next-generation-iphone-air-delayed/
2•mgh2•7m ago•0 comments

Show HN: Typesafe async friendly unopinionated enhancements to SQLAlchemy Core

https://github.com/sayanarijit/sqla-fancy-core
1•sayanarijit•8m ago•0 comments

Grammars Written for Antlr v4

https://github.com/antlr/grammars-v4
1•peter_d_sherman•10m ago•0 comments

AI is all about inference now

https://www.infoworld.com/article/4087007/ai-is-all-about-inference-now.html
2•tanelpoder•14m ago•0 comments

AI's bubble just entered a new phase. This one's debt-fuelled

https://www.afr.com/chanticleer/184b-in-seven-weeks-the-other-ai-surge-investors-must-watch-20251...
3•zerosizedweasle•20m ago•1 comments

Too Good to Be Bad: On the Failure of LLMs to Role-Play Villains [pdf]

https://arxiv.org/abs/2511.04962
1•SerCe•21m ago•0 comments

Rising Prevalence of Sleep Apnoea During Nighttime Heatwaves Across Europe

https://publications.ersnet.org/content/erj/early/2025/09/28/1399300301631-2025
1•PaulHoule•25m ago•0 comments

The Democrats Have a New Winning Formula

https://www.derekthompson.org/p/the-democrats-new-formula-the-affordability
3•gamechangr•26m ago•0 comments

Modal dialogs without React (or JavaScript)

https://www.laktek.com/modal-dialogs-without-react-javascript
1•laktek•27m ago•0 comments

Derek Thompson AI Could Be the Railroad of the 21st Century. Brace Yourself

https://www.derekthompson.org/p/artificial-intelligence-could-be
2•gamechangr•27m ago•0 comments

AI in the Sciences and Engineering (2024)

https://camlab.ethz.ch/teaching/ai-in-the-sciences-and-engineering-2024.html
1•teleforce•28m ago•0 comments

Consciousness in the Unliving

https://dorsarohani.com/blog/consciousness_in_the_unliving
2•electrodisk•28m ago•0 comments

AI Killed My Job: Tech Workers

https://www.bloodinthemachine.com/p/how-ai-is-killing-jobs-in-the-tech-f39
4•z0r•31m ago•0 comments

Applying to YC

https://www.usediligent.app/
1•ayaangazali•32m ago•0 comments

Explorations of RDMA in LLM Systems

https://le.qun.ch/en/blog/2025/11/09/rdma-p2p-for-llm/
2•tanelpoder•33m ago•0 comments

AI Science and Engineering: A New Field (2022)

https://www.computer.org/csdl/magazine/ex/2022/01/09756274/1CvQn05LV6g
1•teleforce•33m ago•0 comments

Ask HN: How to grow and become more employable when working with outdated tech?

2•mattfrommars•35m ago•1 comments

TV: Table Viewer for Terminal

https://github.com/codechenx/tv
2•codechenx•39m ago•0 comments

Show HN: Echos – A lightweight multi-agent AI system with pre-built agents

https://github.com/treadiehq/echos
1•lexokoh•41m ago•0 comments

Measuring Congestion of WiFi Channels with the USRP B206mini-I [pdf]

https://files.digilent.com/resources/whitepapers/2025-Measuring-WiFi-Congestion-using-B206mini-i.pdf
1•teleforce•42m ago•0 comments

Someone built a CRT case for the Switch 2 [video]

https://www.youtube.com/watch?v=wcym2tHiWT4
1•bsimpson•47m ago•0 comments

Every AI startup is likely to be crushed by rapid expansion of model providers

https://twitter.com/yishan/status/1987787127204249824
2•akkishore•51m ago•1 comments

Swiss Dev Jobs

https://swissdevjobs.ch/
1•peterburkimsher•54m ago•0 comments

Foundations for Hacking on OCaml

https://kcsrk.info/ocaml/2025/11/10/hacking/
1•ibobev•55m ago•0 comments

Alameda Man Charged W Stealing Rare Historic Chinese Manuscripts Frm Uni Library

https://www.justice.gov/usao-cdca/pr/alameda-county-man-charged-federal-complaint-stealing-rare-a...
4•737min•56m ago•0 comments

Readonly Characters Are a Big Deal

https://matklad.github.io/2025/11/10/readonly-characters.html
1•ibobev•56m ago•0 comments

I hate screenshots of text

https://parkscomputing.com/page/i-hate-screenshots-of-text
78•paulmooreparks•57m ago•48 comments

Analysis Report of the NSA's Attack on the Chinese National Timekeeping Center

https://docs.google.com/document/d/1gk1fDLKrN3m5jOSk7QbpGL1SBcLvrm0FTN3H-5ZJZcY/edit?usp=sharing
3•ndiddy•58m ago•1 comments

Will a 50-Year Mortgage Make Homes More Affordable?

https://www.wsj.com/personal-finance/mortgages/will-a-50-year-mortgage-make-homes-more-affordable...
6•bookofjoe•1h ago•17 comments