frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Stop Cramming Everything into Postgres

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

Resilient growth as technology and adaptability offset trade policy headwinds

https://www.imf.org/en/publications/weo/issues/2026/01/19/world-economic-outlook-update-january-2026
1•nis0s•1m ago•0 comments

LiteRT: The Universal Framework for On-Device AI

https://developers.googleblog.com/litert-the-universal-framework-for-on-device-ai//
1•pretext•1m ago•0 comments

A compressed generative PHYSICS framework for AI-Higher accuracy speed 500×

https://www.vms-institute.org/AI/
1•VirgilH2Oss•3m ago•1 comments

We Studied 150 Developers Using AI (Here's What's Changed) [video]

https://www.youtube.com/watch?v=b9EbCb5A408
1•tomwphillips•4m ago•0 comments

Europe must act urgently and stop outsourcing defence, says EU's Kallas

https://www.bbc.com/news/articles/czej2z3zz9jo
1•breve•5m ago•0 comments

Meta Q4 2025 Earnings Call

https://investor.atmeta.com/investor-events/event-details/2026/Q4-2025-Earnings-Call/default.aspx
1•SilverElfin•6m ago•0 comments

A read-only Linux MCP server for safe LLM troubleshooting

https://www.thefactorysystem.ai/blog/building-secure-linux-mcp-server-gemini-cli
1•michael-elias•6m ago•1 comments

Designing programming languages beyond AI comprehension

1•mr_bob_sacamano•6m ago•0 comments

40 years after the Challenger disaster, spaceflight remains far from routine

https://www.space.com/space-exploration/human-spaceflight/40-years-after-the-space-shuttle-challe...
1•1659447091•8m ago•0 comments

Goodbye Perl

https://github.com/dotnet/fsharp/pull/19226
1•DASD•11m ago•0 comments

Show HN: Open-source alternative to Vercel, Render, Netlify

https://www.shorlabs.com/
12•a_cormance•11m ago•0 comments

UAE launches 'sovereign' open AI model to counter Chinese rivals

https://www.ft.com/content/465c717b-af26-48c1-a530-e9e6d313f96a
1•Anon84•11m ago•2 comments

Behind the Scenes of Metropolis (1927): Old Photos from a Cinematic Masterpiece

https://rarehistoricalphotos.com/metropolis-behind-the-scenes/
2•llm_nerd•12m ago•0 comments

New UK ruling makes stealing virtual currency an actual crime

https://metro.co.uk/2026/01/27/new-uk-ruling-makes-stealing-virtual-currency-actual-crime-26554985/
1•Vaslo•12m ago•0 comments

I used Claude to vibe-code my overcomplicated smart home

https://www.theverge.com/report/869318/claude-vibe-coding-home-assistant-smart-home
1•balloob•16m ago•0 comments

Attention Is Not What You Need

https://arxiv.org/abs/2512.19428
1•hnmouse•18m ago•0 comments

Kprotect: Kernel-Level Security Engine

https://github.com/khoinp1012/kprotect
2•sunshine-o•19m ago•0 comments

Show HN: Supercheck.io – Open-Source AI-Powered Test Automation and Monitoring

https://supercheck.io/
1•krish_kant•21m ago•0 comments

Show HN: Ziva – Cursor for Godot Game Engine

https://ziva.sh
1•OsrsNeedsf2P•22m ago•0 comments

Inverse Rendering for High-Genus 3D Surface Meshes from Multi-View Images

https://arxiv.org/abs/2601.12155
1•PaulHoule•23m ago•0 comments

Show HN: President or Asshole?

https://president.alephz.com/
2•ishener•23m ago•0 comments

Meta Reports Q4 and Full Year 2025 Results

https://investor.atmeta.com/investor-news/press-release-details/2026/Meta-Reports-Fourth-Quarter-...
3•mfiguiere•24m ago•0 comments

VP of Eng thinks Vibe Coding is "Cute" [video]

https://www.youtube.com/watch?v=puVtC9SNA2A
1•yummyelephant8•24m ago•1 comments

Alpine: The modern AI-native productivity suite

https://www.alpine.inc/
3•calebmer•25m ago•1 comments

State of Mozilla 2025

https://stateof.mozilla.org/
1•Levitz•26m ago•0 comments

I wrote a minimal PyTorch FSDP to understand how it works (~240 LOC)

https://github.com/0xNaN/edufsdp
1•xnan•29m ago•0 comments

The privacy risks of Google's Personal Intelligence

https://www.washingtonpost.com/technology/2026/01/27/google-personal-intelligence-privacy/
1•bookofjoe•30m ago•1 comments

UPS to cut additional 30k jobs in Amazon unwind, turnaround plan

https://www.cnbc.com/2026/01/27/ups-job-cuts-amazon-unwind-turnaround-plan.html
3•Noaidi•31m ago•0 comments

Apple to Soon Take Up to 30% Cut from All Patreon Creators in iOS App

https://www.macrumors.com/2026/01/28/patreon-apple-tax/
21•pier25•32m ago•6 comments

Show HN: AI agent that builds web automations through conversation

https://github.com/VectorlyApp/bluebox-sdk
2•rayruizhiliao•33m ago•0 comments