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.