frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Stop Cramming Everything into Postgres

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

Ben Goldacre: OpenSAFELY in Brief

https://www.bennett.ox.ac.uk/blog/2025/02/opensafely-in-brief/
1•anitil•1m ago•1 comments

Do those that deserve the world, get the world?

https://dreamingtooloud.substack.com/p/do-those-that-deserve-the-world-get
1•homebush•11m ago•0 comments

AI-powered knowledge assistant for sexual and reproductive health

https://chathrp.org/
1•salkahfi•13m ago•0 comments

Quest Browser 146.0 adds experimental support for WebGPU in WebXR

https://bsky.app/profile/cabanier.bsky.social/post/3mk6ugjtbw22y
1•juretriglav•14m ago•0 comments

The importance of stupidity in scientific research (2008) [pdf]

https://web.stanford.edu/~fukamit/schwartz-2008.pdf
1•the-mitr•16m ago•0 comments

How Europe regulated itself into American vassalage

https://www.economist.com/europe/2026/04/22/how-europe-regulated-itself-into-american-vassalage
1•RestlessMind•16m ago•1 comments

Iran War Has Drained U.S. Supplies of Critical, Costly Weapons

https://www.nytimes.com/2026/04/23/us/politics/iran-war-cost-military.html
2•vrganj•18m ago•0 comments

Dutch government secures deal with European cloud platform STACKIT

https://www.nldigitalgovernment.nl/news/dutch-government-secures-deal-with-european-cloud-platfor...
1•hvb2•19m ago•0 comments

PuzzleScript

https://www.puzzlescript.net/Documentation/rules101.html
1•azhenley•21m ago•0 comments

Contral AI

https://contral.ai
1•vednig•24m ago•0 comments

What Are Unix Domain Sockets?

https://docs.sweeting.me/s/sockets-101
1•nikisweeting•27m ago•0 comments

Paint But…

https://paintbut.netlify.app/
1•memalign•31m ago•0 comments

GitGuardian analysis of the bitwarden/CLI compromise

https://blog.gitguardian.com/bitwarden-cli-gitguardian-views-on-helloworm00/
2•cwinq•31m ago•0 comments

Rendezvous and Docking: A User's Guide for Non Rocket Scientists

https://www.baen.com/rendezvous
1•EvgeniyZh•31m ago•0 comments

Microsoft offers buyouts for longtime employees

https://www.seattletimes.com/business/microsoft/microsoft-offers-buyouts-for-longtime-employees/
4•divbzero•34m ago•0 comments

FujiNet Go 800 – Atari800 Emulator for Android

https://fujinet.online/2026/04/23/fujinet-go-800-atari800-emulator-for-android/
1•p0w3n3d•36m ago•2 comments

The Surveillance Accountability Act Full Text [pdf]

https://boebert.house.gov/sites/evo-subsites/boebert.house.gov/files/evo-media-document/surveilla...
4•Cider9986•39m ago•1 comments

OpenAI deprecates all GPT nano fine tuning

https://community.openai.com/t/deprecation-of-fine-tuned-models-but-still-cant-access-newer-ones/...
2•dandiep•39m ago•0 comments

Why Not Venus?

https://mceglowski.substack.com/p/why-not-venus
1•zdw•48m ago•0 comments

Running Bare-Metal Rust Alongside ESP-IDF on the ESP32-S3's Second Core

https://tingouw.com/blog/embedded/esp32/run_rust_on_app_core
1•MrBuddyCasino•51m ago•0 comments

The Budgeting Mistake That Cost Uber Its Annual AI Spend in 4 Months

https://www.productcurious.com/p/uber-ai-budget-mistake
5•umangsehgal93•53m ago•0 comments

Tremendous Iranian Invasion: A Text Misadventure

3•brooksc•57m ago•0 comments

Essential Voice by Nothing

https://nothing.community/d/56167-introducing-essential-voice
1•plun9•59m ago•0 comments

Familiarity is the enemy: On why Enterprise systems have failed for 60 years

https://felixbarbalet.com/familiarity-is-the-enemy/
2•adityaathalye•1h ago•0 comments

Intel Arc Pro B70 Review

https://www.pugetsystems.com/labs/articles/intel-arc-pro-b70-review/
1•zdw•1h ago•0 comments

ASML's latest chipmaking gear is too pricey, even for TSMC

https://theedgemalaysia.com/node/800964
2•jackyli02•1h ago•0 comments

Intel Arc Pro B70 benchmarks for LLMs and video generation

https://github.com/PMZFX/intel-arc-pro-b70-benchmarks
1•mroche•1h ago•0 comments

DeepSeek's Sequel Set to Extend China's Reach in Open-Source A.I

https://www.nytimes.com/2026/04/24/business/china-ai-deepseek-open-source.html
1•Cider9986•1h ago•0 comments

Ubuntu 26.04 LTS Released

https://lwn.net/Articles/1069399/
63•lxst•1h ago•17 comments

AI Resume Reviewer

https://www.thehumancapitalhub.com/ai-resume-reviewer
1•bisit•1h ago•0 comments