OceanBase
English日本語简体中文
ドキュメントホーム
製品
エコシステム
リリース

データベース

OceanBase CloudOceanBaseデータベース

データベース

OceanBase CloudOceanBaseデータベース
OceanBase CloudOceanBaseデータベース

OceanBaseデータベース

KV - V4.4.2
  • OBKVの概要
  • OBKVのアーキテクチャ
  • OBKV-Table
    • OBKV-Table概要
      • OBKV-Tableの概要
      • OBKV-Tableのコア機能
      • OBKV-Tableデプロイの概要
    • シンプルなKey-Valueストレージのクイックスタート(Java)
    • OBKV-Table Javaクライアントを使ったアプリケーション開発
      • OBKV-Table Java開発ガイド
      • OBKV-Table開発の準備
      • OBKV-Table Javaクライアントを使用してクラスタに接続する
      • OBKV-Table操作例
        • OBKV-Tableへのデータ書き込み
        • OBKV-Tableによるデータのクエリ
        • OBKV-Tableでのデータ更新
        • OBKV-Tableによるデータの削除
      • OBKV-Table Javaクライアントのパラメータ設定
    • OBKV-Table管理
      • OBKV-Table管理の概要
      • OBKV-Tableの高可用性
      • OBKV-Tableのセキュリティ権限
      • OBKV-Tableモニタリングメトリクス
    • OBKV-Tableリファレンス
      • OBKV-Tableのデータモデル
      • OBKV-Tableの操作タイプ
      • OBKV-Tableがサポートするデータ型
      • OBKV-Table全文インデックス
      • OBKV-Tableのグローバルインデックスの使用範囲と例
      • OBKV-Tableの期限切れデータ削除
      • OBKV-Tableのグループコミット
      • OBKV-Tableの弱い整合性読み取りと最寄りデータセンターからの読み取り
      • OBKV-Table関連ビュー
    • OBKV-Table よくある質問
  • OBKV-HBase
    • OBKV-HBaseの概要
    • OBKV-HBaseのコア機能
    • OBKV-HBaseのデプロイ
    • OBKV-HBaseによるアプリケーション開発
      • OBKV-HBase アプリケーション開発の概要
      • OBKV-HBase Javaクライアントを使用したクラスタへの接続
      • HBaseの業務コードをOBKV-HBaseに移行する
      • OBKV-HBase データ操作の例
    • OBKV-HBase 移行ガイド
    • OBKV-HBase管理
      • OBKV-HBase管理の概要
      • OBKV-HBaseの高可用性
      • OBKV-HBaseのセキュリティ権限
      • OBKV-HBaseモニタリングメトリクス
    • OBKV-HBaseクエリの最適化
    • OBKV-HBaseの性能テスト
    • OBKV-HBaseリファレンス
      • OBKV-HBaseデータモデル
      • OBKV-HBaseのデータスキーマ
      • HBaseとの互換インターフェース
      • HBaseと互換性のあるフィルター
      • OBKV-HBaseの自動パーティション分割
      • OBKV-HBaseにおける期限切れデータの削除
      • OBKV-HBaseの弱い整合性読み取りと最寄りデータセンターからの読み取り
      • OBKV-HBase関連ビュー
    • OBKV-HBaseエコシステム統合
      • Flink連携
        • Flinkコネクタを使用してOBKV-HBaseにデータを同期する
        • ネイティブFlinkによるOBKV-HBaseへのアクセス
      • HiveによるOBKV-HBaseへのアクセス
      • SparkによるOBKV-HBaseへのアクセス
  • OBKVリリースノート
    • OBKV Enterprise版

PDF をダウンロード

このページには現在中国語/日本語版がなく、英語版を表示しています。
ドキュメントフィードバック
  1. ドキュメントセンター
  2. OceanBaseデータベース
  3. KV
  4. V4.4.2

Monitoring metrics

最終更新:2026-09-04 10:25:15

HBase monitoring metrics
Use SQL Audit to identify slow HBase requests

HBase monitoring metrics

You can execute the following statement to query the monitoring metrics of OBKV-HBase:

MySQL [oceanbase]> select distinct class,stat_id,name, value_type from gv$sysstat where name like "hbase%";

The return result is as follows:

MySQL [oceanbase]> select distinct class,stat_id,name, value_type from gv$sysstat where name like "hbase%";
+-------+---------+------------------------------+------------+
 class  stat_id | name                         | value_type |
