frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Stop Cramming Everything into Postgres

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

'Architects of AI' Named Time Magazine's Person of the Year

https://www.bbc.com/news/articles/cly01mdm577o
1•internetguy•23s ago•0 comments

US to mandate AI vendors measure political bias for federal sales

https://www.reuters.com/world/us/us-mandate-ai-vendors-measure-political-bias-federal-sales-2025-...
1•beedeebeedee•1m ago•0 comments

Deciduous: Work better LLMs: use a decisions DAG and insight tools/querying

https://notactuallytreyanastasio.github.io/deciduous/
1•rhgraysonii•1m ago•1 comments

Trump repeats baseless claim about Haitian immigrants eating pets

https://clipnotebook.com/p/671d1ace-bc25-478e-b631-42c226dfc360
7•ClipNoteBook•2m ago•1 comments

Thailand seizes millions in assets and issues arrest warrants in scams crackdown

https://www.japantimes.co.jp/news/2025/12/04/asia-pacific/crime-legal/thailand-assets-arrest-scams/
1•PaulHoule•3m ago•0 comments

Anthropic donated MCP to the Linux Foundation. What does that mean?

https://mbsamuel.substack.com/p/anthropic-donated-mcp-to-the-linux
1•waprin•5m ago•0 comments

Blocking Software Supply Chain Attacks

https://softwareengineeringdaily.com/2025/12/09/blocking-software-supply-chain-attacks-with-feros...
1•feross•8m ago•0 comments

Show HN: Roadhog – roadmaps, open issues and release notes with PostHog built in

https://www.roadhog.app/
1•chrisbigelow•8m ago•0 comments

Data sonification: a curious oddity that may have some uses

https://blog.engora.com/2025/12/data-sonification-curious-oddity-that.html
1•Vermin2000•10m ago•1 comments

An experimental, private, autonomous todo list

https://andybromberg.com/autonomous-todo-list
3•state•11m ago•0 comments

Show HN: tomcp.org – Turn any URL into an MCP server

https://github.com/Ami3466/tomcp
2•ami3466•12m ago•0 comments

Wealthfront becomes a publicly traded company

https://www.wealthfront.com/blog/wealthfront-ipo-public-company/
1•onnnon•14m ago•0 comments

Someone from Nvidia uploaded the parent folder of their upcoming model

https://twitter.com/xeophon_/status/1999394570967089630
3•thunderbong•15m ago•0 comments

The Methuselah Worm

https://news.wm.edu/2025/12/09/the-methuselah-worm/
2•geox•16m ago•0 comments

Claude Code systematically creates issues in public anthropics/Claude-code repo

https://github.com/anthropics/claude-code/issues/13797
2•TheTaytay•20m ago•0 comments

Oracle made a $300B bet on OpenAI. It's paying the price

https://finance.yahoo.com/news/oracle-made-a-300-billion-bet-on-openai-its-paying-the-price-20544...
4•pera•21m ago•1 comments

The SaaS Transformer Playbook

https://newsletter.pricingsaas.com/p/the-transformer-playbook-with-metronome
1•robbylit•21m ago•0 comments

The short bursts of activity that could help you live longer

https://www.bbc.com/future/article/20251204-how-activity-microbursts-can-improve-your-health
1•payamb•22m ago•0 comments

Show HN: Euporie-lite, Jupyter notebooks in terminal in the browser

https://euporie.readthedocs.io/en/latest/_static/lite.html
2•joouha•22m ago•0 comments

Japan law opening phone app stores to go into effect dec.18th

https://www3.nhk.or.jp/nhkworld/en/news/20251210_B1/
5•shlip•23m ago•2 comments

AI Generated Media Is Unmonetizable

https://andyjarosz.substack.com/p/ai-generated-art-is-unmonetizable
3•andyfilms1•24m ago•0 comments

Why more American seniors are getting high

https://www.economist.com/graphic-detail/2025/12/11/why-more-american-seniors-are-getting-high
13•bookofjoe•26m ago•13 comments

The European Strategy for Particle Physics reaches an important milestone

https://home.cern/news/press-release/cern/european-strategy-particle-physics-reaches-important-mi...
1•elashri•27m ago•0 comments

How to stream video from robots for monitoring and teleoperation

https://transitiverobotics.com/blog/streaming-video-from-robots/
1•chfritz•28m ago•0 comments

Amelie 0.8.0 released – introducing dedicated databases and more

https://github.com/amelielabs/amelie/releases/tag/0.8.0
1•pmwkaa•28m ago•0 comments

EU ban on combustion engine cars off table, EPP's Weber says

https://www.reuters.com/sustainability/boards-policy-regulation/plans-combustion-engine-car-ban-e...
2•kleiba•28m ago•0 comments

Async DNS

https://flak.tedunangst.com/post/async-dns
2•todsacerdoti•30m ago•0 comments

Data Center End of Life – Atlassian

https://www.atlassian.com/licensing/data-center-end-of-life
3•andrewSC•31m ago•0 comments

Show HN: Dbxlite – Query 100M+ rows in a browser tab, no install

https://sql.dbxlite.com/?share=gist:f0377982ccd68ac7f61a7faef8ff513e&run=true
2•hfmsio•31m ago•0 comments

Finding Alignment by Visualizing Music in Rust

https://positron.solutions/articles/finding-alignment-by-visualizing-music
2•positron26•32m ago•0 comments