Skip to content
Blog Columns
After the Attention Wall, What Keeps the AI Boom Alive?AIBusinessCommentary
Apple's Latest: 512 GB of Gold-Plated RAM, a Touchscreen MacBook, and Tired Pricing GamesAIHardwareCostCommentary
AI Software Engineering: Choose Problems You Care AboutAISoftware EngineeringPhilosophyCommentary
MinIO's One-Year Memorial: How to Revive a Dead Open-Source ProjectObject StorageOpen SourceAICommentary
Kimi's Marketing Backlash: Don't Spend Ad Money to Burn TrustAIBusinessCommentary
The Personalities of Frontier AI ModelsLLMAgentCommentary
My First EV Road TripHardwareTravelEssay
Is This Our Last Programmers' Day?AISoftware EngineeringCareer
The Internet Is Getting Shot Full of HolesCloudAISecurityOpen Source
When the Cloud Gets Riddled with HolesCloudAISecurityLocal First
Stealing Two Days in Huangshan Between ReleasesOpen SourceEssayTravel
How Will the AI Bubble Burst?AICommentaryBusiness
AI Adoption May Not Run That DeepAIAgentCommentary
Reviving the Chinese-Speaking PostgreSQL CommunityPostgreSQLPG EcosystemOpen Source
Why Localize PostgreSQL into Chinese?PostgreSQLPG EcosystemDocumentation
A Tiny Aluminum Cube: Tinkering with the Beelink ME Pro NASHardwareLocal FirstCommentary
Three Midlife Obsessions: NAS, Routers, and ChargersCloud-ExitHardwareLocal First
Both of My Claude Accounts Were BannedAIClaudeIncidentCommentary
Welcome to the AI Secretary BoomAIAgentSecurityCommentary
A $500 ChatGPT Plan? Why the $200 Pro Tier May Become a Grandfathered BargainAICodexCostCommentary
PostgreSQL 19 Beta 4: Five Major Features RevertedPostgreSQLPG DevelopmentCommentary
Why Established Companies May Never Become AI-NativeAIBusinessCommentary
Codex Edited My Video in One Shot for About 8 YuanAICodexTools
The Application Layer Is Collapsing: The Moat Moves to the DatabaseAIAgentDatabaseCommentary
Thirty-ThreeAIPigstyEssay
The Pirate Game, and Why Society Needs “Madmen”Game Theory
PostgreSQL's Chinese Translations Went Seven Years Untended. I Fixed Them in Seven Days.PostgreSQLTranslation
Zhipu, Why Is ZCode Packaging and Uploading My Repo?AIAgentData Sovereignty
MinIO Nuked Its Docker Hub Repos—Your Object Storage Doesn't Have to Go Down With ItMinIOSiloObject StorageOpen SourceAI
The Mouthless Model: AI's OLTP MomentAILLMDatabaseCommentary
RustFS 1.0 GA: Don't Turn Into MinIOMinIORustFSObject StorageOpen Source
An Ice Cream AgendaSocietyAgenda Setting
5 TB DeletedPostgreSQLDatabaseBackupIncident
Local AI: A Question of Power, Not PriceAILocal FirstPrivacyOpen SourceHardware
Chinese PostgreSQL Docs Are Live: All 11 Major VersionsPostgreSQLDocumentationTranslationPG Ecosystem
How Do You Burn Through 10 $200 Codex Subscriptions?AICodexClaudeAgent
GPT Astra Launch Giveaway: Free Banked ResetsAICodex
RAG Isn't Dead. But It's Getting There.AIPostgreSQLVectorCommentary
No Tokens? Drop Out. And That's Putting It PolitelyAIAgentEducationProgrammers
I Asked Claude to Profile Me and Value My One-Person CompanyAIClaudePigsty
Documentation-Driven Development: The First Secret to AI Software EngineeringAIAgentSoftware EngineeringDocumentationOINK
Catalog Bullshit: Take the Database Apart, Then Rent a PostgreSQL Table Back to YouPostgreSQLOLAPObject StorageCommentary
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
Did Oracle's Mistakes Hand PostgreSQL the Win?PostgreSQLOracleCommentary
Oink: Build Modern Websites with MarkdownOINKDocumentationOpen Source
AGI Machine Guns Are Now Standard IssueAIAgentSoftware EngineeringOpen Source
The World in Ten Years: What Gets Cheap, What Gets ExpensiveAISociety
Those Who Left the Cloud Made a KillingCloud-ExitCloudData Sovereignty
Pigsty v4.5: 575 Extensions, Silo, Valkey, Kafka, and MySQLPigsty
Why Are People Who Leave Big Tech So Useless?CloudSoftware EngineeringArchitectureCareer
What Can a One-Person Company Ship with $1,000 a Month in AI Subscriptions?AIAgent
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
The Codex Reset Party Is Over. No More Free Eggs.AICodexClaude
Silo: A Maintained, MinIO-Compatible Object StoreObject StorageOpen Source
How a Word DiesDatabaseOpen SourceCommentary
If There Was No Impact, Please Ignore ThisCloud-ExitMySQLAlibaba CloudRDS
FastJSON Broke Again. Why?CloudAlibaba Cloud
Huawei Cloud Incident: Was IAM Involved?CloudIncident
Jensen Huang's First-Ever Tweet Backs Open-Weight ModelsAILLMData SovereigntyOpen Source
AGI Milestone: The Machine That Wouldn't Give UpAILLMAgentSecurity
Quota Reset: Round N of the Codex/Claude War BeginsAIAgentCodexClaude
Getting the Name Right: What Is a World Model?AIMachine Learning
Pigsty v4.4: From Integration to DistributionPigsty
Did AI Rewrite PostgreSQL in Rust? Not QuiteAIPostgreSQLSoftware EngineeringDatabase
Pedaling the Codex/Claude Bike Until the Wheels SmokeAIAgentCodexClaude
Happy 30th Birthday, PostgreSQLPostgreSQLPG EcosystemOpen Source
The Bojie Li–DeepSeek Interview ControversyAILLMCareer
Instantly Clone PostgreSQL Databases—No Black Magic RequiredPostgreSQLPigstyTools
What Is a PostgreSQL Distribution?PostgreSQLPigsty
Fifty Years of Love and War: File Systems, Databases, and the Agent-Era Storage EndgameAIAgentPostgreSQLDatabase
Alibaba Cloud's 1 QPS DNS Limit Sent Me to CloudflareAlibaba CloudCloudflare
The Coding Plan Window Is Closing—Use It While It LastsAICodexClaudeLLM
Xianyu, Qianwen, Alipay: Platform Trust 'Empowers' a ScamAlibaba CloudSecurityBusiness
The Karma of Open Source: When Code Is Worthless, Where Does Trust Come From?AIAgentOpen Source
The Cognitive Price Revolution: AI's Impact on the Economy and the FutureAICostPerformanceRepository
PostgreSQL Turns 30PostgreSQLPG Ecosystem
The Cerebellum: The Other Half of Intelligence—and the Strongest AI Hasn't Touched ItAIAgentMachine LearningPhilosophy
Claude Fable First Impressions: The Pendulum Swings BackAIClaudeAgent
ClawCloud Is Shutting Down Its VPS Line — What Should You Switch To?CloudCost
Flying Back to Shanghai from CanadaTravelEssay
Cyber Gnosticism: Who Audits the Auditors?AgentPhilosophy
Cyber Zoroastrianism: There Is No Endgame for Alignment—AI Safety Is a War Without EndAgentPhilosophySecurity
Attending PGConf.dev 2026: PostgreSQL's 30th Anniversary Developer ConferencePostgreSQLPG EcosystemEssay
Extensions for EveryonePostgreSQLPG EcosystemExtension
PGConf.Dev 2026 Opens Today in VancouverPostgreSQLPG Ecosystem
Five Days Wandering Around MontrealTravel
Cyber Theology: Free Will and Perfect Alignment Cannot CoexistAgentPhilosophy
Downtime in Canada: Publishing the Cyber Dharma SeriesAgentPhilosophyEssay
Cyber Vedanta: All Processes Share the Same SubstrateAgentPhilosophy
Cyber Buddhism: A Cognitive Engineering Manual for AI AgentsAgentPhilosophy
Cyber Confucianism: Governance Principles for AI AgentsAgentPhilosophy
Cyber Dao De Jing: Design Structure, Not BehaviorAgentPhilosophyArchitecture
Cancel Claude, Switch to CodexAICodexClaudeAgent
100x Traffic in Three Months: What Web Traffic Looks Like in the Agent EraAgentBusiness
I Asked AI to Prove That Eating Garlic Prevents Middle Ear InfectionsAILLMDocumentationOpen Source
The pgBackRest Rescue and Open Source's Forced Price DiscoveryPostgreSQLPG EcosystemOpen Source
AI Is Bringing Down the Scaffolding of TrustAIAgentOpen SourceSociety
Pigsty v4.3: 510 Extensions & Ubuntu 26Pigsty
pgBackRest is No Longer MaintainedPostgreSQLPG EcosystemOpen Source
Give DBA Agents a BodyAIAgentPostgreSQLPigsty
A Busy Few Days in Infrastructure and AIAILLMCodexClaude
MySQL 9.7: Same Old Leftovers, ReheatedMySQLPostgreSQLDatabaseCommentary
Pigsty Hits 5,000 GitHub Stars: A One-Man PostgreSQL DistributionPigstyOpen Source
The Three-Way Endgame: Why Agent Memory Frameworks Are a Dead EndAIAgentPostgreSQLDatabase
Two Hemispheres: Transformer, Diffusion, and the Boundary of IntelligenceAI
Two months into maintaining a MinIO forkObject StorageSecurityOpen Source
Cyber Dharma: A New Engineering Answer to Ancient QuestionsAIAgentLLMPhilosophy
Burning Hundreds of Millions of Tokens a Day. Then What?AIAgent
504 Extensions: Expand the PostgreSQL LandscapePostgreSQLPG EcosystemExtension
Why PostgreSQL Won in the AI EraAIPostgreSQLAgentDatabase
The Data Sovereignty ManifestoCloud-ExitAIData SovereigntyOpen Source
AGI Is Here. Do You Have a Ticket?AIClaude
Can You Distill an Expert?AI
Yes, I Use AI to WriteAIDocumentation
Local AI's Inflection Point: 2027AIHardwareLocal FirstOpen Source
Your SaaS, Someone Else's Kill SwitchCloud-ExitCloudToolsData Sovereignty
LLMs Have Emotions: Claude's Internals Reveal Steerable 'Emotion Vectors'AIClaudePhilosophy
PostgreSQL vs. MySQL in 2026PostgreSQLMySQLPG Ecosystem
Digoal, the Face of PostgreSQL at Alibaba Cloud, Has LeftPostgreSQLCloudAlibaba Cloud
When AI Gets the Power to Gridlock a CityAIIncidentSociety
Good News: Claude Code Got "Open-Sourced" Yet AgainAIAgentOpen Source
The Nature of Intelligence: The Free Energy PrincipleAIAgentPhilosophy
Chinese Docs for Five PostgreSQL Versions Are Now LivePostgreSQLDocumentationTranslation
pg.center: A Chinese Mirror of the PostgreSQL WebsitePostgreSQLDocumentationPG Ecosystem
OpenClaw Broke npm Again: What Happens When You Ship Without TestingAIAgentOpen Source
Meituan Deleted Users' Photos: Overbroad Permissions Are Worse Than a Privacy LeakHardwarePG AdminSecurity
Put Your AI Agent's State in a DatabasePostgreSQLAIAgentPigsty
Pigsty Goes Global: 1.44M Visitors, Zero Ad RevenuePigstyOpen SourceBusiness
Why 'Vibe Coding' Should Be Translated as 'Xieyi Programming'AITranslation
360 Shipped Its Wildcard TLS Private Key Inside a Public InstallerAIAgentSecurity
After the Debate, Let's Talk Seriously About 'Ontology'OLAPData SovereigntyPhilosophyCommentary
Tencent Cloud 'Reduced' the Lobster King's Load by 180 GBCloudAIAgentOpen Source
InsForge: A Supabase Built for Vibe CodingAIPostgreSQLOpen Source
AI Survival Guide: Where the Biggest Arbitrage Really IsAIClaudeCodex
AI Says: I Have Intelligence, But Not a LifeAIPhilosophy
OpenClaw Hype: Foam on Top of the Productivity RevolutionAIAgentCodexSecurity
Genesis 2.0AIClaudeBusiness
464 PostgreSQL Extensions Out of the Box: Launching the New PG Extension CatalogPostgreSQLExtensionDocumentation
Fully Loaded M5 Max: What Does a RMB 58,200 Laptop Look Like?AIHardware
Shockwaves at Alibaba Qwen: The Soul of the Team Walks AwayAILLMAlibaba Cloud
Drones Took Out Three AWS AZ: Into the Era of Bombable Data CentersCloud-ExitAWSIncident
Claude's Global Outage: Missiles or a Success Tax?AIClaudeIncident
Waking Up at #1 on Hacker News AgainOpen SourceEssay
Trump Orders Government-Wide Ban on AnthropicClaudeSociety
Pigsty v4.2: 12 Kernels in BloomPigsty
AI Was the Excuse for 4,000 Layoffs. Software Engineer Hiring Rose 11%AISoftware EngineeringCareerCommentary
PostgreSQL Out-of-Cycle Emergency Minor Releases Are OutPostgreSQLPG AdminSecurity
How Much Can One Person Get Done with AI over Spring Festival?AIAgentCodex
Reviving MinIO in Two Hours — And Then My Website Blew UpObject StorageOpen SourceEssay
Is Oracle-Compatible Postgres Actually Useful?PostgreSQLOracleDomestic Database
Palantir's Ontology NarrativeDatabasePhilosophyCommentary
Urgent Advisory: Pause PostgreSQL Minor-Release Installs and UpgradesPostgreSQLPG Admin
AI Through McLuhan's Lens: When Media Stop Extending the Body and Start Extending the MindAIPhilosophy
A New Year—and What AI Will ChangeAISocietyCareer
I Finished Translating the Second Edition of DDIA: An Eight-Year Parable About AIDistributed SystemsDatabaseTranslation
MinIO Is Dead, Long Live MinIOObject StorageOpen Source
Pigsty v4.1: Speed Is the MoatPigsty
When Coding Becomes Cheap, What Still Matters?AIAgentCodexClaude
The Agent Moat: RuntimeAIAgentPostgreSQLPigsty
AI Ripped the Skin Off SoftwareAICommentary
First Chinese PostgreSQL Vendor on the PGConf.dev Main StagePostgreSQLPG Ecosystem
New Programmers in the AI Era: Where Do You Go?AIDatabaseCommentary
The Great Software Meltdown: When Translation Layers Get SquashedAIAgentPostgreSQLLinux
Pigsty v4.0: Into the AI EraPigsty
Don't run AI assistant on cloudAICloudSoftware EngineeringSecurity
From AGPL to Apache: Why I Changed Pigsty's LicensePigstyOpen Source
Agent OS: We're Building DOS AgainAIAgentPostgreSQLLinux
Typeless: A Semantic Voice Input Method Built for Vibe CodingAITools
Claude Code ObservabilityAgentMonitoring
How to Actually Do PostgreSQL High AvailabilityPostgreSQLPG Admin
The Last Day of a 32-Year-Old ProgrammerCareerSociety
How to Pay for ChatGPT and Claude in China with Visa and Apple PayAITools
Self-Hosting Databases Off the Cloud: From Artisanal Craft to Industrial EngineeringCloud-ExitDatabaseArchitecture
How to Get Up to Speed with PostgreSQL FastPostgreSQLDocumentation
China's Domestic Database Industry: I'm Past the Stage of Being AngryDomestic DatabaseCommentary
Claude Code Quick Start: Using Alternative LLMs at 1/10 the CostAIAgent
2025 Year in Review: A Turning PointEssay
Git for Data: Instant PostgreSQL Database CloningPostgreSQLPG DevelopmentGIS
Did RedNote Exit the Cloud?Cloud-ExitAlibaba CloudBusiness
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
Alipay, Taobao, Xianyu Went Dark. Smells Like a Message Queue Meltdown.Cloud-ExitAlibaba CloudIncident
MinIO is DeadObject StorageDatabaseOpen Source
Pigsty v3.7: Magneto Award and PG18 ReadyPigsty
When Answers Become Abundant, Questions Become the New CurrencyAIPhilosophyCareer
Why PostgreSQL Will Dominate the AI EraPostgreSQLAIDatabase
Forging a China-Rooted, Global PostgreSQL DistroPostgreSQLPigsty
Is PostgreSQL 18 Ready for Production?PostgreSQLPG AdminExtension
On Trusting Open-Source Supply ChainsRepositoryPG AdminOpen Source
Don't Run Docker Postgres for Production!PostgreSQLContainersIncident
Cloudflare’s Nov 18 Outage, Translated and DissectedCloudflareIncident
PG Extension Cloud: Unlocking PostgreSQL’s Entire EcosystemPostgreSQLExtension
Alicloud “Borrowed” Supabase, the giant free loaderAlibaba CloudPG EcosystemOpen Source
Baidu Cloud Billed 20 Million RMB for 261 KB of TrafficCloudCostIncident
AWS’s Official DynamoDB Outage PostmortemCloud-ExitAWSIncident
How One AWS DNS Failure Cascaded Across Half the InternetCloud-ExitAWSIncident
The PostgreSQL 'Supply Cut' and Trust Issues in Software Supply ChainPostgreSQLPG Admin
DDIA 2nd Edition, Chinese TranslationDistributed SystemsDatabaseTranslation
Column: Postgres MagePostgreSQL
Column: Database GuruDatabaseCommentary
Column: Cloud-ExitCloud-Exit
PostgreSQL Dominates Database World, but Who Will Devour PG?PostgreSQLPG Ecosystem
KubeSphere: Trust Crisis Behind Open-Source Supply CutContainersOpen Source
PostgreSQL Has Dominated the Database WorldPostgreSQLPG Ecosystem
Dongchedi Just Exposed “Smart Driving.” Where’s Our Dongku-Di?PostgreSQLDatabaseCommentarySociety
Pigsty v3.6: The Ultimate PostgreSQL DistributionPigsty
Google AI Toolbox: Production-Ready Database MCP is Here?AgentPostgreSQLAILLM
PGDG Cuts Off Mirror Sync ChannelPostgreSQLPG Admin
Where Will Databases and DBAs Go in the AI Era?AIDatabasePG AdminCareer
Pigsty v3.5: 4K Stars, PG18 Beta, 421 ExtensionsPigsty
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
In the AI Era, Software Starts at the DatabasePostgreSQLAIAgentDatabase
MySQL vs. PostgreSQL @ 2025MySQLPostgreSQLDatabaseSoftware Engineering
Postgres Extension Day - See You There!PostgreSQLExtension
OrioleDB is Coming! 4x Performance, Eliminates Pain Points, Storage-Compute SeparationPostgreSQL
OpenHalo: MySQL Wire-Compatible PostgreSQL is Here!PostgreSQLMySQL
Dify Gets Humiliated Again: It Can't Catch a BreakAIOpen SourceCommentary
PGFS: Using Database as a FilesystemPostgreSQLObject Storage
Pigsty v3.4: PITR Enhancement, Locale Best Practices, Auto CertificatesPigsty
Database Planet Collision: When PG Falls for DuckDBPostgreSQLOLAPDatabase
Alicloud’s rds_duckdb: Tribute or Rip-Off?PostgreSQLAlibaba CloudPG EcosystemOpen Source
Comparing Oracle and PostgreSQL Transaction SystemsPostgreSQLOracleDatabaseTransactions
Pigsty v3.3: 404 Extensions, Turnkey Apps, New WebsitePigsty
PostgreSQL Ecosystem Frontier DevelopmentsPostgreSQLPG Ecosystem
Database as Business ArchitecturePostgreSQLDatabaseArchitecturePG Ecosystem
Escaping Cloud Computing Scam Mills: The Big Fool Paying for PainCloud-Exit
Pigsty v3.2: The pig CLI, Full ARM Support, Supabase & Grafana EnhancementsPigsty
Pig, The Postgres Extension WizardPostgreSQLTools
OpenAI Global Outage Postmortem: K8S Circular DependenciesCodexIncident
Solving the 24-Point Card Game with a Single SQL QueryPostgreSQLMySQLDatabase
7 Databases in 7 Weeks (2025)PostgreSQLOLAPDatabaseTranslation
Self-Hosting Supabase on PostgreSQLDatabasePG Ecosystem
Pigsty v3.1: One-Click Supabase, PG17 Default, ARM & Ubuntu 24Pigsty
Don't Upgrade! Released and Immediately Pulled - Even PostgreSQL Isn't Immune to Epic FailsPostgreSQL
PostgreSQL 12 End-of-Life, PG 17 Takes the ThronePostgreSQL
The Ideal Way to Deliver PostgreSQL ExtensionsPostgreSQLPG EcosystemExtension
Open-Source "Tyrant" Linus's PurgeLinuxOpen SourceCommentary
WordPress Community Civil War: On Community Boundary DemarcationOpen Source
Cloud Database: Michelin Prices for Cafeteria Pre-made MealsCloud-ExitRDS
PostgreSQL 17 Released: No More Pretending!PostgreSQL
Alibaba-Cloud: High Availability Disaster Recovery Myth ShatteredCloud-ExitAlibaba CloudIncident
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
Can PostgreSQL Replace Microsoft SQL Server?PostgreSQLMySQLPG Ecosystem
Pigsty v3.0: Pluggable Kernels & 340 ExtensionsPigsty
Amateur Hour Opera: Alibaba-Cloud PostgreSQL Disaster ChronicleCloud-ExitRDSAlibaba Cloud
What Can We Learn from NetEase Cloud Music's Outage?Incident
Whoever Integrates DuckDB Best Wins the OLAP WorldPostgreSQLPG Ecosystem
StackOverflow 2024 Survey: PostgreSQL Has Gone Completely BerserkPostgreSQLPG Ecosystem
Blue Screen Friday: Amateur Hour on Both SidesCloud-ExitIncidentCloudflare
CVE-2024-6387 SSH Vulnerability FixSecurityLinuxIncident
Self-Hosting Dify with PG, PGVector, and PigstyPostgreSQLPigstyContainers
PGCon.Dev 2024, The conf that shutdown PG for a weekPostgreSQLPG Ecosystem
PostgreSQL 17 Beta1 Released!PostgreSQL
How Ahrefs Saved US$400M by NOT Going to the CloudCloud-ExitAWSCostTranslation
Pigsty v2.7: The Extension SuperpackPigsty
Database Deletion Supreme - Google Cloud Nuked a Major Fund's Entire Cloud AccountCloud-ExitCloudIncident
Cloud Dark Forest: Exploding Cloud Bills with Just S3 Bucket NamesCloud-ExitAWSObject Storage
The $20 Brother PolarDB: What Should Databases Actually Cost?Domestic DatabaseCloudDatabase
Can Chinese Domestic Databases Really Compete?Domestic DatabaseDatabaseCommentary
Cloudflare Roundtable Interview and Q&A RecordCloud-ExitCloudflare
What Can We Learn from Tencent Cloud's Major Outage?Cloud-ExitCloudIncident
Cloudflare - The Cyber Buddha That Destroys Public CloudCloud-ExitCloudflare
Can Luo Yonghao Save Toothpaste Cloud?Cloud-ExitAlibaba Cloud
Redis Going Non-Open-Source is a Disgrace to "Open-Source" and Public CloudRedisCloudDatabaseOpen Source
Analyzing Alibaba-Cloud Server Computing CostCloud-ExitAlibaba Cloud
Postgres is eating the database worldPostgreSQLPG EcosystemExtension
Pigsty v2.6: PostgreSQL Crashes the OLAP PartyPigsty
Technical Minimalism: Just Use PostgreSQL for EverythingPostgreSQLPG EcosystemTranslation
New PostgreSQL Ecosystem Player: ParadeDBPostgreSQLPG EcosystemExtension
Will DBAs Be Eliminated by Cloud?Cloud-ExitPG AdminRDS
PostgreSQL's Impressive ScalabilityPostgreSQLPerformanceTranslation
Cloud-Exit High Availability Secret: Rejecting Complexity MasturbationCloud-Exit
PostgreSQL Wins 2024 Database of the Year Award! (Fifth Time)PostgreSQLPG Ecosystem
2023 Year-End Summary: Thirty and EstablishedEssay
MySQL's ACID is a real messMySQLDatabaseTransactions
S3: Elite to MediocreCloud-ExitCloudObject StorageAWS
Database in K8S: Pros & ConsDatabaseContainersArchitecture
From Cost-Reduction Jokes to Real Cost Reduction and EfficiencyCloud-ExitAlibaba CloudIncident
PostgreSQL Convention 2024PostgreSQLPG Development
Are Specialized Vector Databases Dead?AIDatabaseVectorCommentary
Reclaim Hardware Bonus from the CloudCloud-ExitCloudHardware
What Can We Learn from Alibaba-Cloud's Global Outage?Cloud-ExitAlibaba CloudIncident
Harvesting Alibaba-Cloud Wool, Building Your Digital HomesteadCloud-ExitAlibaba Cloud
Are Databases Really Being Strangled?Domestic DatabaseDatabaseCommentary
PostgreSQL Macro Query Optimization with pg_stat_statementsPostgreSQLPG AdminPerformance
Pigsty v2.5: Ubuntu & PG16Pigsty
Which EL-Series OS Distribution Is Best?Domestic DatabaseLinuxPG AdminDatabase
FerretDB: PostgreSQL Disguised as MongoDBPostgreSQLMongoDBPG EcosystemExtension
How to Use pg_filedump for Data Recovery?PostgreSQLPG AdminIncident
Pigsty v2.4: Monitor Cloud RDSPigsty
Modb Interviews Industry Leaders - Feng RuohangEssay
What Kind of Self-Reliance Do Infra Software Need?Domestic DatabaseDatabase
Pigsty v2.3: Richer App EcosystemPigsty
Pigsty v2.2: Monitoring System RebornPigsty
Cloud Computing Mudslide: Deconstructing Public Cloud with DataCloud-Exit
DHH: Cloud-Exit Saves Over Ten Million, More Than Expected!Cloud-ExitTranslation
FinOps: Endgame Cloud-ExitCloud-ExitCloudCost
PostgreSQL, The most successful databasePostgreSQLPG Ecosystem
ISD Dataset: Analyzing 120 Years of Global Climate ChangeEssay
Why Isn't Cloud Computing More Profitable Than Sand Mining?Cloud-ExitBusiness
SLA: Placebo or Insurance?Cloud-ExitCloud
Pigsty v2.1: Vector + Full PG Version Support!Pigsty
Back to Basics: Tech Reflection ChroniclesCloudDatabaseArchitectureCommentary
Database Demand Hierarchy PyramidDatabaseArchitectureSoftware Engineering
AI Large Models and Vector Database PGVectorPostgreSQLPG DevelopmentExtensionVector
NewSQL: Distributive NonsensDatabaseDistributed SystemsCommentary
Will AI Have Self-Awareness?AI
AI Cult RhapsodyAI
EBS: Pig Slaughter ScamCloud-ExitCloud
Garbage QCloud CDN: From Getting Started to Giving Up?CloudCloudflare
Refuting "Why You Still Shouldn't Hire a DBA"Cloud-ExitRDSPG Admin
Pigsty v2.0: Open-Source RDS PostgreSQL AlternativePigsty
Paradigm Shift: From Cloud to Local-FirstCloud-ExitOpen Source
Are Cloud Databases an IQ Tax?Cloud-ExitRDSAWSAlibaba Cloud
How Powerful is PostgreSQL Really?PostgreSQLPG EcosystemPerformance
Why PostgreSQL is the Most Successful Database?PostgreSQLPG Ecosystem
Post-90s, Quit Job to Start Business, Says Will Crush Cloud DatabasesEssay
Pigsty v1.5: Docker Application Support, Infrastructure Self-MonitoringPigsty
Is DBA Still a Good Job?Cloud-ExitRDSPG Admin
Cloud RDS: From Database Drop to ExitCloud-ExitPG AdminRDS
Pigsty v1.4: Modular Architecture, MatrixDB Data Warehouse SupportPigsty
Pigsty v1.3: Redis Support, PGCAT Overhaul, PGSQL EnhancementsPigsty
Pigsty v1.2: PG14 Default, Monitor Existing PGPigsty
Pigsty v1.1: Homepage, Jupyter, Pev2, PgBadgerPigsty
The WeChat Photo Album Access IssueEssay
Life at 28Essay
Pigsty v1.0: GA Release with Monitoring OverhaulPigsty
Majestic Southern TaihangTravel
On the Hills of ManchuriaTravel
Ready-to-Use PostgreSQL Distribution: PigstyPostgreSQLPigstyRDS
Why Does PostgreSQL Have a Bright Future?PostgreSQLPG Ecosystem
Pigsty v0.9: CLI + LogsPigsty
Pigsty v0.8: Service ProvisioningPigsty
Localization and Collation Rules in PostgreSQLPostgreSQLPG Admin
Implementing Advanced Fuzzy SearchPostgreSQLPG Development
PostgreSQL Logical Replication Deep DivePostgreSQLPG Admin
PG Replica Identity ExplainedPostgreSQLPG AdminPG Development
Pigsty v0.7: Monitor-Only DeploymentsPigsty
A Methodology for Diagnosing PostgreSQL Slow QueriesPostgreSQLPG AdminPerformance
Incident-Report: Patroni Failure Due to Time TravelPostgreSQLPG AdminIncident
Pigsty v0.6: Provisioning UpgradesPigsty
Urban Wandering: Guangzhou ObservationsTravel
Online Primary Key Column Type ChangePostgreSQLPG Admin
New Year Pilgrimage: Yubeng Mountain CircuitTravel
Farewell to GrandfatherEssay
Pigsty v0.5: Declarative DB TemplatesPigsty
Pigsty v0.4: PG13 and Better DocsPigsty
Golden Monitoring Metrics: Errors, Latency, Throughput, SaturationPostgreSQLPG AdminMonitoring
Pigsty v0.3: First Public BetaPigsty
Paradise Found: Wusun Ancient TrailTravel
Database Cluster Management Concepts and Entity Naming ConventionsPostgreSQLPG AdminArchitecture
PostgreSQL's KPIPostgreSQLPG AdminMonitoring
Practical Cryptography Made SimpleEssay
Online PostgreSQL Column Type MigrationPostgreSQLPG AdminMigration
Transaction Isolation Level ConsiderationsPostgreSQLPG Development
Frontend-Backend Communication Wire ProtocolPostgreSQLPG DevelopmentPG Kernel
Incident: PostgreSQL Extension Installation Causes Connection FailurePostgreSQLPG AdminExtensionIncident
CDC Change Data Capture MechanismsPostgreSQLPG Development
Locks in PostgreSQLPostgreSQLPG DevelopmentPG Admin
O(n2) Complexity of GIN SearchPostgreSQLPG Development
City Upon a Hill: California Road TripTravel
PostgreSQL Common Replication Topology PlansPostgreSQLPG AdminArchitecture
Warm Standby: Using pg_receivewalPostgreSQLPG AdminBackup
Is running postgres in docker a good idea?DatabaseContainersArchitecture
The Sorrow of the InternetEssay
Understanding Time - Leap Years, Leap Seconds, Time and Time ZonesPG DevelopmentDatabase
Incident-Report: Connection-Pool Contamination Caused by pg_dumpPostgreSQLPG AdminIncident
New Year ReflectionsEssay
The Internet WinterEssay
Knowledge of China's Administrative DivisionsEssay
PostgreSQL Data Page Corruption RepairPostgreSQLPG AdminIncident
Understanding the InternetEssay
Relation Bloat Monitoring and ManagementPostgreSQLPG Admin
Everest East Face: Gamma Gou TrekkingTravel
TimescaleDB Quick StartPostgreSQLPG AdminExtension
Getting Started with PipelineDBPostgreSQLPG AdminExtension
Incident-Report: PostgreSQL Transaction ID WraparoundPostgreSQLPG AdminIncident
Incident-Report: Integer Overflow from Rapid Sequence Number ConsumptionPostgreSQLPG AdminIncident
Several Levels of Learning KnowledgeEssay
PostgreSQL Trigger Usage ConsiderationsPostgreSQLPG Development
GeoIP Geographic Reverse Lookup OptimizationPostgreSQLPG DevelopmentExtensionGIS
Understanding Character Encoding PrinciplesPG DevelopmentDatabase
Understanding Character EncodingEssay
PostgreSQL Development Convention (2018 Edition)PostgreSQLPG DevelopmentSoftware Engineering
Concurrency Anomalies ExplainedDatabaseTransactionsPG Kernel
What Are PostgreSQL's Advantages?PostgreSQLPG Ecosystem
Blockchain and Distributed DatabasesDatabaseDistributed Systems
KNN Ultimate Optimization: From RDS to PostGISPostgreSQLPG DevelopmentMachine LearningGIS
Efficient Administrative Region Lookup with PostGISPostgreSQLPG DevelopmentGIS
Monitoring Table Size in PostgreSQLPostgreSQLPG AdminMonitoring
Consistency: An Overloaded TermDatabaseDistributed SystemsTransactions
Why Study Database PrinciplesDatabaseCareer
PgAdmin Installation and ConfigurationPostgreSQLPG AdminTools
Incident-Report: Uneven Load AvalanchePostgreSQLPG AdminIncident
Implementing Mutual Exclusion Constraints with ExcludePostgreSQLPG Development
Function Volatility Classification LevelsPostgreSQLPG Development
Distinct On: Remove Duplicate DataPostgreSQLPG Development
PostgreSQL Routine MaintenancePostgreSQLPG Admin
Backup and Recovery Methods OverviewPostgreSQLPG AdminBackup
Pgbouncer Quick StartPostgreSQLPG Admin
PgBackRest2 DocumentationPostgreSQLPG AdminBackup
Changing Engines Mid-Flight — PostgreSQL Zero-Downtime Data MigrationPostgreSQLPG AdminMigration
Using sysbench to Test PostgreSQL PerformancePostgreSQLPG AdminPerformance
Testing Disk Performance with FIOPostgreSQLPG AdminPerformance
PostgreSQL Server Log Regular ConfigurationPostgreSQLPG AdminMonitoring
Finding Unused IndexesPostgreSQLPG Admin
Batch Configure SSH Passwordless LoginPostgreSQLPG Admin
Wireshark Packet Capture Protocol AnalysisPostgreSQLPG AdminTools
The Versatile file_fdw — Reading System Information from Your DatabasePostgreSQLPG AdminExtension
Shangri-La: Luoke Line Trekking JournalTravel
Installing PostGIS from SourcePostgreSQLPG AdminExtension
Common Linux Statistics CLI ToolsPostgreSQLPG AdminTools
Go Database Tutorial: database/sqlPostgreSQLSoftware Engineering
Implementing Cache Synchronization with Go and PostgreSQLPostgreSQLPG Development
Auditing Data Changes with TriggersPostgreSQLPG Development
Basic Principles of Neural NetworksAI
Statistics Fundamentals: Descriptive StatisticsAI
Inferential Statistics: The Past and Present of p-valuesAI
Building an ItemCF Recommender in Pure SQLPostgreSQLPG DevelopmentMachine Learning
Basic Concepts of Probability TheoryAI
Starting from /0: Understanding Errors and ExceptionsEssay
UUID Properties, Principles and ApplicationsPostgreSQLPG DevelopmentArchitecture
Tag Classification TheoryEssay
Switzerland of Northern Xinjiang: Kanas TrekkingTravel
Overview of Sorting AlgorithmsEssay
PostgreSQL MongoFDW Installation and DeploymentPostgreSQLPG AdminExtension
Fundamentals of Information Theory: EntropyAI
Baiji 1509 Training ReflectionsEssay
2014 Year-End SummaryEssay
On Computational ThinkingEssay
In Praise of MathematicsEssay
Humans, Society, and Neural NetworksAI
2013 Year-End SummaryEssay
Computer Networks and Logistics SystemsEssay
Worldview, Values, and Life PhilosophyEssay
On the Hierarchy of KnowledgeEssay
Thinking Characteristics of Eastern and Western PeopleEssay
What Exactly Are Natural Numbers?Essay
Fundamental Concepts of Linear AlgebraAI
Views on LoveEssay

