This topic describes the monitoring metric request queue time within an OceanBase Database tenant. You can specify a statistical period to query statistics about the request queue time in a single zone or on a single OBServer of an OceanBase Database tenant.
Request queue time
Definition
The average time that an SQL statement waits in the waiting queue in the specified statistical period.
Description
| Metric | Metric field name | Unit |
|---|---|---|
| - | request_queue_time | Microseconds |
Calculation expression
sum(rate(ob_sysstat{stat_id="20002",@LABELS}[@INTERVAL])) by (@GBLABELS) / sum(rate(ob_sysstat{stat_id="20001",@LABELS}[@INTERVAL])) by (@GBLABELS)