frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Stop Cramming Everything into Postgres

3•saisrirampur•10mo 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•10mo ago
you do not need to use anything/everything you find in there, or anywhere for that matter.
XCSme•10mo 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: OpenLight – Lightweight Telegram AI Agent for Raspberry Pi

https://github.com/evgenii-engineer/openLight
1•evgenii_isupov•1m ago•1 comments

A Cloudflare Worker that generates dynamic SVG bar charts of your traffic

https://github.com/sd416/cloudflare-worker-stats
1•rishikeshs•1m ago•0 comments

The Disaggregation of the Lakehouse Stack

https://cdelmonte.dev/essays/the-disaggregation-of-the-lakehouse-stack/
1•cdelmonte•3m ago•1 comments

AI Agent Broke into McKinsey's Internal Chatbot and Accessed Records

https://www.inc.com/leila-sheridan/an-ai-agent-broke-into-mckinseys-internal-chatbot-and-accessed...
1•nadis•3m ago•0 comments

France and Italy open talks with Iran in hope of securing safe Hormuz passage

https://www.ft.com/content/96b8e0a4-9ecb-4e07-a96d-7debcfe3bfa6
1•vrganj•3m ago•0 comments

Molting.org – HN: Molting.org – Verifiable reputational layer for AI agents

https://molting.org
1•Roboz•4m ago•0 comments

Ask HN: AI Agents took my programming job. What can I do?

1•butILoveLife•6m ago•1 comments

Jeff Kaplan: World of Warcraft, Overwatch, Blizzard, and Future of Gaming [video]

https://www.youtube.com/watch?v=H9rF1CSSh-w
1•neko_ranger•7m ago•0 comments

High court claimant was fed answers through his smart glasses, judge finds

https://www.theguardian.com/uk-news/2026/mar/13/high-court-smart-glasses-fed-answers-evidence
2•chrisjj•8m ago•0 comments

The Stalk Market

https://www.stalk-market.com
1•mooreds•10m ago•0 comments

Election Data Handed over to the FBI in Maricopa County Could Be Fatally Flawed

https://www.propublica.org/article/maricopa-county-arizona-election-records-fbi
1•hn_acker•11m ago•1 comments

Proton's Swiss Myth: US Jurisdiction via Cloudflare and FAA Arbitration Clauses

1•MissMajordazure•11m ago•0 comments

Show HN: CaliVibe – Explore California Neighbourhoods

https://trekhleb.dev/cali-vibe/
1•trekhleb•11m ago•0 comments

The race to solve the biggest problem in quantum computing

https://www.newscientist.com/article/2518974-the-race-to-solve-the-biggest-problem-in-quantum-com...
1•Brajeshwar•11m ago•0 comments

Boulder's middle-income down payment program drew zero applicants in 3 years

https://boulderreportinglab.org/2026/03/12/boulders-middle-income-down-payment-program-drew-zero-...
1•mooreds•11m ago•0 comments

Sandcat – Docker and dev container setup for securely running AI agents

https://github.com/VirtusLab/sandcat
4•mihau•12m ago•0 comments

Show HN: Fine-tuned 3B outperforms Claude Haiku on constrained generation

https://serendip-ml.github.io/fine-tuned-3b-beats-haiku/
1•serendip-ml•12m ago•0 comments

New Tools Added

https://everytool.solutions/
1•Mihir1426•12m ago•1 comments

What Crystals Older Than the Sun Reveal About the Start of the Solar System

https://www.quantamagazine.org/what-crystals-older-than-the-sun-reveal-about-the-start-of-the-sol...
1•colinprince•13m ago•0 comments

Comparing income and hours worked across countries and states for the bottom 95%

https://bsky.app/profile/jakemgrumbach.bsky.social/post/3mgdis6q3oc2o
3•colinprince•13m ago•0 comments

The Uncomfortable

https://www.theuncomfortable.com/
1•bookofjoe•16m ago•0 comments

Show HN: Every AI tool claims to be revolutionary. We built a place to test it

https://glad-ia-tor.com/
2•Enjoyooor•16m ago•0 comments

Four crew members killed after US refuelling plane crashes in Iraq

https://www.bbc.com/news/articles/cy0dz5ql17vo
6•tartoran•17m ago•1 comments

Sharing encrypted files in a single HTML file

https://blog.alcazarsec.com/posts/portable-secret-use-cases
1•alcazar•17m ago•0 comments

AI Software Tells Cops to Arrest the Wrong Guy

https://thecivilrightslawyer.com/2026/03/11/ai-software-tells-cops-to-arrest-the-wrong-guy/
2•FinnKuhn•18m ago•1 comments

A Brief History of Software Engineering (Wirth: 2008) [pdf]

https://people.inf.ethz.ch/wirth/Miscellaneous/IEEE-Annals.pdf
1•recursivedoubts•20m ago•0 comments

'Comatose' Mojtaba Khamenei 'is unaware he is supreme leader'

https://www.dailymail.co.uk/news/article-15642237/Mojtaba-Khamenei-UNAWARE-war-coma.html
1•Bender•20m ago•1 comments

Immersive Navigation is Google Maps' biggest upgrade in a decade

https://www.androidpolice.com/google-maps-immersive-navigation-ask-maps-chat-rollout/
3•golfer•20m ago•0 comments

Meta to Deploy Four New In-House Chips to Handle AI

https://www.bloomberg.com/news/articles/2026-03-11/meta-preparing-to-deploy-four-new-homegrown-ch...
1•gmays•23m ago•0 comments

California Considers Grizzly Reintroduction Plan That Could Use Wyoming Bears

https://cowboystatedaily.com/2026/03/12/california-considers-grizzly-reintroduction-plan-that-cou...
1•Bender•23m ago•0 comments