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)

Pro Image Cropper Plus – Batch and Preset Image Cropping in Streamlit

https://pro-image-cropper-plus.streamlit.app/
1•Dev_Master•1m ago•1 comments

Delivery Apps Must Pay $5M in Minimum Pay Settlement with NYC

https://nyc.streetsblog.org/2026/01/30/the-mamdani-effect-three-delivery-apps-must-pay-5m-in-mini...
1•danso•2m ago•0 comments

Improving my newsletter's open rate the hard(er) way

https://cassidoo.co/post/do-not-scale-2/
1•mooreds•3m ago•0 comments

Unknown Unknowns: Identify Hidden Opportunities in the Digital World

https://medium.com/@ludjonroshi/unknown-unknowns-identify-hidden-opportunities-in-the-digital-wor...
1•onion92•4m ago•0 comments

Ask HN: Why is secure remote server access still so painful for small teams?

1•brintha•5m ago•0 comments

Epstein claimed Bill Gates caught STD from ‘sex with Russian girls’

https://nypost.com/2026/01/30/us-news/epstein-claimed-bill-gates-caught-std-from-sex-with-russian...
3•RickJWagner•6m ago•0 comments

How I Use LLMs?

https://pauldambra.dev/2026/01/how-i-use-llms-3.html
1•speckx•8m ago•0 comments

Japan's Bond Market Has a Warning for America

https://www.bloomberg.com/opinion/articles/2026-02-02/japan-s-bond-market-has-a-warning-for-america
1•zerosizedweasle•8m ago•0 comments

China Read the West's Wiretaps for Years

https://shanakaanslemperera.substack.com/p/the-inverted-panopticon
1•CGMthrowaway•10m ago•0 comments

Pocket Engineer: All-in-one technical calculators

https://www.pockeng.com/
1•levario_studio•11m ago•0 comments

Show HN: SlideBot AI – AI presentation generator built from real business needs

https://github.com/tonyqinatcmu/SlideBot-AI/blob/main/README_EN.md
1•tonyqinatcmu•11m ago•0 comments

A simple, fast, and secure way to run AI in the terminal

https://medium.com/@davidminaya04/how-to-use-ai-in-the-terminal-a-simpler-safer-approach-eca11d11...
1•david-minaya•11m ago•0 comments

Moroccan sardine prices to stabilise via new measures: officials

https://maghrebi.org/2026/01/27/moroccan-sardine-prices-to-stabilise-via-new-measures-officials/
1•mooreds•11m ago•0 comments

Shitcoin offer seemed too good to be true; was

https://bsky.app/profile/gergely.pragmaticengineer.com/post/3mduva76yek27
1•mooreds•13m ago•0 comments

Geologists may have solved mystery of Green River's 'uphill' route

https://phys.org/news/2026-01-geologists-mystery-green-river-uphill.html
2•defrost•15m ago•0 comments

Show HN: Copost – A team LinkedIn tool inspired by 37signals and PostHog

https://copost.fr/
1•alexandrechs•16m ago•0 comments

Quantum Sensing Will Test Legal Frameworks for Privacy

https://www.techpolicy.press/quantum-sensing-will-test-legal-frameworks-for-privacy/
2•donohoe•18m ago•0 comments

One Solution for Too Many A's? Harvard Considers Giving A+ Grades

https://www.nytimes.com/2026/01/29/us/harvard-grade-inflation.html
3•bookofjoe•19m ago•3 comments

Show HN: Nucleus – enforced permission envelopes for AI agents (Firecracker)

https://github.com/coproduct-opensource/nucleus
3•difc•19m ago•0 comments

Show HN: BlueDot – a small TUI to search and rent cloud VPS

https://tui.bluedot.ink/?hn=do
2•keepamovin•21m ago•1 comments

Mental Sundhed Og Velvære

2•agnes-nordic•21m ago•0 comments

The Celestial Mirror: How Medieval Cosmology Reveals the Architecture of AI

https://michaelmangialardi.substack.com/p/the-celestial-mirror-how-medieval
2•mikemangialardi•22m ago•0 comments

The Government Published Nude Photos in the Epstein Files

https://www.nytimes.com/2026/02/01/us/nude-photos-epstein-files.html
4•doener•25m ago•0 comments

Docker AI agent sandboxes with HyperVisor isolation

https://www.docker.com/blog/docker-sandboxes-run-claude-code-and-other-coding-agents-unsupervised...
2•pploug•26m ago•1 comments

Show HN: Make AI motion videos with text

https://framecall.com/
3•mesmertech•26m ago•2 comments

Animated Knots

https://www.animatedknots.com/
2•ostacke•26m ago•0 comments

Show HN: DiscoC – A hobby compiler/linker for the SuperFX (SNES)

https://github.com/DiscoManOfficial/DiscoC
1•DiscoResearch•27m ago•0 comments

Show HN: Bullmq-dash – Terminal UI dashboard for BullMQ (zero setup)

https://www.npmjs.com/package/bullmq-dash
2•quanghuynt14•28m ago•0 comments

Reverse Engineering River Raid with Claude, Ghidra, and MCP

https://quesma.com/blog/ghidra-mcp-unlimited-lives/
3•stared•28m ago•0 comments

Looking back on 2025

https://kreya.app/blog/looking-back-on-2025/
2•ni507•29m ago•0 comments