frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Stop Cramming Everything into Postgres

3•saisrirampur•11mo 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•11mo ago
you do not need to use anything/everything you find in there, or anywhere for that matter.
XCSme•11mo 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)

Moving from academic to industry career plans: A personal story

https://sites.lsa.umich.edu/math-graduates/2020/09/15/moving-from-academic-to-industry-career-pla...
1•ganitam•46s ago•0 comments

Why I quit "The Strive"

https://www.joanwestenberg.com/why-i-quit-the-strive/
1•zdw•57s ago•0 comments

Vulnpocalypse: AI, Open Source, and the Race to Remediate

https://www.resilientcyber.io/p/vulnpocalypse-ai-open-source-and
1•chillax•1m ago•0 comments

YouTube locked my accounts and I can't cancel my subscription

https://pocketables.com/2026/04/ai-music-corporate-control-and-the-creator-who-cant-even-leave.html
1•digitalhigh•2m ago•0 comments

PeerDrop – P2P file sharing across devices

https://github.com/jj10133/PeerDrop
2•jj_3•4m ago•1 comments

Eyes on the Solar System – Artemis

https://eyes.nasa.gov/apps/solar-system/
1•memalign•6m ago•0 comments

Negative effects of artificial sweeteners may pass on to next generation

https://www.eurekalert.org/news-releases/1121524
1•XzetaU8•7m ago•0 comments

Show HN: Shell-MCP A persistent terminal for AI- CD, env vars,and nvm carry over

1•prasanthsd•9m ago•0 comments

Explaining the Most Important Artemis II Photos [video]

https://www.youtube.com/watch?v=oaXRREHVkHo
1•Orochikaku•10m ago•0 comments

RoboPhD: Evolving complex agents under tight budgets

https://arxiv.org/abs/2604.04347
1•azhenley•11m ago•0 comments

States Are Learning the Wrong Lesson from the 'Mississippi Miracle'

https://www.theatlantic.com/ideas/2026/04/mississippi-education-miracle/686731/
1•JumpCrisscross•11m ago•0 comments

$190M Settlement in Facebook User-Privacy Case Wins Approval in Delaware Court

https://www.law.com/therecorder/2026/04/08/190m-settlement-in-facebook-user-privacy-case-wins-app...
2•1vuio0pswjnm7•14m ago•0 comments

Ask HN: Apple terminated my membership while converting it to an organization

3•creepy•19m ago•0 comments

GitHub Copilot – Community-contributed agents, instructions, and skills

https://awesome-copilot.github.com/
1•ms7892•19m ago•0 comments

Slipping up Slippi with spectator RCE

https://khang06.github.io/slippirce/
1•khangaroo•22m ago•0 comments

First man convicted under Take It Down Act kept making AI nudes after arrest

https://arstechnica.com/tech-policy/2026/04/first-man-convicted-under-take-it-down-act-kept-makin...
3•tzs•25m ago•0 comments

Reverse-engineering an encrypted IoT protocol

https://smlx.dev/posts/goodwe-sems-protocol-teardown/
1•swq115•26m ago•0 comments

MemPalace – A Masterclass in Grifting

https://twitter.com/AdvicebyAimar/status/2041559354034344438
2•doppp•29m ago•0 comments

A Minecraft mod that reveals the Alpha world under bedrock

https://multision.dev/alphabelow/
2•EvilGoose•30m ago•0 comments

Scaling AI is now constrained by energy, cooling and physics

https://blog.se.com/digital-transformation/artificial-intelligence/2026/02/13/scaling-ai-in-the-r...
2•latentframe•34m ago•2 comments

Book Review: Savage Money (2024)

https://entropicthoughts.com/book-review-savage-money
1•kqr•35m ago•0 comments

Show HN: Every AI writing tool sounds the same, this one sounds like you

https://toneswap.app
1•cammyjr•35m ago•0 comments

(YT) Economics Explained: Job Losses Across Sectors [video]

https://www.youtube.com/watch?v=1zlD0K09IKE
1•Martin-Carlsson•36m ago•0 comments

Zig – Incremental Compilation with LLVM

https://ziglang.org/devlog/2026/#2026-04-08
1•Retro_Dev•38m ago•0 comments

Zed's Agent Stats

https://zed.dev/blog/agent-metrics
1•tylerchr•43m ago•0 comments

TAS Explained: Super Mario Bros. 3 in 0.2 seconds [video]

https://www.youtube.com/watch?v=fQYX_AVxGq0
1•medbar•45m ago•0 comments

Ask HN: Does Vibe Coding and Prompt Engineering make me an Software Engineer?

1•wasimsk•47m ago•6 comments

Hip-hop pioneer, Afrika Bambaataa, dies aged 68

https://www.bbc.co.uk/news/articles/c2evppm30p7o
32•mellosouls•48m ago•3 comments

A Source Code Exhibition

https://www.sourcecode-exhibition.softwareheritage.org/
1•pabs3•51m ago•0 comments

A Type System for Management

https://rescrv.net/w/2026/04/09/a-type-system-for-management
2•rescrv•54m ago•0 comments