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)

I Still Write Code as an Engineering Manager

https://terriblesoftware.org/2026/01/22/why-i-still-write-code-as-an-engineering-manager/
1•birdculture•1m ago•0 comments

A philosopher's Attempt for a new economic model

https://github.com/SkopiaOutis/ontologial-protocol
1•SkopiaOutis•1m ago•1 comments

Ask HN: What do you use (AI based) web crawlers for?

1•dhruv_ahuja•2m ago•0 comments

Two Lessons in Education: Structure and Pace

https://dan.bulwinkle.net/blog/two-lessons-in-education/
1•pilingual•2m ago•0 comments

Vulkan Roadmap 2026 Milestone: Variable Rate Shading, Host Image Copies and More

https://www.phoronix.com/news/Vulkan-Roadmap-2026
1•losgehts•3m ago•0 comments

Local vs. Production Debugging (2015)

https://yusufaytas.com/local-vs-production-debugging/
3•bayburtlu•3m ago•0 comments

ohhh.lol

https://bsky.app/profile/jonhendren.com/post/3mbsijt4cz22g
1•jsheard•4m ago•0 comments

Scientists used the same data, but their politics predicted the results

https://www.psypost.org/158-scientists-used-the-same-data-but-their-politics-predicted-the-results/
1•geox•4m ago•0 comments

With AI, we don't practice fucked

https://spader.zone/pfm/
2•dboon•7m ago•0 comments

Show HN: Our vibe-coded pitch deck (with Lovable)

https://keen-spot.lovable.app
1•leo_researchly•7m ago•0 comments

What AI Can Tell You About Your Authorization Policies (2025)

https://www.windley.com/archives/2025/12/what_ai_can_tell_you_about_your_authorization_policies.s...
1•mooreds•10m ago•0 comments

Run GUI applications and desktops in Docker and Podman containers

https://github.com/mviereck/x11docker
1•modinfo•11m ago•0 comments

What does a new US TikTok deal mean for users?

https://www.bbc.com/news/articles/cq5yynydvgzo
1•grugagag•13m ago•0 comments

SpaceX's Starlink dodged 300k satellite collisions in 2025

https://www.newscientist.com/article/2512470-spacexs-starlink-dodged-300000-satellite-collisions-...
1•cratermoon•13m ago•0 comments

LangChain, AutoGen, CrewAI, Temporal: What breaks when you need governance?

1•yaront111•14m ago•0 comments

ANN v3: 200ms p99 query latency over 100B vectors

https://turbopuffer.com/blog/ann-v3
2•jascha_eng•15m ago•0 comments

Agentic Reasoning for Large Language Models

https://arxiv.org/abs/2601.12538
1•Anon84•16m ago•0 comments

The Meaning Machine: A Dream for Universal Language

https://eric.vicenti.net/posts/dream-of-universal-language
1•evv•16m ago•1 comments

Vulkan Introduces Roadmap 2026 and New Descriptor Heap Extension

https://www.khronos.org/blog/vulkan-introduces-roadmap-2026-and-new-descriptor-heap-extension
1•jrepinc•16m ago•0 comments

Muscle memory friendly keyboard mods

https://blog.getreu.net/20250826-muscle-memory-friendly-home-row-mods/
1•scientism•18m ago•0 comments

Ask HN: How are you handling non-probabilistic security for LLM agents?

1•amjadfatmi1•20m ago•1 comments

The Science of Fermentation (The Food Programme)

https://www.bbc.co.uk/programmes/m002pqg6
1•fallinditch•20m ago•0 comments

Waypoint-1: Real-Time Interactive Video Diffusion from Overworld

https://huggingface.co/blog/waypoint-1
2•avaer•21m ago•0 comments

Accepted Research Papers With 100+ AI-Hallucinated Citations

https://fortune.com/2026/01/21/neurips-ai-conferences-research-papers-hallucinations/
1•jruohonen•21m ago•1 comments

A field guide to sandboxes for AI

https://www.luiscardoso.dev/blog/sandboxes-for-ai
1•vanoora•22m ago•0 comments

Show HN: IG-Profile-Viewer – View Instagram posts and reels without login

https://ig-profile-viewer.com
1•PeterAnderson•22m ago•1 comments

Show HN: Lobsim: L3 Limit Order Book replay and paper execution simulator

https://github.com/kpetridis24/lobsim
1•kpetridis24•23m ago•0 comments

Persuading Gemini to link out to the web prototype

https://tomcritchlow.com/2025/03/21/better-ai-mode/
1•topcat31•26m ago•0 comments

We're Turning Todos into Tasks in Claude Code

https://twitter.com/trq212/status/2014480496013803643
1•CharlesW•27m ago•0 comments

Show HN: Tuvix Tricorder – An RSS Button for the Web

https://tuvix.app/blog/tuvix-tricorder-browser-extension/
1•TechSquidTV•27m ago•0 comments