このセクションでは、OceanBaseクラスタのパフォーマンス指標である 物理I/Oスループット について説明します。統計範囲を指定することで、単一ゾーンまたはOBServerノードにおけるOceanBaseクラスタの 物理I/Oスループット を照会できます。
ssstore_read
指標の概要
統計範囲内で、クラスタがSSStoreから毎秒読み取るデータ量です。
指標パラメータの説明
メトリクス項目 |
指標名 |
単位 |
|---|---|---|
| ssstore_read | io_read_size | Byte |
計算式
sum(rate(ob_sysstat{stat_id="60002",@LABELS}[@INTERVAL])) by (@GBLABELS)
SQL収集
OceanBase V4.0 より前のバージョン:
select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ con_id tenant_id, stat_id, value from v$sysstat where stat_id IN (60002) and (con_id > 1000 or con_id = 1) and class < 1000OceanBase V4.0 以降のバージョン:
select /* MONITOR_AGENT */ con_id tenant_id, stat_id, value from v$sysstat where stat_id IN (60002) and (con_id > 1000 or con_id = 1) and class < 1000
ssstore_write
指標の概要
統計範囲内で、クラスタがSSStoreに毎秒書き込むデータ量です。
指標パラメータの説明
メトリクス項目 |
指標名 |
単位 |
|---|---|---|
| ssstore_write | io_write_size | MiB |
計算式
sum(rate(ob_sysstat{stat_id="60005",@LABELS}[@INTERVAL])) by (@GBLABELS)
SQL収集
OceanBase V4.0 より前のバージョン:
select /*+ MONITOR_AGENT READ_CONSISTENCY(WEAK) */ con_id tenant_id, stat_id, value from v$sysstat where stat_id IN (60005) and (con_id > 1000 or con_id = 1) and class < 1000OceanBase V4.0 以降のバージョン:
select /* MONITOR_AGENT */ con_id tenant_id, stat_id, value from v$sysstat where stat_id IN (60005) and (con_id > 1000 or con_id = 1) and class < 1000
clog_read
指標の紹介
統計範囲内で、クラスタが1秒間にclogから読み取るデータ量を示します。
指標パラメータの説明
メトリクス項目 |
指標名 |
単位 |
|---|---|---|
| clog_read | clog_io_read_size | Byte |
計算式
sum(rate(ob_sysstat{stat_id="80008",@LABELS}[@INTERVAL])) by (@GBLABELS)
SQL収集
OceanBase V4.0 以降のバージョンのみサポート:
select /* MONITOR_AGENT */ con_id tenant_id, stat_id, value from v$sysstat where stat_id IN (80008) and class < 1000
clog_write
指標の紹介
統計範囲内で、クラスタが1秒間にclogに書き込むデータ量を示します。
指標パラメータの説明
メトリクス項目 |
指標名 |
単位 |
|---|---|---|
| clog_write | clog_io_write_size | MiB |
計算式
sum(rate(ob_sysstat{stat_id="80002",@LABELS}[@INTERVAL])) by (@GBLABELS)
SQL収集
OceanBase V4.0 以降のバージョンのみサポート:
select /* MONITOR_AGENT */ con_id tenant_id, stat_id, value from v$sysstat where stat_id IN (80002) and (con_id > 1000 or con_id = 1) and class < 1000