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)

Secure, lint, and harden GitHub Actions workflows

https://github.com/reugn/github-ci
1•jrzx•4m ago•0 comments

Show HN: Transform messy server logs into clean, readable format

https://prettylog.net
1•bardonadam•5m ago•0 comments

RustFS vulnerability: Hardcoded token with privileged access

https://old.reddit.com/r/selfhosted/comments/1q432iz/update_your_rustfs_immediately_hardcoded_token/
1•Erlangen•5m ago•0 comments

Inducing self-NSFW classification in image models to prevent deepfakes edits

1•Genesis_rish•8m ago•0 comments

Show HN: Friction – A trilogy of archival fiction told via GitHub Markdown

https://github.com/andreas-breidenthal/friction-trilogy
1•a-breidenthal•10m ago•1 comments

Starlink offers free internet to Venezuela following Maduro capture

https://starlink.com/en-jo/support/article/026071b1-2b57-1ddb-8321-22442313223e?srsltid=AfmBOorDu...
1•tolloid•13m ago•0 comments

Show HN: H4 – The Next Paradigm of Interaction

https://h4os.run/
1•yeclark•15m ago•0 comments

Show HN: Formfactor – A MIDI Modulation Workbench

https://aftertone.co/formfactor/
1•oceanwaves•16m ago•0 comments

Building a TLS 1.3 Implementation in Pure Common Lisp

https://atgreen.github.io/repl-yell/posts/pure-tls/
2•birdculture•18m ago•0 comments

Show HN: MockBlast – Local-first mock data generator (SQL, Mongo, JSON)

https://mockblast.com
1•lotfijbe•21m ago•1 comments

Asmotor: Powerful macro (cross) assembler package for several CPUs

https://github.com/asmotor/asmotor
1•doener•26m ago•0 comments

Zed extension that automatically inserts customizable file headers

https://github.com/MrAMS/zed-auto-file-header
1•Kika233•26m ago•0 comments

Deming Regression

https://en.wikipedia.org/wiki/Deming_regression
1•tosh•27m ago•0 comments

AI Garden Design Software for Homeowners

https://hadaa.pro/
1•Fh_•29m ago•1 comments

A FOSS Pocket/Instapaper/Wallabag Alternative with OPDS Support Written in Go

https://readeck.org/en/
3•Curiositry•30m ago•0 comments

Example-Custom-GitHub-Action

https://github.com/x-504/example-custom-github-action
1•asteriskeng•32m ago•0 comments

Show HN: llmnop – Rust CLI for benchmarking LLM endpoints

https://github.com/jpreagan/llmnop
1•jpreagan•38m ago•0 comments

The AI Learning Platform That You Need

https://www.brighteraai.fun/
1•sepiol350•39m ago•0 comments

'Blind into Caracas' – By James Fallows

https://fallows.substack.com/p/blind-into-caracas
2•MaysonL•40m ago•0 comments

Show HN: LoongFlow – An evolutionary framework for self-optimizing Agents

https://github.com/baidu-baige/LoongFlow
1•FreshmanD•46m ago•1 comments

Databases in 2025: A Year in Review

https://www.cs.cmu.edu/~pavlo/blog/2026/01/2025-databases-retrospective.html
6•viveknathani_•55m ago•1 comments

Show HN: I built ZoneBar – a macOS menu bar app to see all your time zones

https://apps.apple.com/ca/app/zonebar-time-zones/id6756977321?mt=12
1•fx31xo•57m ago•0 comments

Microsoft Has a Nickname "Microslop"

3•DinakarS•58m ago•3 comments

Show HN: Live VNC for web agents – debugging native captcha on Cloud Run

https://www.rtrvr.ai/blog/live-vnc-takeover-serverless-chrome
3•quarkcarbon279•1h ago•1 comments

Now you can star Wallabag entries from the comfort of your Kobo e-reader

https://www.autodidacts.io/star-wallabag-entry-from-koreader/
2•Curiositry•1h ago•0 comments

A spider web unlike any seen before (2025)

https://www.nytimes.com/2025/11/08/science/biggest-spiderweb-sulfur-cave.html
9•juanplusjuan•1h ago•3 comments

Show HN: A diagnostic report for students studying math

https://books.innings2.com/pages/cbse_math_worksheets.html
1•nutanc•1h ago•0 comments

LLMs Are Currently Not Helpful at All for Math Research: Hamkins

https://officechai.com/ai/llms-are-currently-not-helpful-at-all-for-math-research-give-garbage-an...
18•ablaba•1h ago•8 comments

Estonian telecoms: Restricting fake numbers is not a magic wand

https://news.err.ee/1609897250/estonian-telecoms-restricting-fake-numbers-is-not-a-magic-wand
2•marklit•1h ago•0 comments

Why Precision and Recall Matter More Than Ever in Agentic Systems

https://kulekci.medium.com/why-precision-and-recall-matter-more-than-ever-in-agentic-systems-4973...
1•kulekci•1h ago•0 comments