Some policies make perfect sense to an end user but are frustrating for the people who build and run the system. Resource utilization is one of them: if a system is too idle, it is "wasted hardware"; if it is too busy, it is "poor performance or bad sizing". This is the story of a performance incident on GBase 8a, the China-domestically developed MPP analytical database from GBASE, caused by exactly that kind of rule.
The Symptom
On February 18, the site reported that a key business workload had failed to finish on time in more than 50% of cases over the previous two days.
Investigation
Current Query Duration
show processlist on the coordinator nodes showed dozens of business SQL statements sitting at several hundred seconds, including LOAD tasks, with the longest insert select reaching 10,000 seconds. On the compute nodes, some SQL was stuck in the flush commit phase.
Normal runtime is under 60 seconds, and most queries finish in under 10 seconds.
Resource Usage on the Slow Nodes
iostat on the compute nodes with the longest-running SQL showed the disk at a sustained 100% utilization. Other compute nodes had brief idle periods or ran at 50–80%, never pinned at 100% continuously.
Historical Resource Usage
sar logs showed that before February 11, the disk saw short bursts of 10–50% utilization with close to 30% idle time. Over the following days both the intensity and the duration climbed, until February 16 brought continuous saturation.
SWAP told the same story: 32 GB was fully consumed, on a machine with 300 GB+ of physical memory.
Disk Usage on the Slow Node
iotop confirmed that the largest disk throughput on the node did come from the gbased process, at tens to hundreds of MB/s, while every other process was tiny, down at the KB/s level.
SWAP Usage on the Slow Node
Checking per-process SWAP with top gave the real answer: gbased was using only a few hundred MB, while a process XXX that did not belong to the database was holding 30 GB of SWAP and 180 GB of physical memory at the same time.
Analysis
The customer confirmed what XXX was: a background process deployed on every database node with exactly one purpose — keeping the system busy so it would never sit idle for long, including CPU, memory, and disk usage that could not stay consistently low.
These servers were connected to a cloud management platform. Low utilization implied insufficient load, a badly sized hardware estimate, and wasted resources — something the team would be held accountable for. To avoid that, they deployed the background process to consume resources on purpose.
The Fix
After stopping the background process, performance returned to normal.
Going forward, keep in mind that a pure cloud environment can resize resources dynamically, but on local physical machines the load differs greatly across time — weekly and monthly tables are one example, and even a single day has quiet and busy hours. Enforcing a flat utilization target is what produced this workaround, and with it the incident. When a gbase cluster slows down, identifying who is actually consuming the resources is often faster than tuning database parameters in circles.