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)

Show HN: Mactop v2.0.0

https://github.com/metaspartan/mactop
2•carsenk•2m ago•0 comments

The Epiphany of Gliese 581

https://borretti.me/fiction/eog581
1•andsoitis•3m ago•0 comments

Famous Disease

https://weblog.snats.xyz/posts/2025/12/12/
1•snats•3m ago•0 comments

Association of Former Members of Congress

https://www.usafmc.org
1•mooreds•4m ago•0 comments

Frozen Waymos backed up San Francisco traffic during a widespread power outage

https://www.theverge.com/news/848843/waymo-san-francisco-power-outage
2•mikhael•8m ago•0 comments

Banning social media is the wrong conversation

https://substack.com/inbox/post/182273404
3•_phnd_•10m ago•1 comments

The Deadweight Loss of Entertainment

https://moultano.wordpress.com/2025/12/09/the-dead-weight-loss-of-entertainment/
2•Ariarule•12m ago•0 comments

A Room of One's Own: The Studiolo

https://www.italianrenaissanceresources.com/units/unit-4/essays/a-room-of-ones-own-the-studiolo/
1•foster_nyman•13m ago•0 comments

The Private-Credit Party Turns Ugly for Individual Investors

https://www.wsj.com/finance/investing/the-private-credit-party-turns-ugly-for-individual-investor...
2•zerosizedweasle•16m ago•0 comments

ONNX Runtime and CoreML May Silently Convert Your Model to FP16

https://ym2132.github.io/ONNX_MLProgram_NN_exploration
2•Two_hands•20m ago•0 comments

400-Mile-Long Layer of Fog Has Been Draped over California for 3 Weeks

https://weather.com/news/weather/news/2025-12-16-tule-fog-central-california-valley-november-dece...
2•geox•22m ago•0 comments

Germany's Christmas Markets Are Now Ringed with Security Barriers

https://www.nytimes.com/2025/12/19/world/europe/germany-christmas-market-security-bollard-attacks...
1•bookofjoe•23m ago•3 comments

Show HN: I automated forensic accounting for divorce cases (3 min vs. 4 weeks)

2•cd_mkdir•25m ago•0 comments

Foundations of LVM for mere mortals (2015)

https://storageapis.wordpress.com/2015/12/04/foundations-of-lvm-for-mere-mortals/
2•indigodaddy•26m ago•0 comments

What New Developers Need to Know About Working with AI

https://www.mooreds.com/wordpress/archives/3722
2•mooreds•28m ago•0 comments

All Things Wrapped (2025)

https://mtajchert.com/all-things-wrapped
1•tajchert•28m ago•1 comments

Show HN: Type-safe JSON-LD schema builder for Next.js

https://github.com/Aghefendi/nextjs-jsonld-schema
1•adas014•29m ago•0 comments

Remote: Terms of Distributed Collaboration

https://www.nakedinstinct.xyz/remote-work-classification/
1•mooreds•32m ago•0 comments

Text Rendering Hates You

https://faultlore.com/blah/text-hates-you/
1•andsoitis•33m ago•1 comments

Walmart and other US companies want to build a pipeline of skilled tradespeople

https://apnews.com/article/skilled-trades-labor-shortage-walmart-maintenance-5ab4bf643840a6a49660...
1•petethomas•40m ago•0 comments

Laid Off After 25 Years in Tech: Anxiety, Sacrifice, Reality No One Talks About [video]

https://www.youtube.com/watch?v=VeMA9WGKxOg
2•m348e912•40m ago•0 comments

Just click and see what happens

https://iamdinakar.github.io/simplest-project-ever/
1•DinakarS•44m ago•1 comments

A Case for Self-Hosted P2P Storage

https://carlosfelic.io/misc/self-hosted-p2p-storage-ledgerless/
2•cfelicio•44m ago•1 comments

Something Little on Group Testing

https://www.hermandaniel.com/blog/20251113-group-testing/
2•kekqqq•48m ago•0 comments

Holes in the Web - Generative AI has access to a small slice of human knowledge

https://aeon.co/essays/generative-ai-has-access-to-a-small-slice-of-human-knowledge
2•tartoran•52m ago•0 comments

I thought passkeys were confusing until I switched to this password manager

https://www.makeuseof.com/thought-passkeys-were-confusing-until-switched-to-password-manager/
2•RyeCombinator•52m ago•0 comments

Show HN: Agent Skill turns existing filesystem into Claude's memory

https://github.com/backnotprop/rg_history
2•ramoz•54m ago•0 comments

Primary time scale failure at NIST Boulder campus; impact on NTP services

https://groups.google.com/a/list.nist.gov/g/internet-time-service/c/o0dDDcr1a8I?pli=1
1•airhangerf15•1h ago•0 comments

Belated Liquid Glass on iPhone first impressions

https://lapcatsoftware.com/articles/2025/12/4.html
4•robenkleene•1h ago•0 comments

I built a tool that turns prompt into animation in 10 seconds

https://videoeffectvibe.com
1•bruuuuuuuuh•1h ago•2 comments