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: What's your health/fitness/wellness routine?

1•akhilnchauhan•56s ago•0 comments

Reasoning tools knowledgebase of thinking patterns from various domains

https://github.com/dvdarkin/reasoning-tools
1•dvdarkin•2m ago•1 comments

Show HN: Snapalabra – A daily exercise for learning new vocabulary

1•detectivestory•4m ago•0 comments

Dev-db: TypeScript-first mock database generator with realistic data in seconds

https://github.com/calvin-kimani/dev-db
1•kimanicalvin•5m ago•0 comments

Show HN: An AI pipeline to find anomalies in FDA medical device reports

https://maude-analysis.onrender.com/
1•smugesh•7m ago•0 comments

Show HN: AgentCmds – A directory of slash commands for AI agents

https://agentcmds.work/
1•ho_ba•15m ago•1 comments

Progressive disclosure is essential as AI capabilities grow, so does complexity

https://1984.design/psychology-of-design/progressive-disclosure/
1•kaizenb•15m ago•0 comments

GNU Taler v1.3 Released

https://www.taler.net/en/news/2025-13.html
3•midzer•17m ago•0 comments

My web framework is 1 py file, my CRM is 1 shell script, SQLite the 1 dependency

https://github.com/danielfalbo/prev.py/blob/main/prev.py
1•danielfalbo•18m ago•0 comments

Map of my personal data infrastructure (2021)

https://beepb00p.xyz/myinfra.html
1•Tomte•19m ago•0 comments

Before Electric Vehicles Became Political, There Was the Toyota Prius

https://www.nytimes.com/2025/12/27/business/electric-vehicles-poilitics-republicans-conservatives...
1•fleahunter•27m ago•0 comments

Maia Chess

https://www.maiachess.com/
1•plaguna•27m ago•0 comments

The US Must Stop Underestimating Drone Warfare

https://www.wired.com/story/the-us-must-stop-underestimating-drone-warfare/
1•fleahunter•27m ago•1 comments

Stop the slop by disabling AI features in Chrome

https://www.theregister.com/2025/12/26/disable_ai_features_chrome/
1•abdelhousni•30m ago•0 comments

AI's trillion-dollar opportunity: Context graphs

https://foundationcapital.com/context-graphs-ais-trillion-dollar-opportunity/
1•Arindam1729•31m ago•0 comments

Formulaic Delimiters in the Iliad and the Odyssey

https://glthr.com/formulaic-delimiters-in-the-iliad-and-the-odyssey
1•glth•38m ago•0 comments

Russian drones, missiles pound Ukraine ahead of Zelenskiy-Trump meeting

https://www.reuters.com/world/europe/russian-drones-missiles-pound-ukraine-before-zelenskiy-trump...
1•JamesAdir•38m ago•0 comments

Real 2025 PostgreSQL cryptojacking incident and AI-assisted recovery

https://substack.com/inbox/post/182685208
1•levelZero•40m ago•1 comments

Spotify leak: why so many 2-minute songs

https://writingcosmo.substack.com/p/the-2m-peak
2•tsterin•41m ago•0 comments

Keeping a suspense file gives you superpowers (2024)

https://pluralistic.net/2024/10/26/one-weird-trick/#todo
1•thunderbong•44m ago•0 comments

Commandments of LLM Use

https://www.mostlylucid.net/blog/graphrag-minimum-viable-implementation
1•haraldooo•46m ago•0 comments

The Physics of Dissonance and Harmony

https://www.youtube.com/watch?v=tCsl6ZcY9ag
1•fanf2•48m ago•0 comments

Show HN: Doculearn – How much of your Gen-AI code do you understand?

https://doculearnapp.com
1•williamai_•51m ago•0 comments

Show HN: One Minute News: Your Minimalist Anti-Clickbait News Platform

https://oneminutenews.org/
2•zfoong•51m ago•0 comments

The power of box dimension attacks on the Epstein files

2•fusionlove•52m ago•0 comments

How to Annotate Everything (2019)

https://beepb00p.xyz/annotating.html
1•Tomte•56m ago•0 comments

CloudFlare is ruining the internet (for me)

https://www.slashgeek.net/2016/05/17/cloudflare-is-ruining-the-internet-for-me/
14•nomilk•57m ago•1 comments

Training intensity distribution of marathon runners across performance levels

https://researchprofiles.herts.ac.uk/en/publications/the-training-intensity-distribution-of-marat...
1•DyslexicAtheist•1h ago•1 comments

Eise.app – Easy (Planetary) Image Stacker in the Browser for Astrophotography

https://eise.app/
2•grgergo•1h ago•0 comments

AIChat: All-in-One LLM CLI Tool

https://github.com/sigoden/aichat
1•modinfo•1h ago•0 comments