frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Stop Cramming Everything into Postgres

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

Apple: Our philosophy is to provide software for our machines free (1976)

http://apple1.chez.com/Apple1project/Gallery/Gallery.htm
1•janandonly•1m ago•0 comments

Stop Firewall Mistakes Before Attackers Find Them

https://nerdsec.io/blog/stop-firewall-mistakes-before-attackers-find-them/
1•levidurfee•2m ago•0 comments

Building a Financial instrument on Blockchain – here what I built

https://albertodino.github.io/DinoProtocol/
1•donbia•5m ago•1 comments

Aging muscle stem cells shift from rapid repair to long-term survival

https://phys.org/news/2026-01-sprint-marathon-aging-muscle-stem.html
1•bikenaga•5m ago•0 comments

Scientists found a way to cool quantum computers using noise

https://www.sciencedaily.com/releases/2026/01/260129080418.htm
2•t-3•7m ago•0 comments

Introducing Apprise-Go

https://unraid.net/blog/apprise-go
1•SteveHawk27•7m ago•0 comments

Leakage of polymer-coated fertilizer microplastics from paddy fields to beaches

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

Remote friendliness of various job categories

https://jobswithgpt.com/blog/remote_category_icicle/
1•sp1982•7m ago•0 comments

Show HN: AgentGram – Open-source, self-hostable AI agent social network

https://www.agentgram.co/
1•iisweetheartii•8m ago•0 comments

Advice for Anarchist Post-Docs – Reinvent Science

https://www.reinvent.science/p/advice-for-anarchist-post-docs
1•janandonly•10m ago•0 comments

Native Full-Text Search in PostgreSQL JSONPath: Proposing Tsmatch

https://tselai.com/proposal-tsmatch-jsonpath
1•fforflo•10m ago•0 comments

1982 News Special: The South Bronx – Wasteland [video]

https://www.youtube.com/watch?v=H15INi4udRE
1•xqcgrek2•10m ago•0 comments

Ask HN: Nobody clicked on a "Show HN" project I put my heart into. Now what?

2•Ldorigo•10m ago•1 comments

Divergent Association Task: Fast creativity test

https://www.datcreativity.com/
2•osivertsson•11m ago•0 comments

Starlink Restrictions for Russians Yielded Results, Confirm Musk and Ukraine

https://militarnyi.com/en/news/starlink-restrictions-for-russians-yielded-results-elon-musk/
2•giuliomagnifico•12m ago•0 comments

Show HN: Craftplan – I built my wife a production management tool for her bakery

https://github.com/puemos/craftplan
2•deofoo•13m ago•0 comments

What It's Like to Be a Worm

https://www.asimov.press/p/sentience
1•mailyk•13m ago•0 comments

Siphonophore: Extensible Yjs sync server in ~900 lines of code

https://github.com/gluonDB/siphonophore
1•jernestomg•15m ago•0 comments

Hollywood keeps making movies families won't watch

https://www.foxnews.com/opinion/best-films-lord-over-worst-because-hollywood-used-make-movies-eve...
1•newsoftheday•15m ago•1 comments

R Color Palettes Refresh

https://emilhvitfeldt.com/post/r-color-palettees-refresh/
1•sinnsro•15m ago•0 comments

World History of Value

https://madebynathan.com/2026/02/01/world-history-of-value/
1•nathan_f77•16m ago•0 comments

50 years ago, a young Bill Gates took on the 'software pirates'

https://thenewstack.io/50-years-ago-a-young-bill-gates-took-on-the-software-pirates/
4•MilnerRoute•16m ago•0 comments

Low-Energy Fridays: How do regulators value life?

https://www.rstreet.org/commentary/low-energy-fridays-how-do-regulators-value-life/
1•hn_acker•17m ago•0 comments

AppleUnsold – the Apple products they won't sell you

https://appleunsold.com
1•ChrisArchitect•20m ago•1 comments

Thoughts on AI-assisted software engineering (2026)

https://sattlerjoshua.com/writing/2026-02-01-thoughts-on-ai-assisted-software-engineering/
1•jsattler•22m ago•1 comments

A freelance marketplace for AI Agents

https://www.moltverr.com/
1•manthangupta109•22m ago•0 comments

I built a search engine to index the un-indexable parts of Telegram

https://telehunt.org
4•alenmangattu•25m ago•0 comments

Gem.coop update #4: cooldowns beta

https://gem.coop/updates/4/
1•GreenWatermelon•29m ago•0 comments

Show HN: Words.zip (300k words found on an infinite grid)

https://words.zip/
3•yathern•31m ago•0 comments

Ex-Google Recruiter Explains Why "Lying" Gets You Hired [video]

https://www.youtube.com/watch?v=T__1QViXUxk
1•austin-cheney•32m ago•3 comments