frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Open in hackernews

Stop Cramming Everything into Postgres

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

The Chips of Theseus

https://mordenstar.com/blog/immortality/
1•andsoitis•10m ago•0 comments

OpenAI: 28 Days of Codex Improvements – Or a Full Usage Reset

https://twitter.com/Codexresets_/status/2106946116294000889
2•wertyk•12m ago•0 comments

Show HN: Rare Failure Eval

https://github.com/itsloganmann/rare-failure-eval
1•loganmann0324•12m ago•0 comments

Split an ultrawide monitor into two real displays on macOS

https://github.com/eduardoworrel/telas
2•eduardoworrel•13m ago•0 comments

What Is Wrong, Observability?

https://blog.caulagi.com/posts/what-is-wrong-observability
1•caulagi•17m ago•0 comments

Serve Launches Robot Delivery, Adding Grubhub to Its Delivery Network

https://investors.serverobotics.com/news-releases/news-release-details/serve-launches-robot-deliv...
1•measurablefunc•18m ago•0 comments

Free Invoice Generator – Create PDF Invoices – Invoiceize

https://invoiceize.com/
2•Luki1234•18m ago•0 comments

Show HN: LaunchPact – Launch support platform (PH, Reddit, and more..)

https://www.launchpact.io
1•launchpact_io•26m ago•0 comments

AI slowdown: why Altman, Amodei and Musk suddenly agree (Ep. 313)

https://datascienceathome.com/ai-slowdown-why-altman-amodei-musk-suddenly-agree-ep-313/
2•frag•27m ago•0 comments

Show HN: Times Tables Test

https://timestabletest.com/
2•artiomartiom•30m ago•0 comments

Panda Express to help 55,000 employees become homeowners

https://www.fastcompany.com/91616008/panda-expresss-founders-employee-homeowners
2•divbzero•36m ago•0 comments

Hacker News addiction and taking simple mundane breaks in life

https://smileplease.mataroa.blog/blog/hackernews-addiction-and-taking-simple-mundane-breaks-in-life/
8•Imustaskforhelp•40m ago•3 comments

The Hottest Debate in Tech: Ads in AI

https://www.forbes.com/councils/forbesagencycouncil/2026/04/13/the-hottest-debate-in-tech-ads-in-ai/
3•bryanrasmussen•46m ago•1 comments

Anthropic reported diary entry to police, woman faces felony charge

https://www.techspot.com/news/114091-florida-woman-used-claude-diary-anthropic-reported-shoot.html
19•emptybits•55m ago•6 comments

Show HN: Free domain RDAP lookup, availability and bulk check

https://www.yuliusbox.com/tools/domain-lookup
1•yuliuslux•56m ago•0 comments

Next-Generation Collective Communication Object for AMD GPUs

https://www.amd.com/en/developer/resources/technical-articles/2026/mori-cco.html
1•sks_15•1h ago•0 comments

Rune Icons

https://www.runeicons.com
3•handfuloflight•1h ago•0 comments

Web games created with Claude Opus

https://triptych.github.io/web-games-andrew/
1•triptych•1h ago•1 comments

Simon Andriesz Exposed Howard Lutnick's Ties to Jeffrey Epstein Dead

https://www.thedailybeast.com/whistleblower-simon-andriesz-who-exposed-howard-lutnicks-ties-to-je...
3•latchkey•1h ago•1 comments

gtm- a (more beautiful) cliamp alternative in the making

https://github.com/prjctimg/gtm
1•prjctimg•1h ago•1 comments

Show HN: A tool which estimates X statistics

https://estimatemyx.com/
1•virajshoor•1h ago•0 comments

Understand What Whales Are Saying

https://www.projectceti.org
2•guiambros•1h ago•1 comments

Altman: `World should accept some bad things happening' for the benefits of AI

https://www.politico.com/news/2026/10/04/sam-altman-decoded-interview-ai-01106217
4•theanonymousone•1h ago•8 comments

PicoSputnik: 1M picosputniks in Solar System and beyond

1•Ontolorg•1h ago•0 comments

Replacement of Petroleum Based Products with Plant-Based Materials

https://onlinelibrary.wiley.com/doi/10.1002/eng2.70108
17•thelastgallon•1h ago•0 comments

Modder brings Nvidia Pascal GPU support to Windows XP 32-bit

https://www.tomshardware.com/pc-components/gpu-drivers/modder-brings-nvidia-pascal-gpu-support-to...
1•sbulaev•1h ago•0 comments

RedIWM – Wayland Compositor in Zig

https://github.com/oxydizer/rediwm/
1•oxydizer•1h ago•1 comments

Storage orchestration layer presents many S3/blob providers as one S3 endpoint

https://github.com/afreidah/s3-orchestrator
1•munch-o-man•1h ago•1 comments

Cement-based supercapacitors could power next-generation 'smart' buildings

https://www.acs.org/pressroom/presspacs/2026/october/cement-based-supercapacitors-could-power-nex...
2•geox•1h ago•0 comments

Service-Area Businesses: How to Rank on Google Maps Without a Shopfront

https://rentry.co/3edpsssi
1•khanjumakhan•1h ago•0 comments