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)

Verizon just had a big outage. Here's what we know

https://text.npr.org/nx-s1-5678889
1•mooreds•48s ago•0 comments

Ask HN: Why don't developers share their debugging/diagnostic tool results?

1•lpetronika•51s ago•0 comments

Astro Joining Cloudflare

https://astro.build/blog/joining-cloudflare/
2•todotask2•3m ago•0 comments

Gemini CLI bot infinite loop

https://github.com/google-gemini/gemini-cli/issues/16723
1•lukax•3m ago•0 comments

Do developers lose most of their time to tech debt and broken tooling?

1•Saurabh_Kumar_•3m ago•0 comments

The Power of Prolog

https://www.metalevel.at/prolog
1•andsoitis•4m ago•0 comments

I built the worst Jellyfin media server

https://ounapuu.ee/posts/2026/01/16/worst-media-server/
1•speckx•4m ago•0 comments

Ask HN: Where do you find single day software gigs?

1•publicdebates•6m ago•0 comments

MCP to Check LLM Prices Right from Claude Code and Cursor

https://pricepertoken.com/mcp
1•alexellman•8m ago•1 comments

Tesla built largest US lithium refinery in just 2 years and it's now operational [video]

https://www.youtube.com/watch?v=rxYTx6aj96k
1•7777777phil•8m ago•0 comments

Fine, I'll Do It Myself

https://dinosaurseateverybody.com/blog/fine-ill-do-it-myself
1•dorkrawk•9m ago•1 comments

Web Almanac 2025

https://almanac.httparchive.org/en/2025/
1•tricinel•9m ago•0 comments

The UK is losing the industry that makes everything [video]

https://www.youtube.com/watch?v=PQ3hT8tqZgo
2•skeltoac•10m ago•0 comments

Experimental High Dynamic Range Video Playback on Windows in Firefox Nightly 148

https://mozillagfx.wordpress.com/2026/01/16/experimental-high-dynamic-range-video-playback-on-win...
1•todsacerdoti•10m ago•0 comments

TranslateGemma: A new suite of open translation models

https://blog.google/innovation-and-ai/technology/developers-tools/translategemma/
1•taubek•12m ago•0 comments

LLM Authorization

https://docs.permify.co/use-cases/llm-authorization
1•mooreds•12m ago•0 comments

Mother of Elon Musk's child sues xAI over Grok deepfakes

https://www.bbc.com/news/articles/cp37erw0zwwo
2•vinni2•13m ago•0 comments

Show HN: I Claude coded a small open-source jj VSCode extension

https://marketplace.visualstudio.com/items?itemName=olup.open-jj
1•olup•15m ago•0 comments

I made a playable pitch deck

https://deck.blogcore.app
1•ash_rahman•16m ago•1 comments

Show HN: ShipMate- Find the 3 tech-debt fixes that will unblock feature

1•Saurabh_Kumar_•16m ago•0 comments

Rassumfrassum an Emacs LSP Multiplexer

https://github.com/joaotavora/rassumfrassum
1•vordoo•16m ago•1 comments

Astro is joining Cloudflare

https://blog.cloudflare.com/astro-joins-cloudflare/
4•dbelson•18m ago•0 comments

Alpine.js: Your new, lightweight, JavaScript framework

https://alpinejs.dev/
2•thunderbong•18m ago•0 comments

Scott Alexander: The Dilbert Afterlife

https://www.astralcodexten.com/p/the-dilbert-afterlife
1•rendall•19m ago•0 comments

Data Holds the Key in Slowing Age-Related Illnesses

https://www.wired.com/story/data-holds-the-key-in-slowing-age-related-illnesses/
1•rbanffy•23m ago•0 comments

ComcastifyJS

https://github.com/theonion/comcastifyjs
1•carlos-menezes•23m ago•0 comments

The Antarctic Snow Cruiser

https://www.amusingplanet.com/2026/01/the-antarctic-snow-cruiser.html
2•terryf•27m ago•0 comments

BigQuery: Partition and cluster your data for optimal performance (2020)

https://cloud.google.com/blog/topics/developers-practitioners/bigquery-explained-storage-overview
1•tosh•28m ago•0 comments

NestJS Best Practices (Yet another Claude skill)

https://github.com/Kadajett/agent-nestjs-skills
2•kadajett•30m ago•1 comments

Speculation of Donut Lab Solid State Battery [video]

https://www.youtube.com/watch?v=RbGxbII44eE
2•josalhor•31m ago•1 comments