Skip to content

Stay curious. Build better.

Appearance

Choose how BestHub looks on this device.

Changes apply immediately.

Search articles

Open Discover with these filters

Suggested searches

Latest articles

11 min read

How Outdated Stats on Large Partitioned Tables Break Query Plans in GaussDB

This article explains how GaussDB's auto-statistics collection thresholds fail to update global stats for large partitioned tables when new partitions receive insufficient data changes, causing the optimizer to choose nested-loop joins over hash joins and full scans over index scans, and outlines four mitigation strategies including adaptive thresholds and manual collection.

14 min read

MySQL vs openGauss: Why Failed Transactions Block DDL in One but Not the Other

The article demonstrates how a failed transaction without explicit rollback in MySQL holds metadata locks, blocking subsequent DDL operations like partition additions, while openGauss automatically rolls back aborted transactions and releases locks, preventing such blocking; it provides reproduction steps, lock analysis, and five mitigation recommendations.