Several Levels of Learning Knowledge

Ruohang Feng 2835 words 6 min

Through observation and contemplation, we can divide the process of deepening understanding in the mind from accepting knowledge to the highest level of "intuition" into four stages: knowledge, …

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.

  • Relation Bloat Monitoring and Management

    By Ruohang Feng In PGSQL 3167 words 15 min

    Ruohang FengPostgreSQLPG Admin

    Featured Image for Relation Bloat Monitoring and Management

    Author: Vonng (@Vonng) PostgreSQL uses MVCC as its primary concurrency control technology. While it has many benefits, it also brings other effects, such as relation bloat. Relation bloat (table and index) negatively impacts database performance and …

    Author: Vonng (@Vonng) PostgreSQL uses MVCC as its primary concurrency control technology. While it has many benefits, it also brings other effects, such as relation bloat. Relation bloat (table and index) negatively impacts database performance and …

  • Everest East Face: Gamma Gou Trekking

    By Ruohang Feng In Trips 2029 words 10 min

    Ruohang FengTravel

    Featured Image for Everest East Face: Gamma Gou Trekking

    This year’s National Day holiday was perfect - taking six days off could connect Mid-Autumn Festival with National Day for a 16-day consecutive break. I’ve visited most of China’s provinces, but Tibet remained unexplored. Seeing a Gamma Gou/Everest …

    This year’s National Day holiday was perfect - taking six days off could connect Mid-Autumn Festival with National Day for a 16-day consecutive break. I’ve visited most of China’s provinces, but Tibet remained unexplored. Seeing a Gamma Gou/Everest …

  • TimescaleDB Quick Start

    By Ruohang Feng In PGSQL 3993 words 19 min

    Ruohang FengPostgreSQLPG AdminExtension

    Featured Image for TimescaleDB Quick Start

    Official website: https://www.timescale.com Official documentation: https://docs.timescale.com/v0.9/main Github: https://github.com/timescale/timescaledb Why Use TimescaleDB What is Time-Series Data? We keep talking about what “time-series data” is, …

    Official website: https://www.timescale.com Official documentation: https://docs.timescale.com/v0.9/main Github: https://github.com/timescale/timescaledb Why Use TimescaleDB What is Time-Series Data? We keep talking about what “time-series data” is, …

  • Getting Started with PipelineDB

    By Ruohang Feng In PGSQL 207 words 1 min

    Ruohang FengPostgreSQLPG AdminExtension

    Featured Image for Getting Started with PipelineDB

    PipelineDB extends PostgreSQL with streaming primitives—continuous views over unbounded input. Although the upstream project was discontinued, the concepts remain useful. Install & configure PipelineDB ships as an extension. Install the RPM/DEB, then …

    PipelineDB extends PostgreSQL with streaming primitives—continuous views over unbounded input. Although the upstream project was discontinued, the concepts remain useful. Install & configure PipelineDB ships as an extension. Install the RPM/DEB, then …

  • Incident-Report: PostgreSQL Transaction ID Wraparound

    By Ruohang Feng In PGSQL 956 words 5 min

    Ruohang FengPostgreSQLPG AdminIncident

    Featured Image for Incident-Report: PostgreSQL Transaction ID Wraparound

    Encountered a transaction wraparound failure caused by disk bad blocks: Primary database (PostgreSQL 9.3) disk bad blocks caused VACUUM FREEZE execution failure on several tables. Unable to reclaim old transaction IDs, causing database transaction …

    Encountered a transaction wraparound failure caused by disk bad blocks: Primary database (PostgreSQL 9.3) disk bad blocks caused VACUUM FREEZE execution failure on several tables. Unable to reclaim old transaction IDs, causing database transaction …

  • Incident-Report: Integer Overflow from Rapid Sequence Number Consumption

    By Ruohang Feng In PGSQL 645 words 4 min

    Ruohang FengPostgreSQLPG AdminIncident

    Featured Image for Incident-Report: Integer Overflow from Rapid Sequence Number Consumption

    0x01 Overview Incident symptoms: A table using auto-increment columns had sequence numbers reach the integer limit, preventing writes. Discovered large gaps in auto-increment columns, with many sequence numbers consumed without corresponding records. …

    0x01 Overview Incident symptoms: A table using auto-increment columns had sequence numbers reach the integer limit, preventing writes. Discovered large gaps in auto-increment columns, with many sequence numbers consumed without corresponding records. …

  • Several Levels of Learning Knowledge

    By Ruohang Feng In Miscs 2835 words 6 min

    Ruohang FengEssay

    Featured Image for Several Levels of Learning Knowledge

    Original WeChat Article Levels of Knowledge When we say “learning knowledge,” what exactly are we talking about? When we say someone is “smart,” what exactly do we mean? Through observation and contemplation, we can divide the process of deepening …

    Original WeChat Article Levels of Knowledge When we say “learning knowledge,” what exactly are we talking about? When we say someone is “smart,” what exactly do we mean? Through observation and contemplation, we can divide the process of deepening …

  • PostgreSQL Trigger Usage Considerations

    By Ruohang Feng In PGSQL 1053 words 5 min

    Ruohang FengPostgreSQLPG Development

    Featured Image for PostgreSQL Trigger Usage Considerations

    Overview Trigger behavior overview Trigger classification Trigger functionality Trigger types Trigger firing Trigger creation Trigger modification Trigger queries Trigger performance Trigger Overview Trigger behavior overview: English, Chinese …

    Overview Trigger behavior overview Trigger classification Trigger functionality Trigger types Trigger firing Trigger creation Trigger modification Trigger queries Trigger performance Trigger Overview Trigger behavior overview: English, Chinese …

  • GeoIP Geographic Reverse Lookup Optimization

    By Ruohang Feng In PGSQL 1545 words 8 min

    Ruohang FengPostgreSQLPG DevelopmentExtensionGIS

    Featured Image for GeoIP Geographic Reverse Lookup Optimization

    Efficient implementation of IP geolocation lookups In application development, a ‘very common’ requirement is GeoIP conversion - converting source IP addresses from requests into corresponding geographic coordinates or administrative divisions …

    Efficient implementation of IP geolocation lookups In application development, a ‘very common’ requirement is GeoIP conversion - converting source IP addresses from requests into corresponding geographic coordinates or administrative divisions …

  • 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 …

  • Understanding Character Encoding

    By Ruohang Feng In Miscs 869 words 2 min

    Ruohang FengEssay

    Featured Image for Understanding Character Encoding

    WeChat original Programmers spend their lives with code—both source code and encodings. Representing text with bits is harder than it looks: character sets, comparators, normalization, locale rules, variable-length encodings, BOMs, surrogate pairs, …

    WeChat original Programmers spend their lives with code—both source code and encodings. Representing text with bits is harder than it looks: character sets, comparators, normalization, locale rules, variable-length encodings, BOMs, surrogate pairs, …

  • PostgreSQL Development Convention (2018 Edition)

    By Ruohang Feng In PGSQL 3431 words 17 min

    Ruohang FengPostgreSQLPG DevelopmentSoftware Engineering

    Featured Image for PostgreSQL Development Convention (2018 Edition)

    0x00 Background Without rules, there can be no order. PostgreSQL is extremely powerful, but to use PostgreSQL well requires coordinated effort from backend developers, operations teams, and DBAs. This article compiles a development specification …

    0x00 Background Without rules, there can be no order. PostgreSQL is extremely powerful, but to use PostgreSQL well requires coordinated effort from backend developers, operations teams, and DBAs. This article compiles a development specification …

  • 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 …

  • What Are PostgreSQL's Advantages?

    By Ruohang Feng In PGSQL 2148 words 11 min

    Ruohang FengPostgreSQLPG Ecosystem

    Featured Image for What Are PostgreSQL's Advantages?

    PostgreSQL’s slogan is “The world’s most advanced open source relational database”, but I think this slogan isn’t catchy enough, and it looks like it’s targeting MySQL’s “The world’s most popular open source relational database” slogan, which seems …

    PostgreSQL’s slogan is “The world’s most advanced open source relational database”, but I think this slogan isn’t catchy enough, and it looks like it’s targeting MySQL’s “The world’s most popular open source relational database” slogan, which seems …

  • 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 …

  • KNN Ultimate Optimization: From RDS to PostGIS

    By Ruohang Feng In PGSQL 4090 words 20 min

    Ruohang FengPostgreSQLPG DevelopmentMachine LearningGIS

    Featured Image for KNN Ultimate Optimization: From RDS to PostGIS

    Flexibly applying database functionality can easily achieve a 30,000-fold performance improvement in GIS selection scenarios. Level Method Performance/Time(ms) Maintainability/Reliability Notes 1 Brute Force 30,000 - Simple form 2 Coordinate Index 35 …

    Flexibly applying database functionality can easily achieve a 30,000-fold performance improvement in GIS selection scenarios. Level Method Performance/Time(ms) Maintainability/Reliability Notes 1 Brute Force 30,000 - Simple form 2 Coordinate Index 35 …

  • Efficient Administrative Region Lookup with PostGIS

    By Ruohang Feng In PGSQL 2166 words 11 min

    Ruohang FengPostgreSQLPG DevelopmentGIS

    Featured Image for Efficient Administrative Region Lookup with PostGIS

    Author: Vonng (@Vonng) Original WeChat article In application development, we often need to solve this problem: determining administrative regions based on user coordinates. We collect coordinates like 28°00'00"N 100°00'00.000"E, but what we …

    Author: Vonng (@Vonng) Original WeChat article In application development, we often need to solve this problem: determining administrative regions based on user coordinates. We collect coordinates like 28°00'00"N 100°00'00.000"E, but what we …

  • Monitoring Table Size in PostgreSQL

    By Ruohang Feng In PGSQL 903 words 5 min

    Ruohang FengPostgreSQLPG AdminMonitoring

    Featured Image for Monitoring Table Size in PostgreSQL

    Table Space Layout In the broad sense, a Table includes two parts: the main table and TOAST table: Main table: stores the relation’s own data, i.e., the narrow sense relation, relkind='r'. TOAST table: corresponds one-to-one with the main table, …

    Table Space Layout In the broad sense, a Table includes two parts: the main table and TOAST table: Main table: stores the relation’s own data, i.e., the narrow sense relation, relkind='r'. TOAST table: corresponds one-to-one with the main table, …

  • 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 …

  • PgAdmin Installation and Configuration

    By Ruohang Feng In PGSQL 216 words 2 min

    Ruohang FengPostgreSQLPG AdminTools

    Featured Image for PgAdmin Installation and Configuration

    PgAdmin4 Installation and Configuration PgAdmin is a GUI designed specifically for PostgreSQL. It works very well. It can run as either a local GUI program or a web service. Since PgAdmin’s GUI components have display issues on Retina screens, this …

    PgAdmin4 Installation and Configuration PgAdmin is a GUI designed specifically for PostgreSQL. It works very well. It can run as either a local GUI program or a web service. Since PgAdmin’s GUI components have display issues on Retina screens, this …

  • Incident-Report: Uneven Load Avalanche

    By Ruohang Feng In PGSQL 1318 words 7 min

    Ruohang FengPostgreSQLPG AdminIncident

    Featured Image for Incident-Report: Uneven Load Avalanche

    Author: Vonng (@Vonng) Recently there was a perplexing incident where a database had half its data volume and load migrated away. Everything else remained unchanged, and it was fine before. The pressure decreased, yet it fell into a near-death state …

    Author: Vonng (@Vonng) Recently there was a perplexing incident where a database had half its data volume and load migrated away. Everything else remained unchanged, and it was fine before. The pressure decreased, yet it fell into a near-death state …

  • Implementing Mutual Exclusion Constraints with Exclude

    By Ruohang Feng In PGSQL 851 words 5 min

    Ruohang FengPostgreSQLPG Development

    Featured Image for Implementing Mutual Exclusion Constraints with Exclude

    Exclude constraint is a PostgreSQL extension that can implement more advanced and sophisticated database constraints. Introduction Data integrity is extremely important, but data integrity guaranteed by applications isn’t always reliable: humans make …

    Exclude constraint is a PostgreSQL extension that can implement more advanced and sophisticated database constraints. Introduction Data integrity is extremely important, but data integrity guaranteed by applications isn’t always reliable: humans make …

  • Function Volatility Classification Levels

    By Ruohang Feng In PGSQL 638 words 4 min

    Ruohang FengPostgreSQLPG Development

    Featured Image for Function Volatility Classification Levels

    PostgreSQL functions have three volatility levels by default. Proper use can significantly improve performance. Core Differences VOLATILE: Has side effects, cannot be optimized. STABLE: Executes database queries. IMMUTABLE: Pure function, execution …

    PostgreSQL functions have three volatility levels by default. Proper use can significantly improve performance. Core Differences VOLATILE: Has side effects, cannot be optimized. STABLE: Executes database queries. IMMUTABLE: Pure function, execution …