Menu

Post image 1
Post image 2
Post image 3
1 / 3
0

GBase 8c Performance Tuning: From Statistics to Execution Plan Optimization

DEV Community·Michael·about 1 month ago
#ncgSrNuW
Reading 0:00
15s threshold

As data volumes and concurrent access grow, database performance becomes critical to system stability. Drawing from official technical manuals, this article distills core performance optimization techniques for GBASE's GBase 8c, the China‑domestically developed distributed database, covering statistics updates, execution plan intervention, SQL rewriting, and key parameter configuration. The Foundation: Understanding Execution Plan Generation GBase 8c is a cost‑based distributed database. Its optimizer acts like a precise navigation system, choosing what it considers the optimal execution path (execution plan) for every SQL statement. This decision relies heavily on "map data"—statistics. The optimizer estimates row counts and costs based on statistics gathered by the ANALYZE command (stored in pg_class and pg_statistic system tables). Outdated statistics are like using an old map—they can easily mislead the optimizer into generating poor execution plans.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More