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)

Hack your way to a good Git history

https://masalmon.eu/2024/06/11/rewrite-git-history/
1•sebg•39s ago•0 comments

Reservoir thermal energy storage for data center cooling system

https://www.sciencedirect.com/science/article/pii/S0306261925005884
1•PaulHoule•9m ago•0 comments

Is Our Democracy Failing Because We're Not Thinking Enough? – James Fishkin [video]

https://www.youtube.com/watch?v=kONd0Ip0HL4
1•neehao•10m ago•0 comments

Show HN: GenresFox v0.4 – Hand-Written, Zero-Dependency Rust WASM

https://github.com/zayokami/GenresFox
2•zayoka•11m ago•0 comments

Why so many famous Berlin clubs are closing [video]

https://www.youtube.com/watch?v=WiXHj2nYy1o
1•leoh•12m ago•0 comments

Show HN: Picunic – convert image to Unicode art using ML

https://mnur.me/picunic/
1•mntalateyya•21m ago•0 comments

Show HN: Typed-Prompts – Type-Safe Prompt Engineering

https://github.com/f/awesome-chatgpt-prompts/tree/main/packages/prompts.chat
1•fka•27m ago•1 comments

The Computer Chronicles – Artificial Intelligence (1984) [video]

https://www.youtube.com/watch?v=_S3m0V_ZF_Q
3•da02•30m ago•0 comments

Show HN: FIDO2 PRF with TPM and Fingerprint Auth for Confer on Linux

https://vitorpy.com/blog/2025-12-25-confer-to-linux-tpm-fido2-prf/
2•vpb•33m ago•0 comments

Taiwan ramps up plans for overseas chipmaking as threat from China looms

https://www.semafor.com/article/12/19/2025/taiwan-ramps-up-plans-for-overseas-chipmaking-as-threa...
1•gmays•35m ago•0 comments

Do you need a lead scoring model?

https://betterthanrandom.substack.com/p/do-you-really-need-a-lead-scoring
1•sebg•46m ago•0 comments

What (I think) makes Gemini 3 Flash so good and fast

https://bdtechtalks.substack.com/p/what-i-think-makes-gemini-3-flash
3•gmays•47m ago•0 comments

Safety panel says NASA should have taken Starliner incident more seriously

https://arstechnica.com/space/2025/12/safety-panel-says-nasa-should-have-taken-starliner-incident...
1•janzer•48m ago•0 comments

Python Anti-Patterns

https://docs.quantifiedcode.com/python-anti-patterns/
1•fanf2•48m ago•1 comments

Show HN: OmniWM a macOS tiling window manager Niri inspired

https://github.com/BarutSRB/OmniWM
2•Barut1•49m ago•0 comments

Pen testers accused of 'blackmail' after reporting Eurostar chatbot flaws

https://www.theregister.com/2025/12/24/pentesters_reported_eurostar_chatbot_flaws/
10•Bender•52m ago•0 comments

Nvidia Acquires Groq's Assets

https://www.bloomberg.com/news/articles/2025-12-24/nvidia-reaches-licensing-deal-with-chip-startu...
4•hnalien•53m ago•1 comments

Google is 'gradually rolling out' option to change your gmail.com address

https://9to5google.com/2025/12/24/google-change-gmail-addresses/
24•geox•53m ago•6 comments

SwiftUI, Universal, CloudKit-Based Free Cocktail App

https://apps.apple.com/us/app/simple-cocktails/id6749871365
1•geoff32•59m ago•0 comments

Memory Safety

https://www.memorysafety.org/
3•pmaddams•59m ago•0 comments

Trilium v0.101.0: 8-year anniversary of Trilium (personal knowledge base)

https://github.com/TriliumNext/Trilium/releases/tag/v0.101.0
1•ezst•1h ago•0 comments

Use Codex (OpenAI Coding Agent Framework) for a Personal Search Solution

https://github.com/DeepBlueDynamics/codex-container/blob/main/examples/personal_search/DOC_SEARCH.md
1•kordlessagain•1h ago•0 comments

As HN: How do I route around Substack's age verification?

4•longitudinal93•1h ago•2 comments

Show HN: Debt.ski – smart loan payoff planner

https://www.debt.ski
1•_august•1h ago•0 comments

CopilotHub: Directory of GitHub Copilot prompts, instructions, and MCPs

https://copilothub.directory
1•eddybenchek•1h ago•1 comments

Precomputing Transparency Order in 3D

https://jacobdoescode.com/2025/05/18/precomputing-transparency-order-in-3d
3•yzydserd•1h ago•0 comments

Version your cache keys to survive rolling deployments

https://medium.com/dev-genius/version-your-cache-keys-to-survive-rolling-deployments-a62545326220
1•orrbenyamini•1h ago•1 comments

ServiceNow to Acquire Armis for $7.75B in Cash

https://www.securityweek.com/servicenow-to-acquire-armis-for-7-75-billion-in-cash/
1•Bender•1h ago•0 comments

Open-source tool Nezha used as post-exploitation remote access trojan

https://www.scworld.com/news/open-source-tool-nezha-used-as-post-exploitation-remote-access-trojan
1•Bender•1h ago•0 comments

One Formula That Demystifies 3D Graphics [video]

https://www.youtube.com/watch?v=qjWkNZ0SXfo
1•codewiz•1h ago•0 comments