frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Stop Cramming Everything into Postgres

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

Ask HN: How can I tell if AI bots are scraping my sites?

1•palad1n•1m ago•0 comments

Boeing Tackles Quality with a 'War on Defects'

https://www.nytimes.com/2025/11/25/business/boeing-737-max-factory.html
1•JojoFatsani•2m ago•0 comments

What Does "Capitalism" Really Mean, Anyway?

https://www.newyorker.com/magazine/2025/12/01/capitalism-a-global-history-sven-beckert-book-review
1•mitchbob•3m ago•1 comments

Quick Wins Become a Costly Addiction

https://ottic.ai/blog/marketing-quick-wins-with-examples/
1•rafaepta•4m ago•0 comments

Take Your Time

https://www.jmeiners.com/take-your-time/
1•speckx•6m ago•0 comments

Feedback on an open source Ruby – LLM project

https://github.com/pcarolan/magic
2•pcarolan•6m ago•1 comments

AMD could cancel RX 9070 GRE 16 GB due to explosive increase in memory prices

https://www.notebookcheck.net/AMD-could-cancel-RX-9070-GRE-16-GB-due-to-explosive-increase-in-mem...
1•doener•6m ago•0 comments

What Makes You Senior

https://terriblesoftware.org/2025/11/25/what-actually-makes-you-senior/
2•theanonymousone•9m ago•0 comments

Ret: Online Assembly Playground and Reverse Engineering Tool

https://ret.futo.org/
1•petabyt•9m ago•0 comments

Six Things I Bet You Didn't Know You Could Do with Chrome's Devtools, Part 1

https://www.readwriterachel.com/things-i-learned/2025/11/09/devtools-1.html
1•speckx•11m ago•0 comments

Mobile browsers see telephone numbers everywhere

https://sethmlarson.dev/mobile-browsers-and-telephone-numbers
1•SethMLarson•13m ago•0 comments

Ask HN: What did Stripe change (Value Add)?

2•dzonga•13m ago•1 comments

Europe's Cold Snap Puts New Heat Pumps to the Test

https://www.bloomberg.com/news/articles/2025-11-20/europe-s-cold-snap-puts-thousands-of-new-heat-...
2•toomuchtodo•14m ago•1 comments

Diffusers Welcomes Flux-2

https://huggingface.co/blog/flux-2
1•ibobev•15m ago•0 comments

One of the Greatest Polar-Bear Hunters Confronts a Vanishing World

https://www.newyorker.com/magazine/2025/12/01/one-of-the-greatest-polar-bear-hunters-confronts-a-...
2•mitchbob•17m ago•1 comments

Broken Promises: How Technology Companies Bait and Switched All Generations

https://josebriones.substack.com/p/broken-promises
1•toomuchtodo•19m ago•0 comments

Making tennis analytics more scaleable

https://splitstep.ai/
1•jwsmithers•20m ago•0 comments

PR CheckMate – automate lint, formatting, deps and NPM audit

https://www.npmjs.com/package/pr-checkmate
1•def-to-explore•22m ago•1 comments

Moloch: A Revival of the Metropolis LaTeX Beamer Theme

https://jolars.co/blog/2024-05-30-moloch/
1•gjvc•23m ago•1 comments

And fastest domain search website

https://instantdomainsearch.com
1•amukbils•23m ago•1 comments

Euclyd launches "Craftwerk" silicon to shave AI inference cost and power by 100×

https://euclyd.ai/
1•stefvw93•24m ago•0 comments

We Rewrote Our Startup from PHP to Gleam in 3 Weeks

https://www.radical-elements.com/minor-epiphanies/we-rewrote-our-startup-from-php-to-gleam-in-3-w...
2•kamilap•24m ago•1 comments

Show HN: SafeShare – Clean tracking params locally (PWA and bookmarklets

https://j-ai-71.github.io/Supersystem/
2•safeshare•26m ago•0 comments

Ilya Sutskever – We're moving from the age of scaling to the age of research

https://youtu.be/aR20FWCCjAs?si=SD1bp8f5jOcUdl78
4•blufish•28m ago•1 comments

AI Tools Dashboard (Updated Daily)

https://phshort.com/ai
1•mohamadkk7•28m ago•0 comments

Show HN: God's Eye – Subdomain recon with local AI analysis

https://github.com/Vyntral/god-eye
1•vyntral•28m ago•0 comments

Larry Ellison Met with Trump to Discuss Which CNN Reporters They Plan to Fire

https://www.techdirt.com/2025/11/25/larry-ellison-met-with-trump-to-discuss-which-cnn-reporters-t...
7•throw0101a•29m ago•0 comments

Nimbalyst: WYSIWYG Markdown editor with visual diffs powered by Claude Code

https://github.com/Nimbalyst/nimbalyst
5•wek•30m ago•2 comments

DJI ROMO robot vacuum [video]

https://www.youtube.com/watch?v=Iv7BYURURRI
1•surprisetalk•31m ago•0 comments

Show HN: StepKit, an open and cross-platform durable execution standard

16•tonyhb•31m ago•4 comments