frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Stop Cramming Everything into Postgres

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

Trump readies US troops for ground invasion in Mexico to go after drug cartels

https://www.independent.co.uk/news/world/americas/us-politics/trump-drug-cartels-mexico-plans-mil...
1•saubeidl•4m ago•0 comments

We Used to Read Things in This Country

https://thebaffler.com/salvos/we-used-to-read-things-in-this-country-mccormack
1•samclemens•6m ago•0 comments

Cost-neutral food tax reforms for healthier and more sustainable diets

https://www.sciencedirect.com/science/article/pii/S0921800925003052
1•PaulHoule•15m ago•0 comments

Visualizee.ai

https://visualizee.ai
1•bellamoon544•15m ago•1 comments

Fusion Energy in 2025: Six Global Trends to Watch

https://www.iaea.org:443/newscenter/news/fusion-energy-in-2025-six-global-trends-to-watch
1•mpweiher•17m ago•0 comments

Claude Code refused to add rainbows and unicorns to my app

6•glamp•18m ago•2 comments

A Friendly Tour of Process Memory on Linux

https://www.0xkato.xyz/linux-process-memory/
2•0xkato•18m ago•0 comments

Bay Area man creates prehistoric Halloween by bringing "Doloresaurus" to life [video]

https://www.youtube.com/watch?v=BXiNtT6cRc4
1•guerrilla•18m ago•0 comments

A confidential manifesto lays out a billionaire's new vision for NASA

https://www.politico.com/news/2025/11/03/jared-isaacman-confidential-manifesto-nasa-00633858
1•c420•19m ago•0 comments

Linkers: A 20 Part Series

https://www.airs.com/blog/archives/38
2•mattrighetti•21m ago•0 comments

2025 United States federal government shutdown

https://en.wikipedia.org/wiki/2025_United_States_federal_government_shutdown
1•wslh•23m ago•0 comments

KitteHub: Python projects in the cloud in a few clicks

https://github.com/autokitteh/kittehub
1•itayd•24m ago•0 comments

OneBusAway: Open-source transit app for real-time information

https://github.com/OneBusAway
1•thunderbong•26m ago•0 comments

Guideline has been acquired by Gusto

https://help.guideline.com/en/articles/12694322-guideline-has-joined-gusto-faqs-about-our-recent-...
4•surprisetalk•28m ago•1 comments

Physical activity as a modifiable risk factor in preclinical Alzheimer's disease

https://www.nature.com/articles/s41591-025-03955-6
1•bookofjoe•29m ago•0 comments

No space, no time, no particles: a vision of quantum reality

https://www.newscientist.com/article/2500081-no-space-no-time-no-particles-a-radical-vision-of-qu...
2•fnord77•30m ago•0 comments

DJI's Drones, Both Branded and Disguised, Are Even Closer to a US Ban

https://petapixel.com/2025/11/03/djis-drones-both-branded-and-disguised-are-even-closer-to-a-us-ban/
3•bookofjoe•34m ago•2 comments

What's Next in Customer Identity and Access Management

https://www.kuppingercole.com/blog/tolbert/whats-next-in-customer-identity-and-access-management
1•mooreds•36m ago•0 comments

Norway's Public Buses Can Be Shut Down Remotely from China

https://www.carscoops.com/2025/11/norways-public-buses-can-be-shut-down-remotely-from-china/
5•josephcsible•37m ago•0 comments

Ask HN: What Is the State of Mobile Development in 2025?

1•sarimkx•38m ago•0 comments

PocketBook – DIY pocket-sized Project Gutenberg books

https://github.com/sieste/pocketbook
1•sieste•45m ago•0 comments

LLM Security Guide – 100 tools and real-world attacks from 370 experts

https://github.com/requie/LLMSecurityGuide
2•tarique192•45m ago•1 comments

Why Does the Universe Exist? (1991) [pdf]

https://philosophy.fas.harvard.edu/sites/g/files/omnuum4436/files/phildept/files/parfit_-_why_doe...
2•measurablefunc•46m ago•1 comments

Scaling up Prime Video monitoring service reduced costs 90% (archive) (2023)

https://web.archive.org/web/20240325042615/https://www.primevideotech.com/video-streaming/scaling...
1•Ellipsis753•46m ago•2 comments

Do I want Coders to Code?

https://yeikoff.xyz/blog/11-02-2025-do-i-want-coders-to-code/
1•iglesiastj•48m ago•0 comments

Trump Officials Torpedoed Nvidia's Push to Export AI Chips to China

https://www.wsj.com/world/china/trump-nvidia-china-chip-exports-51e00415
1•doener•51m ago•0 comments

HedgeDoc – self-hosted real-time collaborative Markdown notes

https://hedgedoc.org
3•indigodaddy•53m ago•0 comments

Show HN: LayoffKit – Free visa-aware planner for laid-off workers(AI+automation)

https://layoffkit.com
2•smalldezk•53m ago•0 comments

AI Is the Bubble to Burst Them All

https://www.wired.com/story/ai-bubble-will-burst/
2•type0•53m ago•0 comments

Awesome Cold Showers

https://github.com/hwayne/awesome-cold-showers
7•lr0•54m ago•0 comments