frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Stop Cramming Everything into Postgres

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

Clamp / Median / Range

https://dotat.at/@/2025-07-02-cmp.html
2•Bogdanp•1m ago•0 comments

America's Mobile Security Crisis: It's Time for a Secure, Private Alternative

https://puri.sm/posts/americas-mobile-security-crisis-why-its-time-for-a-secure-private-alternative/
4•jethronethro•10m ago•0 comments

Hi, I'm founder. I have 20 domains and a dozen Supabase accounts and earned zero

https://www.dontbuildthat.com/landing
1•dropkick_koala•17m ago•0 comments

RFK Jr.'s health department calls Nature "junk science," cancels subscriptions

https://arstechnica.com/health/2025/07/rfk-jr-s-health-department-calls-nature-junk-science-cancels-subscriptions/
24•duxup•18m ago•6 comments

The Path to Medical Superintelligence

https://microsoft.ai/new/the-path-to-medical-superintelligence/
1•jonbaer•25m ago•0 comments

State of the Spack community: the Road to Version 1.0 [video]

https://indico.fnal.gov/event/69557/
1•teleforce•27m ago•0 comments

Product-Market Fit Is Retrospective Fiction

https://www.thebrokevc.com/p/product-market-fit-is-retrospective-fiction-7c36
2•joanwestenberg•28m ago•0 comments

People are using AI to 'sit' with them while they trip on psychedelics

https://www.technologyreview.com/2025/07/01/1119513/ai-sit-trip-psychedelics/
2•pseudolus•33m ago•0 comments

The Hamburger Menu Is No Longer a Hamburger Menu

https://www.datagubbe.se/dimburger/
4•zdw•35m ago•0 comments

Does education increase intelligence and does it matter? (2024)

https://theinfinitesimal.substack.com/p/does-education-increase-intelligence
1•johntfella•36m ago•0 comments

Hot acetic acid enables full recycling of carbon fiber composite materials

https://phys.org/news/2025-06-hot-acetic-acid-enables-full.html
2•PaulHoule•37m ago•0 comments

The End of the Arctic? Ocean Could Be Ice Free by 2015

https://www.thedailybeast.com/the-end-of-the-arctic-ocean-could-be-ice-free-by-2015/
1•bilsbie•41m ago•0 comments

Castlevania: Symphony of the Night Decompilation Project

https://sotn.xee.dev/
1•retro_guy•45m ago•1 comments

Young Americans Are Spending a Whole Lot Less on Video Games This Year

https://www.gamespot.com/articles/young-americans-are-spending-a-whole-lot-less-on-video-games-this-year/1100-6532877/
4•andsoitis•48m ago•0 comments

Benchmark for Evaluating Text Embeddings

https://huggingface.co/spaces/embedding-benchmark/RTEB
2•fzliu•49m ago•0 comments

Celebrating love in all its forms across identities and relationships

https://childrensbookforall.org/readings/16
1•chbkall•53m ago•1 comments

Qantas customers involved in mammoth data breach

https://www.news.com.au/travel/travel-updates/incidents/qantas-customers-involved-in-mammoth-data-breach
1•aussieguy1234•55m ago•1 comments

New claim added: X opens up to Community Notes written by AI bots

https://www.theverge.com/news/696210/x-community-notes-ai-note-writers
3•bundie•55m ago•0 comments

HTTP: H Is for Hallucinated

https://www.jasonthorsness.com/28
1•jasonthorsness•57m ago•0 comments

The simple act of reading can be a crime in Malaysia. Here's why

https://www.rnz.co.nz/life/books/the-simple-act-of-reading-can-be-a-crime-in-malaysia-here-s-why
7•billybuckwheat•57m ago•0 comments

Hilbert's sixth problem: derivation of fluid equations via Boltzmann's theory

https://arxiv.org/abs/2503.01800
13•nsoonhui•1h ago•2 comments

Wider or Deeper? Scaling LLM Inference-Time Compute with Adaptive Tree Search

https://arxiv.org/abs/2503.04412
3•vrm•1h ago•0 comments

As wave of dementia cases looms, Law School looks to preserve elders’ rights

https://news.harvard.edu/gazette/story/2025/07/as-wave-of-dementia-cases-looms-law-school-looks-to-preserve-elders-rights/
2•gnabgib•1h ago•1 comments

Self-hostable AT Protocol backlink index that runs on a RPi 4

https://github.com/at-microcosm/links/tree/main/constellation
2•ffin•1h ago•0 comments

Cross-Device Flows: Security Best Current Practice

https://www.ietf.org/archive/id/draft-ietf-oauth-cross-device-security-10.html
3•mooreds•1h ago•0 comments

The Eiffel Tower is closed to tourists due to searing heat

https://www.cnn.com/2025/07/01/weather/europe-heat-wave-global-warming
1•mooreds•1h ago•0 comments

Dewdrop: A Java Event Sourcing Framework

https://dewdrop.events/
3•mooreds•1h ago•0 comments

You MUST Listen to RFC 2119

https://ericwbailey.website/published/you-must-listen-to-rfc-2119/
5•zdw•1h ago•1 comments

Show HN: Conduit – Turn large text files into listenable audio

https://conduit-landing-page-git-master-tobys-projects-a638df7e.vercel.app/
2•tboneskibs•1h ago•0 comments

Show HN: I built a procedural universe in Python to explore simulation theory

https://github.com/SurceBeats/Atlas
2•SurceBeats•1h ago•1 comments