frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Stop Cramming Everything into Postgres

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

Show HN: Outfit Swap Studio – AI clothes changer for your own photos

https://outfitswapstudio.com/
1•xiaoyuan23•2m ago•0 comments

Paramount Makes Hostile Bid for Warner Bros. Discovery

https://www.nytimes.com/2025/12/08/business/paramount-warner-bros-discovery-netflix.html
1•pseudolus•2m ago•1 comments

Show HN: I created a website to scan invoices or bank statements with OCR and AI

https://quickdataconverter.com
1•sithu_khant•3m ago•0 comments

Time might not exist – and we're starting to understand why

https://www.sciencefocus.com/science/the-closer-we-look-at-time-the-stranger-it-gets
2•amichail•4m ago•0 comments

The Reverse Socratic Method in the AI Age

https://smoas.bearblog.dev/reverse-socratic/
1•_nalply•5m ago•0 comments

Paramount launches hostile bid for Warner Bros. Discovery despite Netflix deal

https://www.nbcnews.com/business/media/paramount-hostile-bid-warner-bros-discovery-rcna247993
2•mellosouls•5m ago•0 comments

Dynamic Pong Wars

https://markodenic.tech/dynamic-pong-wars/
1•bookofjoe•6m ago•0 comments

Show HN: NixOS on Fairphone 5

https://github.com/gian-reto/nixos-fairphone-fp5
1•gian-reto•6m ago•0 comments

GeoVista open-source agentic geolocation

https://the-decoder.com/geovista-brings-open-source-ai-geolocation-to-near-parity-with-top-commer...
1•geox•8m ago•0 comments

Notes on building end-to-end encrypted and CRDT-based local-first applications

https://kerkour.com/crdt-end-to-end-encryption-research-notes
4•randomint64•8m ago•0 comments

Dax Martin's Telescreen 2078

https://www.instagram.com/daxmartinart/reel/DR8CbUPDufv/
1•vintagedave•10m ago•0 comments

Show HN: A Wordle helper I made after becoming a little obsessed with the game

https://wordlehelper.co
1•mr_windfrog•12m ago•0 comments

Show HN: WaldenWeek – Weekly challenges for simpler living

https://waldenweek.com
1•calinf•12m ago•0 comments

O'Brien Flops! (1993)

https://archive.nytimes.com/www.nytimes.com/ref/opinion/17opclassic_conan.html
1•TMWNN•13m ago•0 comments

Show HN: LinkedQL – Live Queries over Postgres, MySQL, MariaDB

https://github.com/linked-db/linked-ql
1•phrasecode•13m ago•1 comments

Why your CTO might start coding again

https://davegriffith.substack.com/p/why-your-cto-might-start-coding-again
1•fandorin•14m ago•0 comments

Show HN: A browser-based screen recording / editing tool for fast product demos

https://screentell.com
1•wainguo•17m ago•0 comments

Will LLMs be more or less rational consumers than humans?

https://www.alephic.com/writing/satisficing-for-llms
1•noahbrier•20m ago•0 comments

Paramount launches hostile bid for Warner Bros

https://www.cnbc.com/2025/12/08/paramount-skydance-hostile-bid-wbd-netflix.html
4•gniting•20m ago•1 comments

Mathematician Ernest Ryu on solving a 42-year-old problem in math with GPT-5 Pro

https://excitech.media/p/how-a-mathematician-used-chatgpt
1•ksdk•21m ago•0 comments

Software Applications Face a New Intermediary

https://www.wreflection.com/p/software-gets-a-new-layer
1•nowflux•22m ago•0 comments

How Pokémon cards became a stock market for millennials

https://www.theguardian.com/games/2025/dec/08/how-pokemon-cards-became-a-stock-market-for-millenn...
1•Archelaos•24m ago•0 comments

Israel's biggest defence company suspended by NATO amid corruption probe

https://www.ftm.eu/articles/israel-defence-elbit-systems-suspended-nato-corruption-investigation
5•amarcheschi•24m ago•1 comments

The benefits of standardized architectures for space missions

https://blog.satsearch.co/2025-12-05-spotlight-the-benefits-of-standardized-architectures-for-spa...
1•kartikkumar•25m ago•0 comments

Home Assistant Vibecoding in Cursor, VS Code or Other MCP Enabled IDE

https://medium.com/@eremeev/home-assistant-vibecoding-in-cursor-vs-code-or-other-mcp-enabled-ide-...
1•Vladimir42•26m ago•0 comments

Linguists start compiling first ever complete dictionary of ancient Celtic

https://www.theguardian.com/science/2025/dec/08/linguists-start-compiling-first-ever-complete-dic...
2•Archelaos•27m ago•0 comments

I read more than I write

https://enombic.com/read-more-than-write
1•vxxzy•29m ago•0 comments

The Pixel 9 Pro was designed for Google Fi, but the iPhone 16 Pro outperforms it

1•pcvetkovski•30m ago•0 comments

Teaching My AI to Sleep: Continual Learning with Llama 3 on a Mac Mini

https://medium.com/@brfmjvgd/teaching-my-ai-to-sleep-continual-learning-with-llama-3-on-a-mac-min...
2•Coll•30m ago•0 comments

Show HN: I wrote a book – Debugging TypeScript Applications (in beta)

https://pragprog.com/titles/aodjs/debugging-typescript-applications/
5•ozornin•30m ago•4 comments