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)

Ask HN: How do you define "done" for long-running AI agents?

1•IntelliAvatar•1m ago•0 comments

Plugins case study: mdBook preprocessors

https://eli.thegreenplace.net/2025/plugins-case-study-mdbook-preprocessors/
1•chmaynard•2m ago•0 comments

Avoid fan traps in system diagrams

https://www.ilograph.com/blog/posts/avoid-fan-traps-in-system-diagrams/
1•billyp-rva•2m ago•0 comments

Olo (Color)

https://en.wikipedia.org/wiki/Olo_(color)
1•keepamovin•4m ago•0 comments

A Look at iMessage in iOS 14

https://projectzero.google/2021/01/a-look-at-imessage-in-ios-14.html
1•fanf2•7m ago•0 comments

Silver Breaks $66, and Thoughts About Samsung's Deal to Restart a Silver Mine

https://goldandsilverdaily.substack.com/p/silver-breaks-66-and-thoughts-about
1•airhangerf15•7m ago•0 comments

Vm.overcommit_memory=2 is always the right setting

https://ariadne.space/2025/12/16/vmovercommitmemory-is-always-the-right.html
1•birdculture•18m ago•1 comments

Rcarmo/drawterm: drawterm with HIDPI scaling settings on macOS

https://github.com/rcarmo/drawterm
1•rcarmo•19m ago•0 comments

Fast memory vulnerabilities, written in 100% safe Rust

https://github.com/Speykious/cve-rs
2•airhangerf15•19m ago•0 comments

Classical statues were not painted horribly

https://worksinprogress.co/issue/were-classical-statues-painted-horribly/
2•bensouthwood•20m ago•0 comments

Vaadin 25.0: Modernizing the Java Web Stack (Java 21, Spring Boot 4, 100% Lit)

https://vaadin.com/blog/vaadin-25-0-release
3•spicyroman•20m ago•1 comments

The AI Fundraising Agent for Pre-Seed Startups

https://meetgordon.com/
1•alvaradomarcos•21m ago•0 comments

Vector Prism: Animating Vector Graphics by Stratifying Semantic Structure

https://yeolj00.github.io/personal-projects/vector-prism/
1•SerCe•27m ago•0 comments

Show HN: Wire code to any cloud in minutes

https://www.neptune.dev/
1•nzdevhacker•29m ago•0 comments

Cursor Feature Request: Native Agent Compliance Verification Auto-Critique Loops

https://forum.cursor.com/t/native-agent-compliance-verification-auto-critique-loops/146556
1•sean_escendant•29m ago•0 comments

Authentication: Who are you? Proofs are passwords, codes and keys

https://binaryigor.com/authentication-who-are-you-proofs.html
1•BinaryIgor•31m ago•0 comments

Inlining – The Ultimate Optimisation

https://xania.org/202512/17-inlining-the-ultimate-optimisation
1•rayhaanj•32m ago•0 comments

Show HN: Quercle – Web Fetch/Search API for AI Agents

https://quercle.dev/
1•liran_yo•33m ago•0 comments

The Roomba Was a Disappointment

https://www.theatlantic.com/technology/2025/12/roomba-dream-home-robotics/685293/
1•voxleone•35m ago•0 comments

What Ireland's Data Center Crisis Means for the EU's AI Sovereignty Plans

https://www.techpolicy.press/what-irelands-data-center-crisis-means-for-the-eus-ai-sovereignty-pl...
1•donohoe•36m ago•0 comments

Show HN: I built an app for vibe-coding games

https://playmix.ai/
1•Mikecraft•36m ago•0 comments

Speed has always driven military tech adoption. Autonomous weapons are next

https://medium.com/statute-circuit/slow-is-smooth-smooth-is-fast-why-speed-will-drive-military-ai...
1•delschlangen•36m ago•0 comments

Nu-9 halts Alzheimer's disease in animal model before symptoms begin

https://news.northwestern.edu/stories/2025/12/nu-9-halts-alzheimers-disease-in-animal-model-befor...
2•geox•40m ago•0 comments

A Brief History of UK Interest Rates

https://theheasman.com/data-history-of-uk-interest-rates/
1•TheHeasman•42m ago•0 comments

Archer to Launch Air Taxi Trials in US Cities Under White House Executive Order

https://investors.archer.com/news/news-details/2025/Archer-Moves-to-Launch-Air-Taxi-Trials-In-U-S...
2•bookofjoe•43m ago•0 comments

Gemini 3 Flash – Everything you need to know

https://artificialanalysis.ai/articles/gemini-3-flash-everything-you-need-to-know
1•Topfi•45m ago•1 comments

OctoNote: GitHub-powered Markdown notes – revived

https://ajkueterman.com/posts/octonote-2/
1•robotsquidward•45m ago•1 comments

Is ChatGPT Conservative or Liberal?

https://www.cambridge.org/core/journals/political-science-research-and-methods/article/is-chatgpt...
4•uxhacker•45m ago•2 comments

Show HN: Desktop app to never miss GitHub security alerts

https://github.com/stephanebouget/github-security-alerts
1•stephanebouget•46m ago•0 comments

'Wrong trousers' to help rescue teams on the fells [video]

https://www.bbc.co.uk/news/videos/c0l9e4jgr2zo
1•DamonHD•48m ago•0 comments