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)

One Small Step for a Moss, One Giant Leap for Mosskind

https://defector.com/one-small-step-for-a-moss-one-giant-leap-for-mosskind
1•majkinetor•27s ago•0 comments

TTC USB Outlets Are Obsolete

https://zarar.dev/ttc-usb-outlets-are-already-obsolete/
1•speckx•31s ago•0 comments

The State of AI: Chatbot companions and the future of our privacy

https://www.technologyreview.com/2025/11/24/1128051/the-state-of-ai-chatbot-companions-and-the-fu...
1•fleahunter•39s ago•0 comments

Britain is one of the richest countries. So why do children live in poverty?

https://www.cnn.com/2025/11/24/uk/britain-child-poverty-intl-scli
3•rawgabbit•1m ago•0 comments

Show HN: Sphere-Base-One– A Python Kernel for Integer-Based Physics Optimization

https://github.com/universal-steward/hahn-optimization-core
1•zakthehahn•2m ago•1 comments

A New Raspberry Pi Imager

https://www.raspberrypi.com/news/a-new-raspberry-pi-imager/
1•raus22•2m ago•0 comments

Redis vs. Valkey: Performance and Comparison [video]

https://www.youtube.com/watch?v=wWTjxLcMVsg
1•enz•2m ago•0 comments

Modelling Agent Systems with Erlang (2004) [pdf]

https://erlang.org/workshop/2004/carlosvarela.pdf
2•todsacerdoti•3m ago•0 comments

Six-year-old shows mass bending light

https://youtu.be/1Kj5vsIZy8M?si=u68lLs-zuQZHhJp7
1•VirgilH2Oss•3m ago•1 comments

Pb_manager: PocketBase Instance Manager

https://github.com/ssakone/pb_manager
1•thunderbong•4m ago•0 comments

Reforming trade policy boosted firm productivity in China

https://voxdev.org/topic/trade/learning-trading-how-reforming-trade-policy-boosted-firm-productiv...
1•alphabetatango•5m ago•0 comments

I got tired of React bloat, so I wrote 350 LOC lib to never touch it again

https://github.com/MatthiasKainer/pfusch
2•mat_the_k•7m ago•1 comments

Why Early Tokens Matter, and How Tree-of-Thoughts Tries to Fix It

https://bindlegal.com/blog/why-early-tokens-matter/
1•tatumakseliii•7m ago•0 comments

Internet Society: The Internet Is for Everyone

https://www.internetsociety.org/
2•eustoria•7m ago•0 comments

AI and the Ironies of Automation

https://www.ufried.com/blog/ironies_of_ai_1/
1•BinaryIgor•8m ago•0 comments

I scraped early Solana token lifecycles into a structured dataset (140 charts)

https://huggingface.co/datasets/masonmarker/memecoins-chart-data-low-mc/settings
1•masonmarker•10m ago•1 comments

Show HN: I built a tool to spot viral gaming trends

https://viditrend.com/
1•flabberghasted•10m ago•0 comments

The API Key Is Dead: A Blueprint for Agent Identity in the Age of MCP

https://kontext.dev/blog/oauth-for-mcp-agents
3•rmac•11m ago•0 comments

VAC Memory System – SOTA RAG (80.1% LoCoMo) Built by a Handymen Using Claude CLI

https://github.com/vac-architector/VAC-Memory-System
1•VAC-AGI•11m ago•1 comments

AI MCP for Product Designers – Make your design system machine-readable

https://www.nikitisza.com/writing/mcp-for-product-designers
2•szines•12m ago•0 comments

Typing Speed Does Matter

https://emnudge.dev/blog/your-typing-speed-does-matter/
2•speckx•14m ago•0 comments

Using Vibration to Deice Aircraft Wings

https://www.fraunhofer.de/en/press/research-news/2025/november-2025/using-vibration-to-deice-airc...
2•PaulHoule•14m ago•0 comments

The French government threatens GrapheneOS to provide a backdoor or be arrested

https://grapheneos.social/@watchfulcitizen@goingdark.social/115605398547420414
6•nabakin•14m ago•1 comments

American Solar Challenge and Formula Sun Grand Prix

https://www.americansolarchallenge.org/
1•lostmsu•17m ago•0 comments

Beyond cookies: browser fingerprinting in 2025

https://pitg.gitlab.io/news/techdive/2025/08/15/browser-fingerprinting.html
2•eustoria•18m ago•0 comments

Ask HN: We Need Help with Our Anomaly Detection Algorithm

3•nathannaveen•19m ago•2 comments

Memgraph MCP and Claude Desktop: Analyzing Test Banking Data for Mule Accounts

https://andrewbaker.ninja/2025/11/24/macos-getting-started-with-memgraph-memgraph-mcp-and-claude-...
1•taubek•19m ago•0 comments

Jony Ive and Sam Altman say they finally have an AI hardware prototype

https://www.theverge.com/news/827607/openai-hardware-prototype-chatgpt-jony-ive-sam-altman
1•bookofjoe•22m ago•1 comments

Show HN: I made your coding agent 55% faster at front end

https://www.react-grab.com/blog/intro
2•aidenyb•23m ago•0 comments

Zero [video]

https://youtu.be/ls71QtnZctA?t=2m49s
1•layer8•25m ago•1 comments