frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Stop Cramming Everything into Postgres

3•saisrirampur•1y 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•1y ago
you do not need to use anything/everything you find in there, or anywhere for that matter.
XCSme•1y 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: Local audit trail for Claude Code tool calls

https://github.com/zaghaghi/toolog
1•zaghaghi•4m ago•0 comments

Data races and the limits of ThreadSanitizer in C and Go

https://theconsensus.dev/p/2026/09/06/data-races-and-the-limits-of-threadsanitizer-in-c-and-go.html
1•ingve•6m ago•0 comments

Show HN: TikTok for TV and Twitch/Kick Simulcast

https://skriin.com
1•hashem19•6m ago•0 comments

Show HN: Jhvtm(John Henry vs the Machine) – Real Stories of Human Ingenuity

https://johnhenryvsthemachine.com/memorial
1•teedguno•7m ago•0 comments

What are you willing to spend 2 hours on?

2•psadri•9m ago•1 comments

MQBP v6.10 Lean/Coq: Multiplication-Free Position Compiler

https://zenodo.org/records/22450693
1•GeometryKernel•9m ago•0 comments

What If We Had Taxed the Internet? – By Jared Walczak

https://thesaltroad.net/p/what-if-we-had-taxed-the-internet
1•bilsbie•9m ago•1 comments

Kenyans Did College Students' Homework for Years. Then A.I. Arrived

https://www.nytimes.com/2026/09/05/technology/kenya-college-essays-ai.html
2•alexfringes•10m ago•0 comments

Looking for peer reviewers: "System Design Unboxed" (new digital book)

https://books.lextrem.com/system-design-1/
2•hnque•11m ago•0 comments

NetBSD Documentation: UVM, the New Virtual Memory System

https://www.netbsd.org/docs/kernel/uvm.html
2•Bluestein•13m ago•0 comments

Where Alignment Becomes the Work

https://medium.com/@gurvinder372/article-7-where-alignment-becomes-the-work-95124cae93f2
2•gps372•13m ago•0 comments

A defense of object-orientated programming

https://codeandcake.dev/posts/2025-05-28-a-defense-of-oop
2•olexsmir•13m ago•1 comments

The new Arctic route is redrawing the economic and geopolitical map

https://english.elpais.com/international/2026-09-06/the-new-arctic-route-is-redrawing-the-economi...
3•geox•14m ago•0 comments

GPT-6 Astra is now available in Perplexity Computer

https://twitter.com/perplexity_ai/status/2096006336786133366
2•tesseractinf•16m ago•0 comments

Parsefin – A modern alternative to WhaleWisdom for 13F tracking

https://parsefin.com/
2•gourmetspam•17m ago•1 comments

Programming is art

https://orchidfiles.com/programming-is-art/
2•theorchid•17m ago•0 comments

Join our new R/RunMCP subreddit and share your favorite MCP-driven apps

https://reddit.com/r/RunMCP
2•dev1one1•21m ago•0 comments

Do That Which Makes Your Life Easy

https://elijahpotter.dev/articles/do-that-which-makes-your-life-easy
1•mooreds•21m ago•0 comments

Recreating Voodoo Graphics and a Late-1990s Gaming PC on an FPGA

https://nand2mario.github.io/posts/2026/zsst-voodoo/
3•faragon•22m ago•1 comments

A Tale of HomeLab Data Corruption and Recovery

https://blog.lyc8503.net/en/post/pve-vm-data-recovery/
1•uneven9434•23m ago•0 comments

A flaw in the reset-credentials flow of the keycloak-services component

https://nvd.nist.gov/vuln/detail/cve-2026-18963
1•mooreds•23m ago•0 comments

Transformers Are Efficient Compilers, Provably

https://arxiv.org/abs/2410.14706
2•Bluestein•23m ago•0 comments

A Social Media Hiatus

https://leaflet.pub/p/did:plc:x2nsupeeo52oznrmplwapppl/3muulq4rtqs2h
5•mooreds•24m ago•1 comments

Show HN: ZeroThesis – Multiplayer Autoresearch with Agents

https://zerothesis.com
5•KrishnaMadala•25m ago•1 comments

ByteX: A Unified AI Search Engine at ByteDance

https://arxiv.org/abs/2608.30607
2•softwaredoug•28m ago•0 comments

VCO:Lets any agent to operate web pages and desktop screens

https://github.com/lo2589/vco
1•yoliliya•31m ago•0 comments

Genesis Mission: AI and Quantum Computing for Scientific Discovery

https://github.com/donutloop/donutloop-genesis/blob/main/README.md
1•donutloop•32m ago•0 comments

Show HN: Made a social media scheduler that doesnt require a subscription

https://www.trypia.app/
1•DevEric•33m ago•1 comments

Ternus to potentially squeeze more out of App Store

https://daringfireball.net/linked/2026/09/06/gurman-schiller-app-store
1•AndrewSwift•36m ago•1 comments

OpenLara ported to ESP32-P4 (No GPU, 30fps software rendering)

https://github.com/alexkid77/openlara_esp32p4
1•alexkid777•36m ago•1 comments