GBase 8a is an MPP analytical database from Chinese vendor GBASE, and some queries move large volumes of data between nodes. If the nic's rx and tx ring settings are too small, packets get dropped and identical SQL suddenly takes much longer. Here is the symptom, the diagnosis, and the fix from a real gbase cluster.
The Symptom
The same business SQL shows occasional cliff-edge slowdowns: normally 10 seconds , sometimes 100 seconds or even over 200 seconds . When it happens, the whole batch of queries is affected, and in most cases the issue eases and recovers on its own.
Investigation
Find the Node Causing the Slowdown
By the weakest-link principle, it is usually one node (sometimes several) dragging down the whole cluster. Locate it by checking which nodes the slow SQL lands on:
select NODE_NAME , ID , user , host , command , start_time , time , state , substring ( info , 0 , 100 ) info from information_schema .…