Menu

The First Commands to Run When a GBase 8a Cluster Slows Down
πŸ“°

The First Commands to Run When a GBase 8a Cluster Slows Down

DEV Community: databaseΒ·MichaelΒ·12 days ago
#6Ytiha9g
#devtodatabase#devto#dev#time#node
Long article (481 words) β€” no AI summary yet.
Reading 0:00
15s threshold

When a healthy GBase 8a cluster suddenly develops intermittent problems, the hardest part is usually finding where the fault sits. Here are the commands I reach for first. OS commands run in a Linux shell; SQL runs inside the gbase client gccli.

Cluster State

Run gcadmin from the OS and look at node and service states. The values to worry about are CLOSE and OFFLINE .

The Longest-Running SQL at the Coordinator Layer

Focus on the time column . If one query is far beyond its normal duration β€” say 1 minute normally, now 1 hour β€” continue with the steps below.

select COORDINATOR_NAME , ID , user , host , command , start_time , time , state , substring ( info , 0 , 100 ) info from information_schema . COORDINATORS_TASK_INFORMATION where command = 'query' and time >= 0 order by time desc limit 10 ;

Enter fullscreen mode

Exit fullscreen mode

Which Node Is Running the Slowest SQL

Check the time column here too; it usually lines up with the coordinator-layer figure.…

Continue reading β€” create a free account

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