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

Why Study Database Principles

Ruohang Feng 2132 words 11 min

Those who only know how to code are just programmers; learn databases well, and you can at least make a living; but for excellent engineers, merely using databases is far from enough.

  • Redis Going Non-Open-Source is a Disgrace to "Open-Source" and Public Cloud

    By Ruohang Feng In Database 4201 words 9 min

    Ruohang FengRedisCloudDatabaseOpen Source

    Featured Image for Redis Going Non-Open-Source is a Disgrace to "Open-Source" and Public Cloud

    Recently, Redis changed its license, causing controversy: starting from version 7.4, it uses RSALv2 and SSPLv1, no longer meeting OSI’s definition of “open source software.” But don’t get it wrong: Redis “going non-open source” is not a disgrace to …

    Recently, Redis changed its license, causing controversy: starting from version 7.4, it uses RSALv2 and SSPLv1, no longer meeting OSI’s definition of “open source software.” But don’t get it wrong: Redis “going non-open source” is not a disgrace to …

  • MySQL's ACID is a real mess

    By Ruohang Feng In Database 3102 words 15 min

    Ruohang FengMySQLDatabaseTransactions

    Featured Image for MySQL's ACID is a real mess

    MySQL was once the world’s most popular open-source relational database. However, popularity doesn’t mean advanced, and popular things can have big problems. JEPSEN’s evaluation of MySQL’s isolation levels pierced through this veneer — in …

    MySQL was once the world’s most popular open-source relational database. However, popularity doesn’t mean advanced, and popular things can have big problems. JEPSEN’s evaluation of MySQL’s isolation levels pierced through this veneer — in …

  • Database in K8S: Pros & Cons

    By Ruohang Feng In Database 2421 words 12 min

    Ruohang FengDatabaseContainersArchitecture

    Featured Image for Database in K8S: Pros & Cons

    Medium |Wechat Whether databases should be housed in Kubernetes/Docker remains highly controversial. While Kubernetes (k8s) excels in managing stateless applications, it has fundamental drawbacks with stateful services, especially databases like …

    Medium |Wechat Whether databases should be housed in Kubernetes/Docker remains highly controversial. While Kubernetes (k8s) excels in managing stateless applications, it has fundamental drawbacks with stateful services, especially databases like …

  • Are Specialized Vector Databases Dead?

    By Ruohang Feng In Database 1830 words 9 min

    Ruohang FengAIDatabaseVectorCommentary

    Featured Image for Are Specialized Vector Databases Dead?

    Vector storage and retrieval is a real need, but specialized vector databases are already dead. The ecological niche left for specialized vector databases might support one company’s survival, but trying to build an industry around AI stories is …

    Vector storage and retrieval is a real need, but specialized vector databases are already dead. The ecological niche left for specialized vector databases might support one company’s survival, but trying to build an industry around AI stories is …

  • Are Databases Really Being Strangled?

    By Ruohang Feng In Database 2228 words 11 min

    Ruohang FengHomegrownDomestic DatabaseDatabaseCommentary

    Featured Image for Are Databases Really Being Strangled?

    WeChat | Zhihu If “cloud databases” can be considered passable products with slightly underwhelming cost ROI, then many “domestic databases” are simply shoddy, inferior products that can’t be helped. Xinchuang OS/databases are essentially IT …

    WeChat | Zhihu If “cloud databases” can be considered passable products with slightly underwhelming cost ROI, then many “domestic databases” are simply shoddy, inferior products that can’t be helped. Xinchuang OS/databases are essentially IT …

  • Which EL-Series OS Distribution Is Best?

    By Ruohang Feng In Database 1587 words 4 min

    Ruohang Feng信创国产化Domestic DatabaseLinuxPG AdminDatabase

    Featured Image for Which EL-Series OS Distribution Is Best?

    Many users have asked me what operating system is best for running databases. Especially considering that CentOS 7.9 will reach EOL next year, many users should need to upgrade their OS, so today I’m sharing some experience. TL;DR In short, if you’re …

    Many users have asked me what operating system is best for running databases. Especially considering that CentOS 7.9 will reach EOL next year, many users should need to upgrade their OS, so today I’m sharing some experience. TL;DR In short, if you’re …

  • What Kind of Self-Reliance Do Infra Software Need?

    By Ruohang Feng In Database 1255 words 3 min

    Ruohang Feng信创国产化Domestic DatabaseDatabase

    Featured Image for What Kind of Self-Reliance Do Infra Software Need?

    WeChat | Zhihu Original When we talk about self-reliance and control, what are we really talking about? For infrastructure software (operating systems/databases), does self-reliance and control mean: developed, distributed, and controlled by Chinese …

    WeChat | Zhihu Original When we talk about self-reliance and control, what are we really talking about? For infrastructure software (operating systems/databases), does self-reliance and control mean: developed, distributed, and controlled by Chinese …

  • Back to Basics: Tech Reflection Chronicles

    By Ruohang Feng In Database 820 words 2 min

    Ruohang FengBack to BasicsCloudDatabaseArchitectureCommentary

    Featured Image for Back to Basics: Tech Reflection Chronicles

    Recently, there have been some hotly debated topics in the tech community: Are cloud databases an IQ tax? Is public cloud a pig-killing scam? Are distributed databases a false need? Are microservices a stupid idea? Do you still need ops and DBAs? Is …

    Recently, there have been some hotly debated topics in the tech community: Are cloud databases an IQ tax? Is public cloud a pig-killing scam? Are distributed databases a false need? Are microservices a stupid idea? Do you still need ops and DBAs? Is …

  • Database Demand Hierarchy Pyramid

    By Ruohang Feng In Database 1660 words 8 min

    Ruohang FengDatabaseArchitectureSoftware Engineering

    Featured Image for Database Demand Hierarchy Pyramid

    Similar to Maslow’s hierarchy of needs, user demands for databases also have a progressive hierarchy. User demands for databases can be divided into eight levels from bottom to top, corresponding to human needs: Physiological Needs: Functionality - …

    Similar to Maslow’s hierarchy of needs, user demands for databases also have a progressive hierarchy. User demands for databases can be divided into eight levels from bottom to top, corresponding to human needs: Physiological Needs: Functionality - …

  • NewSQL: Distributive Nonsens

    By Ruohang Feng In Database 2686 words 6 min

    Ruohang FengDatabaseDistributed SystemsCommentary

    Featured Image for NewSQL: Distributive Nonsens

    WeChat Column As hardware technology advances, the capacity and performance of standalone databases have reached unprecedented heights. In this transformative era, distributed (TP) databases appear utterly powerless, much like the “data middle …

    WeChat Column As hardware technology advances, the capacity and performance of standalone databases have reached unprecedented heights. In this transformative era, distributed (TP) databases appear utterly powerless, much like the “data middle …

  • Is running postgres in docker a good idea?

    By Ruohang Feng In Database 2587 words 13 min

    Ruohang FengDatabaseContainersArchitecture

    Featured Image for Is running postgres in docker a good idea?

    For stateless app services, containers are an almost perfect devops solution. However, for stateful services like databases, it’s not so straightforward. Whether production databases should be containerized remains controversial. From a developer’s …

    For stateless app services, containers are an almost perfect devops solution. However, for stateful services like databases, it’s not so straightforward. Whether production databases should be containerized remains controversial. From a developer’s …

  • Understanding Time - Leap Years, Leap Seconds, Time and Time Zones

    By Ruohang Feng In Database 3208 words 7 min

    Ruohang FengPG DevelopmentDatabase

    Featured Image for Understanding Time - Leap Years, Leap Seconds, Time and Time Zones

    A few days ago, we encountered the quadrennial leap year February 29th. Every time this day comes around, some poorly written software experiences major failures. If you’re unlucky, this type of problem might take four years to surface. For example, …

    A few days ago, we encountered the quadrennial leap year February 29th. Every time this day comes around, some poorly written software experiences major failures. If you’re unlucky, this type of problem might take four years to surface. For example, …

  • Understanding Character Encoding Principles

    By Ruohang Feng In Database 4715 words 10 min

    Ruohang FengPG DevelopmentDatabase

    Featured Image for Understanding Character Encoding Principles

    Programmers deal with Code (both programming code and encoding), and character encoding is the most fundamental type of encoding. The problem of how to represent characters using binary numbers - this character encoding problem is not as simple as it …

    Programmers deal with Code (both programming code and encoding), and character encoding is the most fundamental type of encoding. The problem of how to represent characters using binary numbers - this character encoding problem is not as simple as it …

  • Concurrency Anomalies Explained

    By Ruohang Feng In Database 6088 words 29 min

    Ruohang FengDatabaseTransactionsPG Kernel

    Featured Image for Concurrency Anomalies Explained

    Concurrent programs are hard to write correctly and even harder to write well. Many programmers haven’t truly figured out these problems - they just dump them all on the database. Concurrency anomalies aren’t just theoretical problems: these …

    Concurrent programs are hard to write correctly and even harder to write well. Many programmers haven’t truly figured out these problems - they just dump them all on the database. Concurrency anomalies aren’t just theoretical problems: these …

  • Blockchain and Distributed Databases

    By Ruohang Feng In Database 537 words 3 min

    Ruohang FengDatabaseDistributed Systems

    Featured Image for Blockchain and Distributed Databases

    The essence, intended functionality, and evolutionary direction of blockchain is distributed databases. To be precise, it’s a Byzantine Fault Tolerant (resistant to malicious node attacks) distributed (leaderless replication) database. If this …

    The essence, intended functionality, and evolutionary direction of blockchain is distributed databases. To be precise, it’s a Byzantine Fault Tolerant (resistant to malicious node attacks) distributed (leaderless replication) database. If this …

  • Consistency: An Overloaded Term

    By Ruohang Feng In Database 651 words 4 min

    Ruohang FengDatabaseDistributed SystemsTransactions

    Featured Image for Consistency: An Overloaded Term

    The term consistency is heavily overloaded, representing different things in different contexts and situations: In the context of transactions, such as the C in ACID, it refers to the usual Consistency In the context of distributed systems, such as …

    The term consistency is heavily overloaded, representing different things in different contexts and situations: In the context of transactions, such as the C in ACID, it refers to the usual Consistency In the context of distributed systems, such as …

  • Why Study Database Principles

    By Ruohang Feng In Database 2132 words 11 min

    Ruohang FengDatabaseCareer

    Featured Image for Why Study Database Principles

    Our school offers a database systems principles course. But I’m still confused. From the first few classes, the teacher started with a bunch of mind-numbing terms and concepts. I thought knowing “how to design and build tables” and “how to perform …

    Our school offers a database systems principles course. But I’m still confused. From the first few classes, the teacher started with a bunch of mind-numbing terms and concepts. I thought knowing “how to design and build tables” and “how to perform …