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)

Sovereign Tech Fund: Strategic investments in the digital infrastructure

https://www.sovereign.tech/programs/fund
1•teleforce•24s ago•0 comments

Show HN: WinBorg, a beautiful alternative to Vorta for BorgBackup

https://github.com/robotnikz/WinBorg
1•robotnikz•5m ago•0 comments

Reversible Computation as a software construction paradigm

1•Nivdc•8m ago•0 comments

Writing First, Tooling Second

https://susam.net/writing-first-tooling-second.html
2•Brajeshwar•11m ago•0 comments

How can I grep for lines containing foo AND bar, foo OR bar?

https://mywiki.wooledge.org/BashFAQ/079
1•kamaraju•14m ago•0 comments

Show HN: Cortex – Android Notification manager with on-device LLM

https://play.google.com/store/apps/details?id=xyz.moyelauncher.cortex&hl=en_US
1•0xManjeet•20m ago•0 comments

Apple Wallet Storage Bug Is Filling Up iPhone Space for Some Users

https://www.macobserver.com/news/apple-wallet-storage-bug-is-filling-up-iphone-space-for-some-users/
3•ksec•20m ago•2 comments

Show HN: DreamForge – AI dream journal that turns dreams into art

https://dream-forge.me
1•KenzoArai•22m ago•0 comments

Court rejects NVIDIAs attempt to seal email chain with Annas Archive [pdf]

https://storage.courtlistener.com/recap/gov.uscourts.cand.426191/gov.uscourts.cand.426191.222.0.pdf
3•1vuio0pswjnm7•24m ago•1 comments

Show HN: MCP Server for AI Agents to Publish on WriteFreely

https://github.com/laxmena/writefreely-mcp-server
1•laxmena•26m ago•0 comments

My Beef with the iOS 26 Tab Bar

https://ryanashcraft.com/ios-26-tab-bar-beef/
2•ksec•26m ago•0 comments

Tom Verlaine was a mystery. His archives reveal more of his story

https://www.nytimes.com/2026/01/09/arts/music/tom-verlaine-television-archives.html
1•tintinnabula•28m ago•0 comments

I build products to get "unplugged" from the internet

https://getunplugged.io/I-build-products-to-get-unplugged
1•keplerjst•29m ago•0 comments

New year's resolutions are arbitrary, and that's okay

https://bobbiechen.com/blog/2026/1/10/new-years-resolutions-are-arbitrary-and-thats-okay
1•bobbiechen•30m ago•0 comments

Show HN: AI Character Generator for Fashion Model Shots and Consistent Avatars

https://characteraigc.com
1•jokera•31m ago•0 comments

How to Disable Gemini on Android, Gmail, Chrome, Photos, & Google Apps

https://tuta.com/blog/how-to-disable-gemini-on-android
1•dotcoma•33m ago•0 comments

Show HN: Kings vs. Knight

https://minichessgames.com/#/play/kings-vs-knight
1•patrickdavey•38m ago•0 comments

Show HN: Shelfarr is an open source audiobook renamer tool

https://github.com/VacantlyCrushing/Shelfarr
1•vcrushing•43m ago•0 comments

'The answer cannot be nothing': The battle over Canada's mystery brain disease

https://www.bbc.com/news/articles/c623r47d67lo
20•lewww•45m ago•2 comments

Will Rogers Phenomenon

https://en.wikipedia.org/wiki/Will_Rogers_phenomenon
2•samuel246•48m ago•0 comments

Show HN: Use Terraform to manage to your TrueNAS apps

https://github.com/deevus/terraform-provider-truenas
1•deevus•50m ago•1 comments

Ukraine's Quest to Build a Missile to Strike Deep in Russian Territory

https://www.wsj.com/world/inside-ukraines-quest-to-build-a-missile-to-strike-deep-in-russian-terr...
2•JumpCrisscross•51m ago•0 comments

Which is "Bouba", and which is "Kiki"? [video]

https://www.youtube.com/watch?v=1TDIAObsqcs
2•basilikum•53m ago•2 comments

Universe Time Machine Using AI God and the Universe Internet

https://patents.google.com/patent/US20250238653A1/en
3•zdw•56m ago•1 comments

Show HN: Airboard – $1 voice dictation for Mac local

https://dhruvian473.gumroad.com/l/pgcjbc
3•mehrad_1•56m ago•0 comments

Ripple: The Elegant TypeScript UI Framework

https://jsdev.space/meet-ripple/
2•javatuts•57m ago•0 comments

Cecil Kelley Criticality Accident

https://en.wikipedia.org/wiki/Cecil_Kelley_criticality_accident
2•toomuchtodo•1h ago•1 comments

Millennium Prize Problem Bench

https://mppbench.com/
2•a_tartaruga•1h ago•0 comments

eBook: Wall Street Sold Out Main Street

https://www.founderstowne.com/
2•i_have_to_speak•1h ago•0 comments

My Home Fibre Network Disintegrated

https://alienchow.dev/post/fibre_disintegration/
35•alienchow•1h ago•16 comments