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)

Sunsetting Supermaven

https://supermaven.com/blog/sunsetting-supermaven
2•vednig•3m ago•0 comments

Officially, Sacramento still bans the sale of comic books to kids

https://www.latimes.com/world-nation/story/2025-11-23/sacramento-still-bans-sale-of-comic-books-t...
1•geox•4m ago•0 comments

Microsoft's OpenAI Investment Reveals the Fatal Architecture of AI Economics

https://shanakaanslemperera.substack.com/p/the-equity-method-trap-how-microsofts
1•jnord•4m ago•0 comments

Relationship Advice from 50 Years of Marriage (With the Gottmans) [video]

https://www.youtube.com/watch?v=nJ4RtT0T_BA
1•gmays•5m ago•0 comments

What's wrong with Social Science and how to fix it

https://www.fantasticanachronism.com/p/whats-wrong-with-social-science-and-how-to-fix-it
1•Jun8•9m ago•0 comments

Show HN: I made the Samsung alarm into a real music box

https://joshmosier.com/posts/music-box
1•photonboom•11m ago•0 comments

Show HN: I wrote a minimal memory allocator in C

https://github.com/t9nzin/memory
1•t9nzin•11m ago•0 comments

You can turn a cluster of Macs into an AI supercomputer in macOS Tahoe 26.2

https://www.engadget.com/ai/you-can-turn-a-cluster-of-macs-into-an-ai-supercomputer-in-macos-taho...
2•dagmx•12m ago•1 comments

A desktop app for isolated, parallel agentic development

https://github.com/coder/mux
2•mercat•13m ago•0 comments

Hello Wavpacker

https://allyourfaultforever.com/posts/hello-wavpacker/
1•adamrezich•13m ago•0 comments

Linus Torvalds – Talks about AI Hype, GPU Power, and Linux's Future

https://www.youtube.com/watch?v=NjGHrDnPxwI
3•belter•20m ago•0 comments

Show HN: Safe-NPM – only install packages that are +90 days old

https://github.com/kevinslin/safe-npm
2•kevinslin•23m ago•0 comments

Scott Bessent: Senate Republicans should end the filibuster

https://www.washingtonpost.com/opinions/2025/11/23/scott-bessent-treasury-senate-republicans-fili...
2•bilsbie•23m ago•0 comments

Evolving Narratives

https://futurisold.github.io/2025-11-23-evolving-narratives/
1•futurisold•28m ago•0 comments

Iowa City Made Its Buses Free. Traffic Cleared, and So Did the Air

https://www.nytimes.com/2025/11/18/climate/iowa-city-free-buses.html
16•bookofjoe•30m ago•4 comments

Silicon Valley Idle Simulator

https://y-bombinator-36866039150.us-west1.run.app/
1•flyx•31m ago•1 comments

Querying the Police UK API – Lincoln, UK Crime Rates

https://listed.to/@Balias/67493/querying-the-police-uk-api-lincoln-uk-crime-rates
1•prism56•32m ago•1 comments

QRL Quantum BlockChain

https://twitter.com/QRLedger/status/1992684791972454425
1•slakernode•34m ago•0 comments

Cognitive Foundations for Reasoning and Their Manifestation in LLMs

https://arxiv.org/abs/2511.16660
2•belter•34m ago•0 comments

Tgr- TUI for GitHub

https://github.com/jjournet/tgr
1•jeepj•35m ago•1 comments

Who has the lowest Erdos-Bacon-Epstein number?

https://statmodeling.stat.columbia.edu/2025/11/23/who-has-the-lowest-erdos-bacon-epstein-number/
2•nabla9•35m ago•0 comments

Particle Life – Sandbox Science

https://sandbox-science.com/particle-life
4•StromFLIX•42m ago•0 comments

Show HN: BlankTrace – a Rust‑based MitM proxy to anonymize browser traffic

https://mrorigo.github.io/blanktrace/
1•mrorigo•47m ago•0 comments

Solving Kilordle

https://hauntsaninja.github.io/kilordle.html
1•jxmorris12•47m ago•0 comments

Kilordle

https://jonesnxt.github.io/kilordle/
1•jxmorris12•47m ago•0 comments

REDbot – lint for HTTP resources; protocol, cacheability, content negotiation …

https://redbot.org/
1•pabs3•50m ago•0 comments

Show HN: SaaS waste calculator (most waste –$250/employee/year)

https://licenselogic.co/saas-waste-calculator/
1•aidanvalero•51m ago•0 comments

Tell HN: ChatGPT is freaking amazing and I don't get the negativity

3•Red_Tarsius•51m ago•3 comments

Long Covid trajectories in the prospectively followed RECOVER-Adult US cohort

https://www.nature.com/articles/s41467-025-65239-4
2•bookofjoe•51m ago•0 comments

The Failed Crusade to Keep a Rare-Earths Mine Out of China's Hands

https://www.wsj.com/business/the-failed-crusade-to-keep-a-rare-earths-mine-out-of-chinas-hands-07...
1•mikhael•54m ago•1 comments