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)

China's CXMT Is Set to Challenge DRAM Incumbents

https://newsletter.semianalysis.com/p/chinas-cxmt-is-set-to-challenge-dram
1•pieterr•4m ago•0 comments

Authority is the degenerate case: what else propagates through the link graph?

https://zenodo.org/records/20981883
1•JasonDuke•4m ago•0 comments

Why growth harder to find: good ideas aren't becoming rare, but hard to share

https://www.nber.org/papers/w35182
1•oliculipolicula•9m ago•0 comments

Wouter van Oortmerssen on Surviving in Early Access and Escaping Minecraft

https://report.wand.com/interviews/voxray-voxile-interview
1•mikelabatt•11m ago•0 comments

Inference, Diffusion, World Models, and More – YC Paper Club [video]

https://www.youtube.com/watch?v=wE1ZgJdt4uM
2•frenchmajesty•11m ago•0 comments

Guess what, lawmakers? The Runtime Is the Regulator

https://www.mikehyland.com/blog/ai-governance-zero-trust-runtime
1•mjhyl•12m ago•0 comments

Ask HN: Which Induction Cooktops Have the Best User Experience (UI/UX)?

1•evolve2k•13m ago•0 comments

Be the First to Test It

1•carlostkd•14m ago•0 comments

AI Is the Best Thing to Happen to Security

https://badshah.io/blog/ai-is-the-best-thing-to-happen-to-security/
1•ilreb•15m ago•0 comments

Ask HN: Who here would agree to replace parliaments with LLMs?

1•julienreszka•15m ago•2 comments

A new metadata engine for high performance Object Storage (not LSM, not B+ tree)

https://fractalbits.com/blog/metadata-engine-for-our-object-storage-from-lsm-tree-to-fractal-art/
5•rustshellscript•17m ago•0 comments

Ask HN: What would you say to Elon Musk on his 55th birthday TODAY?

3•vantareed•18m ago•2 comments

I built Stack Overflow Tech Trends to visualize 15+ years of tag popularity

https://verpad.vercel.app/so-trends.html
1•sheelagay•19m ago•1 comments

Twitter Search Filters

https://twitter.com/berryxia/status/2070392620359315484
3•aurenvale•23m ago•0 comments

GT America

https://www.gt-america.com/
1•toilet•25m ago•0 comments

PSR J1748−2446ad spins at 24% of the speed of light at it's equator

https://en.wikipedia.org/wiki/PSR_J1748%E2%88%922446ad
1•Jimmc414•26m ago•0 comments

Why prediction markets aren't popular

https://worksinprogress.co/issue/why-prediction-markets-arent-popular/om
3•latentframe•34m ago•0 comments

Security News This Week: LastPass Users Had Their Data Stolen–Again

https://www.wired.com/story/security-news-this-week-lastpass-users-had-their-data-stolen-again/
3•joozio•41m ago•0 comments

Show HN: React Router V8 integration for LinguiJS

https://github.com/ws-rush/lingui-rr
3•ws-rush•41m ago•0 comments

Show HN: Core-1 – A distributed C++ AGI framework for trillion-parameter scale

https://github.com/Sarkar-AGI/Core-1
3•Rahul-sarkar•42m ago•0 comments

Show HN: Better Graphs – Teach agents to stop making plain Matplotlib slop

https://temataro.github.io/better-graphs/
5•tem_alThor•49m ago•1 comments

Finding It Challenging to Maintain Software Created with Coding Agents?

6•nlpnerd•56m ago•1 comments

Yes, Europe's heat waves are deadlier than American gun violence

https://fortune.com/2026/06/26/heat-death-europe-ac-american-gun-violence-climate-change-hot-summer/
10•m_mueller•1h ago•0 comments

Pentagon Sees Bigger Role for AI in Setting Military Targets

https://www.bloomberg.com/news/articles/2026-06-25/pentagon-sees-broader-role-for-ai-in-setting-m...
3•yurivish•1h ago•0 comments

AI Assistant for Amazon

https://chromewebstore.google.com/detail/ai-assistant-for-amazon/ohpekhndmbmkpdoikmphbmdpailacjeo
2•aniruddhaikhar•1h ago•0 comments

Clean Code: Second Edition Critique

https://bugzmanov.github.io/cleancode-critique/
3•bmacho•1h ago•1 comments

GitHub's new "search bar" sucks

3•kromerless•1h ago•0 comments

Show HN: Added SaaS Explainer Video Template in Clickcast.tech

https://www.clickcast.tech/template-editor
2•clickcasttech•1h ago•0 comments

Aileadgenr.com – AI lead generation tool for finding potential B2B customers

https://aileadgenr.com/en
2•kilincarslan•1h ago•0 comments

Show HN: Ultrasonic 3D motion capture (Orientator)

https://hackaday.io/project/205963-ultrasonic-3d-motion-capture-orientator
2•optimized75•1h ago•0 comments