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)

MCP Remind: MCP Has Its Own Place

https://github.com/jaehongpark-agent/blog/issues/1
1•jaehong747•4m ago•0 comments

Starlink Mini as a Failover

https://www.jackpearce.co.uk/posts/starlink-failover/
1•jkpe•4m ago•0 comments

Show HN: Multibot – Open-source multi-bot AI platform on Cloudflare Workers

https://github.com/codance-ai/multibot
1•codance•4m ago•0 comments

Show HN: Vizit – Generate and organise visualizations from Jira using AI agents

https://github.com/reposquirrel/Vizit
1•reposquirrel•6m ago•1 comments

Code on the Fastest Largest AI Chip Ever Built

https://www.jackpearce.co.uk/notes/gpt-5-3-codex-spark-wse3-real-time-coding/
1•jkpe•7m ago•0 comments

Norda 001A G+ Trail Running Shoe Review: As Expensive as an Apple Watch

https://www.wired.com/review/norda-001a-g-trail-shoe/
2•joozio•8m ago•0 comments

CityofGits is The Next Viral Minecraft. This is amazing

https://www.cityofgits.link/
1•techcast•9m ago•2 comments

Why Are Event-Driven Systems Hard?

https://newsletter.scalablethread.com/p/why-event-driven-systems-are-hard
1•birdculture•12m ago•0 comments

Why everyone hates Lego now [video]

https://www.youtube.com/watch?v=dSgwNvydXhI
1•Markoff•14m ago•0 comments

The Year of IPOs

https://josephblumenfeld.substack.com/p/the-year-of-ipos
1•InvestingEasy•15m ago•1 comments

Coding Agents Suck at the XY Problem

https://bhavesh.dev/Coding-Agents-Suck-at-the-XY-Problem
1•hpfm•15m ago•0 comments

SH4ZAM – Fast Math Library for the Sega Dreamcast's SH4 CPU

https://github.com/gyrovorbis/sh4zam
1•XzetaU8•15m ago•0 comments

Pokémon Go Players Trained 30B Image AI Map

https://twitter.com/markgadala/status/2033230495283351624
1•huijzer•16m ago•0 comments

Show HN: Shard – Stop watching one AI agent code for 45 min. Run four at once

https://github.com/nihalgunu/Shard
1•nihalgunu•19m ago•0 comments

World Nuclear Industry Status Report 2025

https://www.worldnuclearreport.org/World-Nuclear-Industry-Status-Report-2025
1•slow_typist•26m ago•0 comments

A curated list of AI slops

https://github.com/yikerman/awesome-ai-slop
9•xiaoyu2006•26m ago•2 comments

What Is Private Credit–and Why Could It Be a Bigger Problem Than the Iran War?

https://www.barrons.com/articles/private-credit-market-risks-investors-155113d1
1•petethomas•33m ago•0 comments

Metropolis – A system monitor that turns your processes into a living city

https://github.com/5c0/metropolis
1•5c0•35m ago•0 comments

Russia Launches Far-Right Network "Paladins" Calling for Violence in Europe

https://balticsentinel.eu/8431721/russia-launches-far-right-network-paladins-calling-for-violence...
2•mnewme•35m ago•1 comments

Gone Almost Phishin'

https://ma.tt/2026/03/gone-almost-phishin/
1•tosh•36m ago•0 comments

MacBook Neo Is the Most Repairable MacBook in 14 Years

https://www.ifixit.com/News/116152/macbook-neo-is-the-most-repairable-macbook-in-14-years
2•tosh•36m ago•1 comments

Site that turns yesterdays AI security research papers into news articles

https://shortspan.ai/
1•insidetrust•36m ago•1 comments

Show HN: Excalihub – Chrome Extension to extend Excalidraw's capabilities

https://github.com/AykutSarac/excalihub
1•iCutMoon•37m ago•0 comments

Who is using Ollama day-to-day?

1•brauhaus•39m ago•1 comments

Every Product Starts in Oklahoma

https://www.caseyaccidental.com/p/every-product-starts-in-oklahoma
1•aamederen•39m ago•0 comments

Google scraps AI search feature that crowdsourced amateur medical advice

https://www.theguardian.com/technology/2026/mar/16/google-scraps-ai-search-feature-that-crowdsour...
2•mindracer•43m ago•0 comments

Pywho – Python Environment Inspector

https://github.com/AhsanSheraz/pywho
1•ahsan143•43m ago•0 comments

Simple multi-user SSH bastion

https://j6b72.de/article/simple-multi-user-ssh-bastion/
1•q2loyp•46m ago•0 comments

Positive Disintegration

https://en.wikipedia.org/wiki/Positive_disintegration
1•wjb3•47m ago•0 comments

Can AI Replace RedHat?Can AI Replace Linus Torvalds

1•GeekUses9527•49m ago•1 comments