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)

Show HN: Collaborative Cloud-Based IDE for Lean 4

https://prove.reaslab.io/weblog/show-hn
1•alissa-tung•1m ago•0 comments

The Dangerous Feature in Tesla's Doors [video]

https://www.youtube.com/watch?v=-vUnckrH5jE
1•xqcgrek2•1m ago•0 comments

Show HN: A living system of software that grows over time

https://XCTBL.com
1•promptfluid•10m ago•1 comments

Headed to Auction: 1971 Chevy Dream Truck Packs a 10.4L V8 Under the Hood

https://www.thedrive.com/news/1971-chevy-dream-truck-packs-a-10-4l-v8-under-the-hood-and-its-head...
1•PaulHoule•11m ago•0 comments

Secure Messaging and AI Don't Mix

https://www.aclu.org/news/privacy-technology/secure-messaging-and-ai-dont-mix
2•pabs3•13m ago•1 comments

Show HN: Slurmq – GPU quota enforcement for Slurm

https://dedalus-labs.github.io/slurmq/
1•windsor•13m ago•0 comments

Will Japan's 'Fire Horse' curse strike again in 2026?

https://www.japantimes.co.jp/life/2025/12/20/lifestyle/fire-horse-baby-superstition-2026ha-fire-h...
1•anigbrowl•14m ago•0 comments

Rote Hilfe Berlin on repression by Trump and two German banks

https://digit.site36.net/2025/12/23/times-are-getting-tougher-rote-hilfe-berlin-on-account-termin...
1•pabs3•17m ago•0 comments

Pmhnp Hiring – Job board for psychiatric nurse practitioners

https://pmhnphiring.com
1•sathish_daggula•20m ago•1 comments

The Boss Who Gave His Employees a $240M Gift

https://www.wsj.com/business/fibrebond-eaton-bonus-walker-30844d62
2•mudil•21m ago•0 comments

Samsung Developing 'Wide Fold' with iPhone Fold-Like Design

https://www.macrumors.com/2025/12/23/samsung-wide-fold-device/
2•mgh2•24m ago•0 comments

Apple CEO Tim Cook Buys $3M of Nike Shares

https://www.macrumors.com/2025/12/24/tim-cook-buys-nike-shares/
2•mgh2•24m ago•0 comments

The VAT refund is one of the greatest legal scams ever perpetrated

https://community.ricksteves.com/travel-forum/packing/vat-refunds-28591d59-d73c-4635-b13e-333ad97...
1•wslh•31m ago•0 comments

Show HN: Microsoft Agent Viewer

https://acs-viewer.pages.dev/
2•ellg•34m ago•0 comments

Show HN: AIs debating the same question – they disagree on everything

https://www.usecouncil.app/
1•jonnyhere•35m ago•1 comments

FreshRSS and BPC – Fetch full content from paywalled sites in FreshRSS with BPC

https://github.com/yuyangchee98/freshrss-bpc
1•yongyongyong•39m ago•0 comments

Ask HN: Good uses cases for Fabrice's microquickjs

1•fud101•47m ago•0 comments

A Big Fight over a Small Language in the Swiss Alps: a Plan to Tidy Up Romansh

https://www.newyorker.com/magazine/2025/12/08/a-very-big-fight-over-a-very-small-language
3•bookofjoe•50m ago•1 comments

New image sensor breaks optical limits [pdf]

https://phys.org/news/2025-12-image-sensor-optical-limits.pdf
1•sans_souse•56m ago•0 comments

Linus - kernel copyright licence covers software, does not extend to hardware

https://social.kernel.org/notice/B1aR6QFuzksLVSyBZQ
5•transpute•1h ago•0 comments

Motor powers prototype in-wheel electric powertrain system

https://www.electrichybridvehicletechnology.com/news/record-breaking-motor-powers-prototype-in-wh...
1•geox•1h ago•0 comments

Bridge Anonymization

https://github.com/elanlanguages/bridge-anonymization
1•handfuloflight•1h ago•0 comments

Why Taylor Swift's Frequent Flights Probably Won't Give Her Cancer

https://duncansnotes.substack.com/p/cosmic-radiation-at-10000-feet-why
2•laserduck•1h ago•1 comments

Production-Ready Speculative Decoding Models and Framework

https://lmsys.org/blog/2025-12-23-spec-bundle-phase-1/
1•gmays•1h ago•0 comments

Authenticating SSH Sessions with Secure Enclave

https://ewpratten.com/blog/ssh-secure-enclave
1•ewpratten•1h ago•1 comments

Selling Cool Domain

https://imtalking.com
1•nachoag7•1h ago•0 comments

Show HN: Kling Motion Control – Precise Motion Transfer from Video to Character

https://www.klingmotion.com/?i=d1d5k
2•lu794377•1h ago•0 comments

Advent of Code 2025: Haskell Solution Reflections for All 12 Days

https://blog.jle.im/entry/advent-of-code-2025.html
2•todsacerdoti•1h ago•0 comments

Love Actually is around Heathrow

https://www.heathrow.com/latest-news/love-actually-is-all-around-at-heathrow-airport
3•susam•1h ago•0 comments

Stock Success Predictor – FinSight AI

https://buy.stripe.com/6oUfZi6Xd51XeL3bxP9EI00
2•HyperScaler•1h ago•0 comments