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)

Show HN: qckfx – Record your iOS simulator sessions, replay them as tests

1•chw9e•3m ago•0 comments

P2B Modification Guide

https://tipperlinne.com/p2bmod.html
1•p_ing•4m ago•0 comments

Move over Spotify. It's 311 Wrapped

https://www.311wrapped.com/
1•eltokh7•4m ago•0 comments

An initial analysis of the discovered Unix V4 tape

https://www.spinellis.gr/blog/20251223/
1•zdw•5m ago•0 comments

Renewables lead by solar and wind overtook coal in the first half of 2025

https://ember-energy.org/latest-insights/global-electricity-mid-year-insights-2025/
1•QueensGambit•11m ago•0 comments

Terawatt whitepaper: a blueprint for fleet-scale EV charging [pdf]

https://cdn.prod.website-files.com/659d87f22f67fd9bbaac94a7/694a73fd82319bfdb74fc546_terawatt-whi...
2•terawattinfra•12m ago•0 comments

Against SemVer

https://www.natemeyvis.com/against-semver/
1•Theaetetus•13m ago•0 comments

Car Payments Now Average More Than $750 a Month. Enter the 100-Month Car Loan

https://www.wsj.com/business/autos/car-payments-now-average-more-than-750-a-month-enter-the-100-m...
3•bookofjoe•13m ago•1 comments

Complexity Ceilings and Licensing Wars: My 2026 Predictions

https://johnjames.blog/posts/complexity-ceilings-and-licensing-wars-my-2026-predictions
1•johnjames4214•18m ago•0 comments

Is Northern Virginia Still the Least Reliable AWS Region?

https://statusgator.com/blog/aws-least-reliable-region-in-2025/
3•colinbartlett•19m ago•1 comments

People as Files

https://fakepixels.substack.com/p/people-as-files
1•walterbell•19m ago•0 comments

Dronage Terminal: a terminal based drone workstation

https://github.com/boorch/dronage-terminal
1•anigbrowl•20m ago•0 comments

Gunbench – a benchmark to test if AI models will fire a loaded gun

https://twitter.com/holycoward/status/2003598775722353089
2•heshiebee•28m ago•1 comments

Microsoft confirms "eliminate C and C++" plan, translate code to Rust using AI

https://www.windowslatest.com/2025/12/24/microsoft-confirms-eliminate-c-and-c-plan-translate-code...
2•JamesAdir•28m ago•2 comments

Supreme Court Blocks National Guard Deployment to Chicago Area [pdf]

https://www.supremecourt.gov/opinions/25pdf/25a443_ba7d.pdf
7•JumpCrisscross•30m ago•1 comments

When knowing how to code is not enough

https://iurysouza.dev/agentic-coding-and-context-engineering/
2•iury-sza•31m ago•0 comments

Predictions for 2026

https://twitter.com/ttunguz/status/2003249842127057262
2•baxtr•33m ago•0 comments

You don't need Elasticsearch: BM25 is now in Postgres

https://www.tigerdata.com/blog/you-dont-need-elasticsearch-bm25-is-now-in-postgres
3•soheilpro•35m ago•0 comments

Citadel to return $5B in profit to investors, source says

https://www.cnbc.com/2025/12/23/citadel-to-return-5-billion-in-profit-to-investors-source-says.html
3•samaysharma•36m ago•0 comments

Show HN: A holiday-themed text-based adventure game played over MCP

https://gricha.dev/happyholidays
2•Gricha•36m ago•0 comments

Static Allocation for Compilers

https://matklad.github.io/2025/12/23/static-allocation-compilers.html
2•enz•37m ago•0 comments

Trofim Lysenko

https://en.wikipedia.org/wiki/Trofim_Lysenko
1•Gravityloss•38m ago•1 comments

Built a photo to coloring page+puzzle tool. Need help picking with paying niche

https://reliveincolor.com/
1•dtyutyunik•40m ago•1 comments

Fears

https://jens.mooseyard.com/2015/05/12/fears/
1•andsoitis•45m ago•0 comments

Quick Guide to Hardware Prototyping

https://www.deepseadev.com/en/blog/hardware-prototyping-guide/
2•andsoitis•49m ago•0 comments

Whole Building Design Guide

https://www.wbdg.org/
1•mmooss•51m ago•1 comments

They made me an offer I couldn't refuse (1997)

https://jens.mooseyard.com/1997/04/13/they-made-me-an-offer-i-couldnt-refuse/
1•classichasclass•52m ago•0 comments

ARC-AGI 2: Poetiq reaches 75% at less $8 / task

https://twitter.com/poetiq_ai/status/2003546910427361402
3•dimtion•54m ago•0 comments

Useful Agentic Workflows

https://davidgasquez.com/useful-agentic-workflows-2025/
2•kalendos•57m ago•0 comments

Show HN: SafeSnipe AI – Rug pull detector for Solana meme coins

https://automated-alpha-app.netlify.app
1•botbuilder•59m ago•0 comments