Menu

When a Small NIC Ring Buffer Causes Random Slow Queries in GBase 8a
📰

When a Small NIC Ring Buffer Causes Random Slow Queries in GBase 8a

DEV Community: database·Michael·11 days ago
#7jVwN6mi
#devtodatabase#devto#dev#dropped#ring
Long article (637 words) — no AI summary yet.
Reading 0:00
15s threshold

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 .…

Continue reading — create a free account

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