frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Stop Cramming Everything into Postgres

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

An independent effort says AI is the secret to topple 2-party power in Congress

https://www.npr.org/2025/12/01/g-s1-98267/ai-independent-candidates-congress-two-party-control
1•mso3i•1m ago•0 comments

Show HN: I built a playground for training and visualizing LLMs in the browser

https://sequence.toys
1•vvin•1m ago•0 comments

G2 is broken for IT decision making. Here are 5 specialized alternatives

https://technologymatch.com/blog/best-vendor-evaluation-g2-alternatives-for-it-leaders-in-2025
1•priyanshu_101•1m ago•0 comments

Context Plumbing

https://interconnected.org/home/2025/11/28/plumbing
1•surprisetalk•1m ago•0 comments

The First Prophet of Abundance

https://asteriskmag.com/issues/12-books/the-first-prophet-of-abundance
1•surprisetalk•1m ago•0 comments

A Most Important Mustard

https://www.asimov.press/p/arabidopsis
1•surprisetalk•2m ago•0 comments

The Penicillin Myth

https://www.asimov.press/p/penicillin-myth
1•surprisetalk•2m ago•0 comments

macOS-Use: automate agentic tasks across any app on macOS

https://github.com/browser-use/macOS-use
1•nateb2022•3m ago•0 comments

I built a platform where 100% of expert fees go to charity (PassItOn.To)

https://www.passiton.to
1•arashvakil•3m ago•1 comments

Show HN: Heat Cue – An LLM Powered Mini-Game About Finding Hidden Nouns

https://heatcue.com/
1•saretup•4m ago•0 comments

Show HN: Soppo – A Golang superset that adds enums, pattern matching, nil safety

https://github.com/halcyonnouveau/soppo
1•beanpup_py•4m ago•0 comments

DeepSeek v3.2 Technical Report

https://cas-bridge.xethub.hf.co/xet-bridge-us/692cfec93b25b81d09307b94/2d0aa38511b9df084d12a00fe0...
2•logicprog•5m ago•0 comments

Open Source Bitcoin Halving Countdown Clock

https://bitcoinhalvingcountdown.com
1•only21•6m ago•0 comments

Analyzing Language Extension Semantics

https://blog.haskell.org/investigating-language-extension-semantics/
1•cosmic_quanta•10m ago•0 comments

Empire of AI is wildly misleading about AI water use

https://andymasley.substack.com/p/empire-of-ai-is-wildly-misleading
3•libraryofbabel•10m ago•2 comments

Flock Uses Overseas Gig Workers to Build Its Surveillance AI

https://www.wired.com/story/flock-uses-overseas-gig-workers-to-build-its-surveillance-ai/
1•fleahunter•11m ago•0 comments

NYC Mesh Network

https://www.nycmesh.net/
1•arn3n•11m ago•0 comments

Zenstack V3

https://zenstack.dev/v3
1•olup•12m ago•0 comments

Netflix to stop support for Chromecast and TV

https://www.androidauthority.com/netflix-casting-chromecast-google-tv-streamer-3620784/
1•WeaselNo7•12m ago•0 comments

ChaCha has all the answers – unless I'm on the other end (2009)

https://web.archive.org/web/20161002191322/http://www.espn.com/espnmag/story?id=4088415
1•jxmorris12•12m ago•0 comments

The Quiet Grief Behind Modern Management

https://karim.cloud/blog/posts/quiet-grief
1•k_shehadeh•13m ago•0 comments

Estimating AI productivity gains from Claude conversations

https://www.anthropic.com/research/estimating-productivity-gains
1•ains•14m ago•0 comments

Ask HN: A restaurant that shows a video of your burger's cow in happier times?

1•amichail•14m ago•0 comments

Kubernetes Configuration Good Practices

https://kubernetes.io/blog/2025/11/25/configuration-good-practices/
1•RyeCombinator•15m ago•0 comments

China's StarDetect raises Series A funding to expand on-orbit computing

https://spacenews.com/chinas-stardetect-raises-series-a-funding-to-expand-on-orbit-computing-and-...
1•perihelions•16m ago•0 comments

Zillow Removes Climate Risk Scores from Home Listings

https://www.nytimes.com/2025/11/30/climate/zillow-climate-risk-scores-homes.html
3•williamsmj•17m ago•1 comments

Black Forest Labs: one-year-old German startup challenges AI giants

https://www.ft.com/content/1acae2af-c0da-4be3-9cd9-af6120d1f7aa
1•walthamstow•18m ago•0 comments

Ultima VIII Walkthrough

https://ultimacodex.com/archive/ultima8/u8walkfa.html
1•keepamovin•19m ago•0 comments

Show HN: Aipatch – a CLI for multi-project AI code editing

https://github.com/bendaydots/aipatch
2•benday•19m ago•0 comments

Chilean pulp giant Arauco's history of pollution trails it to Brazil site

https://news.mongabay.com/2025/11/chilean-pulp-giant-araucos-history-of-pollution-trails-it-to-br...
2•PaulHoule•20m ago•0 comments