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)

Why is flu so bad this year?

https://www.nature.com/articles/d41586-026-00061-6
1•7777777phil•52s ago•0 comments

Ask HN: How to bullet proof yourself from AI?

2•max_•1m ago•0 comments

ChaosBSD Is a New BSD for "Broken Drivers, Half-Working Hardware, Vendor Trash"

https://www.phoronix.com/news/ChaosBSD
1•ksec•2m ago•0 comments

Show HN: PostWoman is a open source Postman alternative for macOS X

https://github.com/King-Bong-Software/postwoman
1•felltrifortence•2m ago•0 comments

Purdue blocks admission of many Chinese grad students in unwritten policy

https://www.science.org/content/article/purdue-blocks-admission-many-chinese-grad-students-unwrit...
1•bikenaga•3m ago•0 comments

Show HN: Zero to One but it's a game

https://zerooneterminal.com
1•stellarcat•3m ago•0 comments

Some C habits I employ for the modern day

https://www.unix.dog/~yosh/blog/c-habits-for-me.html
1•todsacerdoti•6m ago•0 comments

Show HN: Open-source certificate from GitHub activity

https://certificate.brendonmatos.com
1•brendonmatos•6m ago•0 comments

Show HN: DownloadStuffs – search, preview, and download from Internet Archive

https://downloadstuffss.vercel.app/
1•dawitworku•8m ago•0 comments

Monsanto's House of the Future: A Plastic Dream of Tomorrow in Photos

https://rarehistoricalphotos.com/monsanto-house-of-the-future-photos/
1•Brajeshwar•11m ago•0 comments

AI-Mediated Representations in Monetized Interfaces

https://zenodo.org/records/18276768
1•businessmate•12m ago•1 comments

Learning about myself with 11 years of Apple Health data and OpenAI Codex

https://twitter.com/bytebot/status/2012910089892696177
1•bytebot•12m ago•0 comments

Why doesn't Superman punch out ICE?

https://lytagold.substack.com/p/why-doesnt-superman-punch-out-ice
1•HotGarbage•13m ago•0 comments

Building a baseline JIT for Lua automatically

https://sillycross.github.io/2023/05/12/2023-05-12/
1•fanf2•16m ago•0 comments

Show HN: IssueWhiz – Automated Issue Triaging

https://github.com/pierotofy/issuewhiz
1•pierotofy•17m ago•0 comments

Brazil and US eye rare earths deal

https://www.ft.com/content/401a9e84-3034-4375-bf39-56b92500c7aa
1•alephnerd•17m ago•0 comments

The Discourse Is a Distributed Denial-of-Service Attack

https://www.joanwestenberg.com/the-discourse-is-a-distributed-denial-of-service-attack/
1•7777777phil•20m ago•0 comments

China Will Clinch The AI Race

https://www.ft.com/content/d9af562c-1d37-41b7-9aa7-a838dce3f571
2•karakoram•22m ago•0 comments

What if I lie to maxmind?

1•redditbannedme•22m ago•0 comments

An Artery of Empire: The Rise and Fall of China's Grand Canal

https://worldhistory.substack.com/p/an-artery-of-empire
1•crescit_eundo•22m ago•0 comments

Ask HN: What does your home office look like?

1•chistev•24m ago•0 comments

French diplomacy uses new governement account to troll back on Trump and Elon

https://x.com/FrenchResponse
3•hinata08•25m ago•2 comments

Malicious GhostPoster browser extensions found with 840k installs

https://www.bleepingcomputer.com/news/security/malicious-ghostposter-browser-extensions-found-wit...
1•howToTestFE•27m ago•0 comments

ChatGPT to start showing ads in the US

https://www.theguardian.com/technology/2026/jan/16/chatgpt-ads-in-revenue-boost
1•howToTestFE•27m ago•2 comments

Fastrender: Experimental New Browser Engine

https://github.com/wilsonzlin/fastrender
1•simonpure•27m ago•0 comments

Imgur Is the Last True Internet Culture Remaining – But Can It Survive? (2015)

https://www.mic.com/articles/123956/imgur-s-alan-and-sarah-schaaf-look-to-the-future
1•ubercow13•28m ago•0 comments

Your Agent Skills are all Slop

https://12gramsofcarbon.com/p/your-agent-skills-are-all-slop
1•theahura•30m ago•0 comments

Anthropic, please stop suggesting to use Claude as a linter

https://evgeniipendragon.com/posts/anthropic-please-stop-suggesting-to-use-claude-as-a-linter/
2•EPendragon•32m ago•0 comments

Chinese AI Developers Say They Can't Beat America Without Better Chips

https://www.wsj.com/tech/ai/china-ai-race-us-chips-9e74b957
1•gmays•33m ago•0 comments

Show HN: A terminal for research and trading in prediction markets

https://getpanther.app?src=hnews
1•mkelias•33m ago•0 comments