Skip to content

Database Guru

Ruohang Feng @Vonng / Pigsty

News, reports, surveys and best practices from the database industry — cutting through the marketing.

Database Guru
AWS Acquires DuckDB: The Duck Flies into the Amazon RainforestDuckDBAWSDatabaseOpen Source
Apple Skipped the Event and Quietly Launched a 512 GB Mac StudioAppleMac StudioLocal AI
Omarchy: Is There Hope for Desktop Linux?LinuxOmarchyOperating Systems
Did PostgreSQL Win Because Oracle Screwed Up?PostgreSQLOpen SourceGovernanceCloud
SOW: Postpartum Care for 100,000 PackagesPostgreSQLPigstyRepository
OINK: After Six Years of Wrestling with Documentation Frameworks, Codex Finally Got Me Over the LineCodexDocumentationOpen Source
A Packaging Patch Has Been Corrupting Valkey's Memory Accounting Since 2017RedisLinuxRepositoryOpen Source
Silo: A Maintained, MinIO-Compatible Object StoreObject StorageOpen Source
How a Word DiesDatabaseOpen SourceCommentary
MySQL 9.7: Same Old Leftovers, ReheatedMySQLPostgreSQLDatabaseCommentary
Two months into maintaining a MinIO forkObject StorageSecurityOpen Source
Put Your AI Agent's State in a DatabasePostgreSQLAIAgentPigsty
360 Shipped Its Wildcard TLS Private Key Inside a Public InstallerAIAgentSecurity
After the Debate, Let's Talk Seriously About 'Ontology'OLAPData SovereigntyPhilosophyCommentary
InsForge: A Supabase Built for Vibe CodingAIPostgreSQLOpen Source
Palantir's Ontology NarrativeDatabasePhilosophyCommentary
I Finished Translating the Second Edition of DDIA: An Eight-Year Parable About AIDistributed SystemsDatabaseTranslation
MinIO Is Dead, Long Live MinIOObject StorageOpen Source
Data 2025: The year in review with Mike StonebrakerPostgreSQLDatabasePG Ecosystem
What Kind of Database Do AI Agents Need?PostgreSQLAIAgentDatabase
MySQL and Baijiu: The Internet’s Obedience TestMySQLDatabaseCommentaryCareer
Victoria: The Observability Stack That Slaps the IndustryMonitoring
MinIO Is Dead. Who Picks Up the Pieces?Object StorageDatabaseOpen Source
MinIO is DeadObject StorageDatabaseOpen Source
When Answers Become Abundant, Questions Become the New CurrencyAIPhilosophyCareer
On Trusting Open-Source Supply ChainsRepositoryPG AdminOpen Source
Don't Run Docker Postgres for Production!PostgreSQLContainersIncident
DDIA 2nd Edition, Chinese TranslationDistributed SystemsDatabaseTranslation
Column: Database GuruDatabaseCommentary
Dongchedi Just Exposed “Smart Driving.” Where’s Our Dongku-Di?PostgreSQLDatabaseCommentarySociety
Where Will Databases and DBAs Go in the AI Era?AIDatabasePG AdminCareer
Stop Arguing, The AI Era Database Has Been SettledAIPostgreSQLDatabaseOpen Source
Scaling Postgres to the next level at OpenAIPostgreSQLCodexPerformanceArchitecture
How Many Shops Has etcd Torched?DatabaseDistributed SystemsContainersIncident
MySQL vs. PostgreSQL @ 2025MySQLPostgreSQLDatabaseSoftware Engineering
Database Planet Collision: When PG Falls for DuckDBPostgreSQLOLAPDatabase
Comparing Oracle and PostgreSQL Transaction SystemsPostgreSQLOracleDatabaseTransactions
Database as Business ArchitecturePostgreSQLDatabaseArchitecturePG Ecosystem
Solving the 24-Point Card Game with a Single SQL QueryPostgreSQLMySQLDatabase
7 Databases in 7 Weeks (2025)PostgreSQLOLAPDatabaseTranslation
Self-Hosting Supabase on PostgreSQLDatabasePG Ecosystem
Open-Source "Tyrant" Linus's PurgeLinuxOpen SourceCommentary
Optimize Bio Cores First, CPU Cores SecondSoftware EngineeringPerformanceDatabaseTranslation
MongoDB Has No Future: Good Marketing Can't Save a Rotten MangoMongoDBPostgreSQLDatabasePG Ecosystem
MongoDB: Now Powered by PostgreSQL?MongoDBPostgreSQLDatabaseCommentary
CVE-2024-6387 SSH Vulnerability FixSecurityLinuxIncident
The $20 Brother PolarDB: What Should Databases Actually Cost?Domestic DatabaseCloudDatabase
Can Chinese Domestic Databases Really Compete?Domestic DatabaseDatabaseCommentary
Redis Going Non-Open-Source is a Disgrace to "Open-Source" and Public CloudRedisCloudDatabaseOpen Source
MySQL's ACID is a real messMySQLDatabaseTransactions
Database in K8S: Pros & ConsDatabaseContainersArchitecture
Are Specialized Vector Databases Dead?AIDatabaseVectorCommentary
Are Databases Really Being Strangled?Domestic DatabaseDatabaseCommentary
Which EL-Series OS Distribution Is Best?Domestic DatabaseLinuxPG AdminDatabase
What Kind of Self-Reliance Do Infra Software Need?Domestic DatabaseDatabase
Back to Basics: Tech Reflection ChroniclesCloudDatabaseArchitectureCommentary
Database Demand Hierarchy PyramidDatabaseArchitectureSoftware Engineering
NewSQL: Distributive NonsensDatabaseDistributed SystemsCommentary
Is running postgres in docker a good idea?DatabaseContainersArchitecture
Understanding Time - Leap Years, Leap Seconds, Time and Time ZonesPG DevelopmentDatabase
Understanding Character Encoding PrinciplesPG DevelopmentDatabase
Concurrency Anomalies ExplainedDatabaseTransactionsPG Kernel
Blockchain and Distributed DatabasesDatabaseDistributed Systems
Consistency: An Overloaded TermDatabaseDistributed SystemsTransactions
Why Study Database PrinciplesDatabaseCareer
  • When Answers Become Abundant, Questions Become the New Currency

    By Ruohang Feng In Database 1673 words 4 min

    Ruohang FengAIPhilosophyCareer

    Featured Image for When Answers Become Abundant, Questions Become the New Currency

    Answers are depreciating, and your ability to ask questions determines your position in the AI era. Kevin Kelly once said: “In the future, asking questions will be more valuable than answering them. When answers become commodities, good questions are …

    Answers are depreciating, and your ability to ask questions determines your position in the AI era. Kevin Kelly once said: “In the future, asking questions will be more valuable than answering them. When answers become commodities, good questions are …

  • On Trusting Open-Source Supply Chains

    In Database 748 words 4 min

    RepositoryPG AdminOpen Source

    Featured Image for On Trusting Open-Source Supply Chains

    Yesterday’s post “PG ‘Export Controls’ and Supply-Chain Trust” drew a comment from someone claiming to be an admin at a university mirror site (Tsinghua TUNA): “As a university mirror admin, calling us ‘lying flat’ or ‘irresponsible’ is unfair and …

    Yesterday’s post “PG ‘Export Controls’ and Supply-Chain Trust” drew a comment from someone claiming to be an admin at a university mirror site (Tsinghua TUNA): “As a university mirror admin, calling us ‘lying flat’ or ‘irresponsible’ is unfair and …

  • Don't Run Docker Postgres for Production!

    By Ruohang Feng In Database 1868 words 9 min

    Ruohang FengPostgreSQLContainersIncident

    Featured Image for Don't Run Docker Postgres for Production!

    Back in 2019, I wrote about “Is running postgres in docker a good idea?” — Don’t run PostgreSQL in containers for production, because you’ll likely hit a pile of issues that simply don’t exist on bare metal or VMs. Well, users of Docker’s “official” …

    Back in 2019, I wrote about “Is running postgres in docker a good idea?” — Don’t run PostgreSQL in containers for production, because you’ll likely hit a pile of issues that simply don’t exist on bare metal or VMs. Well, users of Docker’s “official” …

  • DDIA 2nd Edition, Chinese Translation

    By Ruohang Feng In Database 569 words 3 min

    Ruohang FengDistributed SystemsDatabaseTranslation

    Featured Image for DDIA 2nd Edition, Chinese Translation

    The new DDIA—Designing Data-Intensive Applications, 2nd Edition—has published its first ten chapters. With Claude Code Max 20× on my side, it took two days to translate the released chapters into Chinese and re-render them via Hugo + Hextra for a …

    The new DDIA—Designing Data-Intensive Applications, 2nd Edition—has published its first ten chapters. With Claude Code Max 20× on my side, it took two days to translate the released chapters into Chinese and re-render them via Hugo + Hextra for a …

  • Column: Database Guru

    By Ruohang Feng In Database 484 words 1 min

    Ruohang FengDatabaseCommentary

    Featured Image for Column: Database Guru

    WeChat Sovereignty & Self-Reliance Build a China-rooted, world-facing PG distribution Supply-chain trust: I won’t bet on absentee maintainers PG “export controls” and supply-chain trust Any domestic DBs that actually deliver? Stop embarrassing us …

    WeChat Sovereignty & Self-Reliance Build a China-rooted, world-facing PG distribution Supply-chain trust: I won’t bet on absentee maintainers PG “export controls” and supply-chain trust Any domestic DBs that actually deliver? Stop embarrassing us …

  • Dongchedi Just Exposed “Smart Driving.” Where’s Our Dongku-Di?

    By Ruohang Feng In Database 614 words 2 min

    Ruohang FengPostgreSQLDatabaseCommentarySociety

    Featured Image for Dongchedi Just Exposed “Smart Driving.” Where’s Our Dongku-Di?

    I rented a car today, drove from Shanghai back to Ningbo. Yesterday I watched Dongchedi’s autonomous-driving showdown—closed highway + real city roads + 30+ “smart driving” models. Everyone faceplanted except Tesla. The episode aired and every Tesla …

    I rented a car today, drove from Shanghai back to Ningbo. Yesterday I watched Dongchedi’s autonomous-driving showdown—closed highway + real city roads + 30+ “smart driving” models. Everyone faceplanted except Tesla. The episode aired and every Tesla …

  • Where Will Databases and DBAs Go in the AI Era?

    By Ruohang Feng In Database 1591 words 8 min

    Ruohang FengAIDatabasePG AdminCareer

    Featured Image for Where Will Databases and DBAs Go in the AI Era?

    The day before yesterday at the HOW 2025 conference roundtable, Chairman Xiao asked some interesting questions about AI, databases, and DBAs. Here are Feng’s views, organized and published. OLTP / OLAP: Who Gets Revolutionized First? Question: In …

    The day before yesterday at the HOW 2025 conference roundtable, Chairman Xiao asked some interesting questions about AI, databases, and DBAs. Here are Feng’s views, organized and published. OLTP / OLAP: Who Gets Revolutionized First? Question: In …

  • Stop Arguing, The AI Era Database Has Been Settled

    By Ruohang Feng In Database 1611 words 8 min

    Ruohang FengAIPostgreSQLDatabaseOpen Source

    Featured Image for Stop Arguing, The AI Era Database Has Been Settled

    This morning, the industry exploded with news of an acquisition. Following Databricks’ $1 billion acquisition of Neon, its rival Snowflake immediately followed by acquiring CrunchyData. According to insiders, this deal was priced at $250 million. …

    This morning, the industry exploded with news of an acquisition. Following Databricks’ $1 billion acquisition of Neon, its rival Snowflake immediately followed by acquiring CrunchyData. According to insiders, this deal was priced at $250 million. …

  • Scaling Postgres to the next level at OpenAI

    By Bohan Zhang In Database 2708 words 13 min

    Bohan ZhangPostgreSQLCodexPerformanceArchitecture

    Featured Image for Scaling Postgres to the next level at OpenAI

    At PGConf.Dev 2025, Bohan Zhang from OpenAI shared a session titled Scaling Postgres to the next level at OpenAI, giving us a peek into the database usage of a top-tier unicorn. “At OpenAl, we’ve proven that PostgreSQL can scale to support massive …

    At PGConf.Dev 2025, Bohan Zhang from OpenAI shared a session titled Scaling Postgres to the next level at OpenAI, giving us a peek into the database usage of a top-tier unicorn. “At OpenAl, we’ve proven that PostgreSQL can scale to support massive …

  • How Many Shops Has etcd Torched?

    In Database 373 words 2 min

    BlogDatabaseDistributed SystemsContainersIncident

    Featured Image for How Many Shops Has etcd Torched?

    A few days ago Yingshi Hurricane shared their Pigsty/PostgreSQL HA incident. The root cause? etcd hit its default 2 GB limit because auto-compaction wasn’t enabled. As @ayanamist put it on X: “Let’s see how many companies this stupid 2 GB design can …

    A few days ago Yingshi Hurricane shared their Pigsty/PostgreSQL HA incident. The root cause? etcd hit its default 2 GB limit because auto-compaction wasn’t enabled. As @ayanamist put it on X: “Let’s see how many companies this stupid 2 GB design can …

  • MySQL vs. PostgreSQL @ 2025

    In Database 1811 words 4 min

    MySQL走好MySQLPostgreSQLDatabaseSoftware Engineering

    Featured Image for MySQL vs. PostgreSQL @ 2025

    In 2025, PostgreSQL has opened a clear lead over MySQL on features, correctness, performance, and ecosystem—and the gap keeps widening. Here’s the panoramic view. Features Release cadence MySQL just dropped “Innovation” 9.3 (release notes), yet the …

    In 2025, PostgreSQL has opened a clear lead over MySQL on features, correctness, performance, and ecosystem—and the gap keeps widening. Here’s the panoramic view. Features Release cadence MySQL just dropped “Innovation” 9.3 (release notes), yet the …

  • Database Planet Collision: When PG Falls for DuckDB

    By Ruohang Feng In Database 1504 words 8 min

    Ruohang FengPostgreSQLOLAPDatabase

    Featured Image for Database Planet Collision: When PG Falls for DuckDB

    When I published “PostgreSQL Is Eating the Database World” last year, I tossed out this wild idea: Could Postgres really unify OLTP and OLAP? I had no clue we’d see fireworks so quickly. The PG community’s now in an all-out frenzy to stitch DuckDB …

    When I published “PostgreSQL Is Eating the Database World” last year, I tossed out this wild idea: Could Postgres really unify OLTP and OLAP? I had no clue we’d see fireworks so quickly. The PG community’s now in an all-out frenzy to stitch DuckDB …

  • Comparing Oracle and PostgreSQL Transaction Systems

    By Laurenz Albe In Database 828 words 4 min

    Laurenz AlbePostgreSQLOracleDatabaseTransactions

    Featured Image for Comparing Oracle and PostgreSQL Transaction Systems

    Original by Laurenz Albe. Translation and commentary by Feng Ruohang. Transactions sit at the heart of relational databases. They guarantee data integrity for applications. SQL defines some transactional behavior but leaves plenty unspecified, so …

    Original by Laurenz Albe. Translation and commentary by Feng Ruohang. Transactions sit at the heart of relational databases. They guarantee data integrity for applications. SQL defines some transactional behavior but leaves plenty unspecified, so …

  • Database as Business Architecture

    By Ruohang Feng In Database 1830 words 9 min

    Ruohang FengPostgreSQLDatabaseArchitecturePG Ecosystem

    Featured Image for Database as Business Architecture

    Databases are the core of business architecture - this is self-evident consensus. But what if we go further and treat databases as business architecture itself, putting business logic, web servers, and even entire front and back ends into databases? …

    Databases are the core of business architecture - this is self-evident consensus. But what if we go further and treat databases as business architecture itself, putting business logic, web servers, and even entire front and back ends into databases? …

  • Solving the 24-Point Card Game with a Single SQL Query

    In Database 1591 words 8 min

    PostgreSQLMySQLDatabase

    Featured Image for Solving the 24-Point Card Game with a Single SQL Query

    Here is the challenge: Database Programming Contest: Solve the 24-Point Card Game with One SQL Query, hosted by the database tooling platform NineData. There is a table named cards. Its auto-incrementing numeric primary key is id, and it has 4 …

    Here is the challenge: Database Programming Contest: Solve the 24-Point Card Game with One SQL Query, hosted by the database tooling platform NineData. There is a table named cards. Its auto-incrementing numeric primary key is id, and it has 4 …

  • 7 Databases in 7 Weeks (2025)

    By Matt Blewitt In Database 2096 words 10 min

    Matt BlewittPostgreSQLOLAPDatabaseTranslation

    Featured Image for 7 Databases in 7 Weeks (2025)

    Author: Matt Blewitt, Original: 7 Databases in 7 Weeks (2025) Translator: Feng Ruohang, database veteran, cloud computing mudslide https://matt.blwt.io/post/7-databases-in-7-weeks-for-2025/ For a long time, I’ve been running Databases-as-a-Service, …

    Author: Matt Blewitt, Original: 7 Databases in 7 Weeks (2025) Translator: Feng Ruohang, database veteran, cloud computing mudslide https://matt.blwt.io/post/7-databases-in-7-weeks-for-2025/ For a long time, I’ve been running Databases-as-a-Service, …

  • Self-Hosting Supabase on PostgreSQL

    By Ruohang Feng In Database 2598 words 13 min

    Ruohang FengDatabasePG Ecosystem

    Featured Image for Self-Hosting Supabase on PostgreSQL

    Supabase is great, but having your own Supabase is even better. Pigsty helps you build enterprise-grade Supabase on your own servers (physical/virtual machines/cloud servers) with one-click deployment — more extensions, better performance, deeper …

    Supabase is great, but having your own Supabase is even better. Pigsty helps you build enterprise-grade Supabase on your own servers (physical/virtual machines/cloud servers) with one-click deployment — more extensions, better performance, deeper …

  • Open-Source "Tyrant" Linus's Purge

    By Ruohang Feng In Database 968 words 5 min

    Ruohang FengLinuxOpen SourceCommentary

    Featured Image for Open-Source "Tyrant" Linus's Purge

    Recently, Linus kicked out several Russian developers from the project, triggering an outcry in the open source world. But many people forget that Linux is Linus’s personal project — it was 30 years ago, and it still is today. Linus himself has …

    Recently, Linus kicked out several Russian developers from the project, triggering an outcry in the open source world. But many people forget that Linux is Linus’s personal project — it was 30 years ago, and it still is today. Linus himself has …

  • Optimize Bio Cores First, CPU Cores Second

    By David Heinemeier Hansson (DHH) In Database 2081 words 10 min

    David Heinemeier Hansson (DHH)Software EngineeringPerformanceDatabaseTranslation

    Featured Image for Optimize Bio Cores First, CPU Cores Second

    Optimize Bio Cores First, Silicon Cores Second A big part of the reason that companies are going ga-ga over AI right now is the promise that it might materially lower their payroll for programmers. If a company currently needs 10 programmers to do a …

    Optimize Bio Cores First, Silicon Cores Second A big part of the reason that companies are going ga-ga over AI right now is the promise that it might materially lower their payroll for programmers. If a company currently needs 10 programmers to do a …

  • MongoDB Has No Future: Good Marketing Can't Save a Rotten Mango

    By Ruohang Feng In Database 2399 words 12 min

    Ruohang FengMongoDBPostgreSQLDatabasePG Ecosystem

    Featured Image for MongoDB Has No Future: Good Marketing Can't Save a Rotten Mango

    These past few days, MongoDB’s marketing stunts have been dazzling: “MongoDB Declares War on PostgreSQL”, “MongoDB Defeats PostgreSQL to Win $30 Billion Project”, and the original article from The Register “MongoDB Prepares to Pummel PostgreSQL After …

    These past few days, MongoDB’s marketing stunts have been dazzling: “MongoDB Declares War on PostgreSQL”, “MongoDB Defeats PostgreSQL to Win $30 Billion Project”, and the original article from The Register “MongoDB Prepares to Pummel PostgreSQL After …

  • MongoDB: Now Powered by PostgreSQL?

    In Database 9633 words 46 min

    MongoDBPostgreSQLDatabaseCommentary

    Featured Image for MongoDB: Now Powered by PostgreSQL?

    Preface Tomorrow I’ll publish an article criticizing MongoDB, as a response to their recent malicious marketing that provocatively targets PostgreSQL. But before that, I want to share a brilliant article from 2015 that exposes some of MongoDB’s dark …

    Preface Tomorrow I’ll publish an article criticizing MongoDB, as a response to their recent malicious marketing that provocatively targets PostgreSQL. But before that, I want to share a brilliant article from 2015 that exposes some of MongoDB’s dark …

  • CVE-2024-6387 SSH Vulnerability Fix

    By Ruohang Feng In Database 188 words 1 min

    Ruohang FengSecurityLinuxIncident

    Featured Image for CVE-2024-6387 SSH Vulnerability Fix

    Vulnerability description, CVE-2024-6387: https://nvd.nist.gov/vuln/detail/CVE-2024-6387 This basically affects newer versions of operating systems. Older systems like CentOS 7.9, RockyLinux 8.9, Ubuntu 20.04, Debian 11 escaped this due to older …

    Vulnerability description, CVE-2024-6387: https://nvd.nist.gov/vuln/detail/CVE-2024-6387 This basically affects newer versions of operating systems. Older systems like CentOS 7.9, RockyLinux 8.9, Ubuntu 20.04, Debian 11 escaped this due to older …

  • The $20 Brother PolarDB: What Should Databases Actually Cost?

    By Ruohang Feng In Database 2587 words 13 min

    Ruohang FengXinchang LocalizationDomestic DatabaseCloudDatabase

    Featured Image for The $20 Brother PolarDB: What Should Databases Actually Cost?

    WeChat Public Account Yesterday, a bidding news attracted attention and heated discussion: “The IT industry is broken… 16.1 million dollar contract… 2.9 million (won)… maintenance fee 0.01 yuan… PolarDB unit price 130 yuan”. When I first saw this …

    WeChat Public Account Yesterday, a bidding news attracted attention and heated discussion: “The IT industry is broken… 16.1 million dollar contract… 2.9 million (won)… maintenance fee 0.01 yuan… PolarDB unit price 130 yuan”. When I first saw this …

  • Can Chinese Domestic Databases Really Compete?

    By Ruohang Feng In Database 1958 words 10 min

    Ruohang FengXinchang LocalizationDomestic DatabaseDatabaseCommentary

    Featured Image for Can Chinese Domestic Databases Really Compete?

    WeChat Public Account Friends often ask me, can Chinese domestic databases really compete? To be honest, it’s a question that offends people. So let’s try speaking with data - I hope the charts provided in this article can help readers understand …

    WeChat Public Account Friends often ask me, can Chinese domestic databases really compete? To be honest, it’s a question that offends people. So let’s try speaking with data - I hope the charts provided in this article can help readers understand …