+-------+---------+------------------------------+------------+
|  4096 |  191001 | hbase scan count             | ADD_VALUE  |
|  4096 |  191002 | hbase scan time              | ADD_VALUE  |
|  4096 |  191003 | hbase scan row count         | ADD_VALUE  |
|  4096 |  191004 | hbase put count              | ADD_VALUE  |
|  4096 |  191005 | hbase put time               | ADD_VALUE  |
|  4096 |  191006 | hbase put row count          | ADD_VALUE  |
|  4096 |  191007 | hbase delete count           | ADD_VALUE  |
|  4096 |  191008 | hbase delete time            | ADD_VALUE  |
|  4096 |  191009 | hbase delete row count       | ADD_VALUE  |
|  4096 |  191010 | hbase append count           | ADD_VALUE  |
|  4096 |  191011 | hbase append time            | ADD_VALUE  |
|  4096 |  191012 | hbase append row count       | ADD_VALUE  |
|  4096 |  191013 | hbase increment count        | ADD_VALUE  |
|  4096 |  191014 | hbase increment time         | ADD_VALUE  |
|  4096 |  191015 | hbase increment row count    | ADD_VALUE  |
|  4096 |  191016 | hbase check_put count        | ADD_VALUE  |
|  4096 |  191017 | hbase check_put time         | ADD_VALUE  |
|  4096 |  191018 | hbase check_put row count    | ADD_VALUE  |
|  4096 |  191019 | hbase check_delete count     | ADD_VALUE  |
|  4096 |  191020 | hbase check_delete time      | ADD_VALUE  |
|  4096 |  191021 | hbase check_delete row count | ADD_VALUE  |
|  4096 |  191022 | hbase hybrid count           | ADD_VALUE  |
|  4096 |  191023 | hbase hybrid time            | ADD_VALUE  |
|  4096 |  191024 | hbase hybrid row count       | ADD_VALUE  |
+-------+---------+------------------------------+------------+

The following table describes the parameters.

Parameter
Description
hbase scan count The number of scan operations.
hbase scan time The total amount of time spent on executing scan operations.
hbase scan row count The number of cells affected by scan operations.
hbase put count The number of put operations.
hbase put time The total amount of time spent on executing put operations.
hbase put row count The number of cells affected by put operations.
hbase delete count The number of delete operations.
hbase delete time The total amount of time spent on executing delete operations.
hbase delete row count The number of cells affected by delete operations.
hbase append count The number of append operations.
hbase append time The total amount of time spent on executing append operations.
hbase append row count The number of cells affected by append operations.
hbase increment count The number of increment operations.
hbase increment time The total amount of time spent on executing increment operations.
hbase increment row count The number of cells affected by increment operations.
hbase check_put count The number of checkAndPut operations.
hbase check_put time The total amount of time spent on executing checkAndPut operations.
hbase check_put row count The number of cells affected by checkAndPut operations.
hbase check_delete count The number of checkAndDelete operations.
hbase check_delete time The total amount of time spent on executing checkAndDelete operations.
hbase check_delete row count The number of cells affected by checkAndDelete operations.

Use SQL Audit to identify slow HBase requests

SQL Audit is an important diagnostics tool in OceanBase Database. It records diagnostics information about each request, such as the cache hit rate, number of scanned rows in the MemTable/SSTable, and execution time. Based on the information, you can easily identify the bottleneck in a slow request. OBKV-HBase supports SQL Audit. You can execute the following statement to query diagnostics records related to OBKV-HBase:

MySQL [oceanbase]> select * from v$OB_SQL_AUDIT where query_sql like "table api: hbase%" \G;

The return result is as follows:

*************************** 1. row ***************************
                         SVR_IP: 11.162.218.239
                       SVR_PORT: 54302
                     REQUEST_ID: 13841
                    SQL_EXEC_ID: 0
                       TRACE_ID: Y1EB2D1EB6D984-0000000000000002-0-0
                            SID: 0
                      CLIENT_IP: 30.182.217.132
                    CLIENT_PORT: 60205
                      TENANT_ID: 1
                    TENANT_NAME: sys
            EFFECTIVE_TENANT_ID: 1
                        USER_ID: 200001
                      USER_NAME: root
                     USER_GROUP: 0
                 USER_CLIENT_IP: 30.182.217.132
                          DB_ID: 500001
                        DB_NAME: test
                         SQL_ID: TABLEAPI0x1103vv00000000CB87E8C9
                      QUERY_SQL: table api: hbase_put,
request: {credential:0193808080000101C19A0CA1C21E00FABAF9E6C0B589AEDB01, table_name:"htable1$family", table_id:500014, tablet_id:{id:200055}, entity_type:2, batch_operation:{is_readonly:false, is_same_type:true, is_same_properties_names:true, operatiton_count:1, table_operations:[{operation_type:4, entity:"{rowkey_names:[]rowkey:[{"VARCHAR":"testKey0", collation:"utf8mb4_general_ci", coercibility:"EXPLICIT"}, {"VARCHAR":"column", collation:"utf8mb4_general_ci", coercibility:"EXPLICIT"}, {"BIGINT":-9223372036854775807}], properties:{V:{"VARCHAR":"putValue", collation:"utf8mb4_general_ci", coercibility:"EXPLICIT"}}}"}]}, consistency_level:0, option_flag:0, returning_affected_entity:false, returning_affected_rows:true, batch_operation_as_atomic:false}   

次のトピック

OBKVの概要
次へ
このページの内容
HBase monitoring metrics
Use SQL Audit to identify slow HBase requests