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

データベース

OceanBase CloudOceanBaseデータベース

ツール

OceanBase Cloud PlatformOceanBase移行サービス(OMS)OceanBaseデベロッパーセンターOceanBase Admin Tool

データベース

OceanBase CloudOceanBaseデータベース

ツール

OceanBase Cloud PlatformOceanBase移行サービス(OMS)OceanBaseデベロッパーセンターOceanBase Admin Tool
OceanBase CloudOceanBaseデータベース

OceanBase Cloud Platform

V4.5.1
  • 新機能・更新情報
    • 製品ニュース
  • 製品概要
    • OceanBase Cloud Platform(OCP)とは
    • Enterprise版とCommunity版の機能の違い
    • システムアーキテクチャ
    • 機能
    • 利用上の制限
      • システム要件
      • 依存関係
  • OceanBase Cloud Platformのデプロイ
    • OceanBase Cloud Platform Enterprise版のデプロイ
      • 概要
        • シングルノードデプロイ
        • 高可用性デプロイ
      • デプロイ環境の準備
        • OATのインストール
        • サーバーの追加
        • 環境チェック
      • OCPのデプロイ
        • リソースの計画
          • ホストリソース
          • OCPサービスリソース
          • MetaDBリソース
          • MonitorDBリソース
        • OCPのデプロイ
          • インストールメディアの準備
          • MetaDBの作成
          • OCPのインストール
          • OCPクラスタの登録
          • システムパラメータの初期化
        • デプロイ後の確認
      • デプロイに関するよくある質問
        • MonitorDBパラメータの最適化
        • F5 LTMとアラートの設定
          • OBProxyのF5への接続
          • OCP管理コンソールのF5への接続
          • OCPサービスの健全性監視
        • Ubuntuデプロイに関するよくある質問
        • EulerOSデプロイに関するよくある質問
        • クライアント要件
        • OCPの起動と停止
      • 付録
        • OCPのアンインストール
        • NTPオフセットの確認
    • OceanBase Cloud Platform Community版のデプロイ
      • 概要
      • インストールプロセス
      • インストールの計画
        • ユーザー計画
        • ホスト計画
        • ディスクおよびディレクトリの計画
        • ポート計画
      • インストールの準備
      • グラフィカルインターフェースを使用したOCPのデプロイ
      • コンテナを使用したOCPのデプロイ
      • デプロイ後の確認
      • 付録
        • Dockerのインストール
        • OCPのアンインストール
        • OCPの再起動
        • デプロイに関するよくある質問
  • OceanBase Cloud Platformのアップグレード
    • OceanBase Cloud Platform Enterprise版のアップグレード
      • アップグレードの概要
      • アップグレードに関する注意事項
      • アップグレード前の準備
      • OCPのアップグレード
        • OCPの引き継ぎ
        • OCPのアップグレード
      • アップグレード後の確認
        • クラスタの検証
        • テナントの検証
        • ホストの検証
        • ソフトウェアパッケージの検証
        • OBProxyの検証
        • バックアップ・リストア機能の検証
        • アラートの確認
        • タスクの確認
        • セキュリティと認証情報の確認
      • 付録
        • ユーザーパスワードの変更
        • バージョン対応関係
    • OceanBase Cloud Platform Community版のアップグレード
      • グラフィカルインターフェースを使用したOCPのアップグレード
      • コンテナを使用したOCPのアップグレード
      • アップグレード後の確認
  • クイックスタート
    • OceanBaseクラウドプラットフォームの操作プロセス
    • OceanBaseクラウドプラットフォームへのログイン
    • ソフトウェアパッケージのアップロード
    • ホストの追加
    • クラスタの作成
    • プライマリテナントの作成
    • ユーザーの作成
    • OBProxyクラスタの作成
  • クラスタ管理
    • クラスタ管理
    • クラスタの作成
      • 分散型クラスタの作成
      • 集中型クラスタの作成
      • AIクラスタの作成
    • クラスタの管理
      • スタンバイクラスタの作成
      • クラスタ詳細の表示
      • 分散型クラスタへの拡張
      • クラスタの引き継ぎ
      • クラスタの再起動
      • クラスタの停止
      • クラスタの移出
      • クラスタの削除
      • パスワードの変更
      • クラスタのアービトレーションサービスの管理
        • アービトレーションサービスの追加
        • サービスグループの追加
        • アービトレーションサービスの置換
        • クラスタからのアービトレーションサービスの削除
      • 自動デッドロック検出の有効化
      • デッドロックの自動検出を無効にする
      • 運用保守設定の管理
        • 概要
        • パラメータの管理
        • パラメータ変更履歴の表示
        • OCP Agentリソースの設定
      • CPUバインディング設定の管理
      • テナントレベル情報の表示
      • Licenseのインポート
      • Licenseの表示
    • Zoneの管理
      • Zoneの追加
      • Zoneの編集
      • Zoneの再起動
      • Zoneの停止
      • Zoneの削除
    • OBServerの管理
      • OBServerノードの追加
      • OBServerノードの再起動
      • OBServerノードサービスの停止
      • observerプロセスの停止
      • OBServerノードの置換
      • OBServerノードの再インストール
      • OBServerノードの削除
    • バージョンアップグレード
    • クラスタのトポロジーダイアグラムを表示する
    • クラスタテナント管理の概要を表示する
    • リアルタイム監視の表示
    • クラスタのリソース管理情報の表示
      • ユニット分布の表示
      • リソース使用状況の確認
    • クラスタのメジャーコンパクションの管理
      • クラスタのメジャーコンパクション設定を変更する
      • メジャーコンパクションの実行
      • メジャーコンパクションの詳細を表示する
      • メジャーコンパクション統計の表示
      • メジャーコンパクションレコードの表示
    • セキュリティ設定の管理
      • SSLリンク暗号化の管理
      • TDEの管理
    • SQL Auditの管理
    • クラスタパラメータの管理
      • クラスタパラメータタイプの説明
      • パラメータ一覧の表示
      • パラメータの変更
      • パラメータ変更履歴の表示
    • アービトレーションサービスの管理
      • アービトレーションサービスの概要
      • アービトレーションサービスの新規作成
      • アービトレーションサービスの引き継ぎ
      • アービトレーションサービスの停止
      • アービトレーションサービスの起動
      • アービトレーションサービスのアップグレード
      • アービトレーションサービスの再起動
      • アービトレーションサービスの移出
      • アービトレーションサービスの置換
      • 新規クラスタの関連付け
      • アービトレーションサービスの関連付けの解除
      • アービトレーションサービスの削除
    • アービトレーションサービスグループの管理
      • サービスグループの概要
      • サービスグループの新規作成
      • サービスグループのアップグレード
      • サービスグループの編集
      • サービスグループの削除
    • クラスタパラメータテンプレートの管理
  • テナント管理
    • テナントとリソース管理
    • テナント概要の表示
    • プライマリテナントの作成
    • テナントの管理
      • テナント詳細ページの概要
      • スタンバイテナントの作成
      • テナントのコピー
      • 名前の変更
      • テナントのロック
      • テナントのクローン
      • テナントの削除
      • sysテナントのパスワードを変更する
      • 同期設定の変更
      • 非対称ゾーンの有効化
      • テナントのエンドツーエンド・トレースの設定
      • テナントパラメータの管理
      • プライマリ/スタンバイ保護モードの変更
      • テナントの許可リストを変更する
      • ゾーン優先順位の変更
      • テナントのBinlogサービスの管理
      • サービス名の管理
    • トポロジー図の管理
      • テナントのトポロジー図を表示する
      • テナント関係のトポロジーダイアグラムを表示する
    • レプリカの管理
      • レプリカの追加
      • レプリカの変更
      • レプリカの削除
      • Unitの削除
    • データベースの管理
    • テナントのユーザーと権限の管理
      • MySQLテナントユーザーの管理
      • Oracleテナントユーザーの管理
        • Oracleテナントユーザー概要
        • Oracleテナントのユーザー作成
        • Oracleテナントユーザーのロック
        • Oracleテナントユーザーのパスワードを変更する
        • Oracleテナントユーザーの削除
        • Oracleテナントのロール作成
        • ユーザー情報の管理
        • ロール情報の管理
      • システム権限一覧
    • テナントのリソース分離の管理
      • リソース分離の概要
      • リソースグループの作成
      • リソース分離計画の作成
      • リソース分離計画の有効化/無効化
      • リソース分離計画の変更
      • リソース分離計画の削除
      • リソースグループの変更
      • リソースグループの削除
    • テナントリソースの管理
    • テナントのメジャーコンパクションの管理
      • テナントのメジャーコンパクション設定の変更
      • テナントのメジャーコンパクション詳細の表示
      • メジャーコンパクションの実行
      • メジャーコンパクションレコードの表示
    • 統計情報の管理
      • 統計情報の概要
      • 統計情報の収集
      • 統計情報タスクの管理
    • テナントパラメータの管理
      • パラメータ一覧の表示
      • パラメータの変更
      • パラメータ変更履歴の表示
    • ユニット仕様の管理
    • OCPリソースユニット仕様表の表示
    • テナントパラメータテンプレートの管理
  • OBProxy管理
    • OBProxy管理の概要
    • OBProxyの概要を表示する
    • OBProxyクラスタの作成
    • OBProxyクラスタの管理
      • OBProxyクラスタの概要
      • 接続可能なOceanBaseクラスタの追加
      • ロードバランシングの管理
      • proxysysのパスワードを変更する
      • proxyroアカウントのパスワードを変更する
      • OBProxyクラスタの移出
      • OBProxyクラスタの削除
      • OBProxyクラスタのアップグレード
      • CPUバインディングの管理
      • OBProxyクラスタの停止/起動
      • OBProxyクラスタの再起動
      • 接続済みのOceanBaseクラスタを削除する
      • proxyroアカウントの管理
    • OBProxy Serverの管理
      • OBProxyの追加
      • OBProxyの引き継ぎ
      • OBProxyの削除
      • OBProxyの再起動
      • OBProxyの停止・起動
      • OBProxyのオフライン化
      • OBProxyのオンライン化
      • OBProxyのアップグレード
      • OBProxy設定のリフレッシュ
    • OBProxyクラスタのリクエスト分析を表示する
    • セキュリティ設定の管理
    • OBProxyクラスタパラメータの管理
    • クライアント設定の管理
    • OBProxyパラメータテンプレートの管理
    • OBProxyパラメータの説明
  • Binlogサービス管理
    • Binlogサービスの概要
    • Binlogクラスタの作成
    • Binlogクラスタの管理
      • Binlogクラスタの概要を表示する
      • バージョンアップグレード
      • Binlogクラスタの停止・起動
      • Binlogクラスタの再起動
      • Binlogクラスタの削除
      • Binlogクラスタパラメータの管理
    • Binlogインスタンスの管理
      • Binlogインスタンスの表示
      • インスタンスレプリカの追加
      • スロットリングの設定
      • Binlogインスタンスの停止/起動
      • Binlogインスタンスの再起動
      • プライマリ/スタンバイインスタンスの切り替え
      • Binlogインスタンスの削除
      • Binlogインスタンスパラメータの管理
    • Binlog Serverの管理
      • Binlog Serverの追加
      • Binlog Serverの停止・起動
      • Binlog Serverの削除
      • ホスト上のBinlogインスタンスのクリーンアップ
    • Binlogパラメータテンプレートの管理
  • ホスト管理
    • ホストの管理
      • ホスト操作リストの管理
      • ホストの詳細を表示する
      • ホストの追加
      • ホストタスクの詳細を表示する
      • ホストの変更
      • OCP Agentの再起動
      • OCP Agentの再インストール
      • ホストの削除
      • ホストの標準化チェック
      • ホスト標準化チェック項目
      • OCP-Agentプロセス
      • OCP-Agent運用スクリプトの使用方法
    • マシンタイプの管理
    • データセンターの管理
    • リージョンの管理
  • Logserviceインスタンス管理
    • Logserviceクラスタの機能概要
    • パラメータテンプレート
    • Logserviceクラスタの管理
      • Logserviceクラスターリスト
      • LogServerの追加
      • Logserviceクラスタの新規作成
      • Logservice クラスタ概要
      • パフォーマンス監視
      • パラメータ管理
  • アラートセンター
    • アラートの概要
    • アラート関連の概念
    • アラートの概要を表示する
    • アラートルールの管理
      • アラートルールの新規作成
      • アラートルールの表示
      • アラートルールのコピー
      • アラートルールの編集
      • アラートルールの削除
      • アラートのグループ化
      • アラート項目設定のエクスポート
    • アラートテンプレートの管理
      • アラートテンプレートの作成
      • アラート対象の設定
      • アラートテンプレートのエクスポート
      • アラートテンプレートの表示
      • アラートテンプレートのコピー
      • アラートテンプレートの編集
      • アラートテンプレートの削除
    • アラートチャネルの管理
      • アラートチャネルの作成
      • アラートチャネルの表示
      • アラートチャネルの編集
      • アラートチャネルのコピー
      • アラートチャネルの削除
      • アラートチャネル設定例を見る
      • アラートチャネル設定例
    • アラートプッシュの管理
      • アラートプッシュの新規作成
      • アラートプッシュの表示
      • アラートプッシュの編集
      • アラートプッシュの削除
    • アラートイベントの管理
    • アラートマスクの管理
      • ブロッキング条件の作成
      • アラートマスク条件の編集
      • アラートマスキング条件の削除
    • OCP アラートテンプレートタグ
    • カスタムアラートで選択できる監視指標
  • モニタリングダッシュボード
    • モニタリングダッシュボードの概要
    • ダッシュボードの管理
    • グループの管理
    • チャートの管理
  • パフォーマンスモニタリング
    • モニタリング管理の使用
      • OceanBaseクラウドプラットフォームの概要
      • データベースのパフォーマンスを表示する
      • ホストのパフォーマンスを表示する
      • OBServerのパフォーマンスの表示
      • パフォーマンスとSQLの表示
      • トランザクション性能の表示
      • ストレージとキャッシュの表示
      • データベースオブジェクトの表示
      • OBKV_Tableの表示
      • OBKV_HBaseの表示
      • OBKV_Redisの表示
      • サブスクリプション接続モニタリングチャートの表示
      • Binlogパフォーマンス監視の表示
      • Binlogリソース監視の表示
      • ホストリソースの表示
      • ホストプロセスの表示
      • サービス監視の表示
      • システム監視の表示
      • パフォーマンスモニタリングの表示
      • モニタリングのドリルダウン
      • モニタリングクエリの外部時系列システムへの連携
    • カスタムモニタリング機能の使用
      • カスタムモニタリングの概要
      • 取得項目の表示
      • メトリクスの管理
        • メトリクスの作成
        • メトリクスの管理
      • チャートの管理
        • チャートの作成
        • チャートの管理
      • OCPモニタリング指標の説明
  • 診断サービス
    • SQL診断
      • SQL診断の概要
        • SQL診断の概要
        • SQL実行統計情報
        • SQL実行計画
      • 診断サービスの概要を表示する
      • 疑わしいSQLの診断
      • TopSQLの診断
      • TopSQLの比較
      • SlowSQLの診断
      • ParallelSQLの診断
      • 高リスクSQLの診断
      • 新規SQLの診断
      • SQLの詳細を表示する
      • アウトライン情報の表示
      • SQL収集スイッチの履歴を表示する
      • SQLリクエスト分析の表示
      • SQLパフォーマンス診断関連パラメータの設定
    • トランザクション診断
      • トランザクション概要
      • トランザクションの診断
      • XAトランザクションとハングトランザクションの診断
    • セッション管理
      • テナントセッションの管理
      • セッション統計の表示
      • デッドロック履歴の表示
      • 行ロック分析の表示
    • マテリアライズドビューの表示
    • 最適化センターの表示
    • 容量センターの表示
    • 診断レポート
      • パフォーマンスレポートの管理
      • アクティブセッションレポートの管理
  • 運用保守管理
    • 情報収集
      • 情報収集の概要
      • 情報収集項目の設定
      • 情報収集タスクの作成
      • 情報収集の詳細を表示する
      • 情報収集レポートのダウンロード
    • プラン管理
      • 概要
      • プランの管理
      • プラン実行の詳細を表示する
    • 点検サービス
      • 巡検の概要
      • 点検項目の設定
      • スケジューリングルールの設定
        • 単一検査対象のスケジューリングルールを設定する
        • グローバルスケジューリングルールの設定
      • 点検の開始
        • 単一オブジェクトの点検を開始する
        • グローバル検査の開始
      • 点検タスクの表示
      • 点検レポートの管理
        • 巡回点検レポートの表示
        • レポートのダウンロード
    • 標準運用保守プロセス
      • 標準運用保守プロセスの概要
      • 標準運用保守プロセスの作成
      • 標準運用保守プロセスの実行詳細を表示する
    • スケジュールタスク
      • スケジュールタスクの概要
      • スケジュールタスクの作成
      • スケジュールタスクの管理
      • スケジュールタスクの詳細を見る
    • レポートセンターの管理
  • AIアシスタント
    • 概要
    • 対話の開始
    • 会話の管理
  • バックアップ・リストア
    • バックアップ・リストアの概要
    • バックアップ・リストア・ウィザード
    • バックアップ・リストアの概要
    • 即時バックアップ
      • クラスタの即時バックアップ
      • テナントの即時バックアップ
    • 定期バックアップ
      • クラスタレベルのバックアップポリシーの管理
        • クラスタレベルのバックアップポリシーを新規作成する
        • クラスタレベルのバックアップポリシーを編集する
        • クラスタレベルのバックアップポリシーを削除する
        • バックアップスケジューリングの一時停止
        • クラスタレベルのバックアップポリシーを表示する
      • テナントレベルのバックアップポリシーの管理
        • テナントレベルのバックアップポリシーを作成する
        • テナントレベルのバックアップポリシーを編集する
        • テナントレベルのバックアップポリシーを削除する
        • バックアップスケジューリングの一時停止
        • テナントレベルのバックアップポリシーを表示する
    • バックアップタスクの管理
      • バックアップタスクの表示
      • 二次バックアップタスクの表示
    • 復元の開始
    • 定期リストア
      • 復元抜き取り検査ポリシーの作成
      • 抜き取り検査ポリシーの表示
      • 抜き取り検査タスクの表示
    • リストアタスクの表示
    • リストアタスクのコピー
    • バックアップ・リストアサービスの管理
      • サービスリストの表示
      • サービスのインストール
      • サービスノードの追加
      • サービスバージョンのアップグレード
      • サービス構成の更新
      • サービスのコピー
      • サービスの削除
      • ノードサービスの停止
      • ノードサービスの再起動
      • 運用保守タスクの表示
      • ノードのアンインストール
  • ディザスタリカバリ管理
    • プライマリ/スタンバイテナントの切り替え
      • プライマリ/スタンバイテナントの日常的な切り替え
      • プライマリ/スタンバイテナントのディザスタリカバリ切り替え
      • プライマリ/スタンバイテナントの分離
      • OCPクラスタ間でのプライマリ/スタンバイテナントの作成
    • プライマリ/スタンバイデータベースの切り替え
      • プライマリ/スタンバイデータベースの日常的な切り替え
      • プライマリ/スタンバイクラスタの災害復旧切り替え
      • プライマリ/スタンバイクラスタの分離
      • Failover後の元のプライマリクラスタを読み取り専用モードで起動する
    • マルチクラスタモードのOCPの管理
      • マルチクラスタモードの概要
      • OCPクラスタの登録
      • プライマリ/スタンバイ詳細ページの説明
      • OCPクラスタパラメータの管理
      • OCPクラスタの日常的な切り替え(Switchover)
      • OCPクラスタの災害復旧フェイルオーバー
      • OCPクラスタの削除
      • OCPクラスタのオフライン化
      • OCPマルチクラスタモードの切り替え
  • ログ検索
    • ログのクエリ
    • ログのダウンロード
    • リンククエリ関連パラメータの設定
    • リンクのクエリ
    • OpenSearch関連の説明
    • OBServerログの保持ポリシー
  • ソフトウェアパッケージ管理
    • ソフトウェアパッケージのアップロード
    • ソフトウェアパッケージのダウンロード
    • ソフトウェアパッケージの削除
  • システム管理
    • 認証情報の管理
      • クレデンシャルの新規作成
      • 認証情報のエクスポート
      • 認証情報のインポート
      • 認証情報の検証
      • 認証情報の編集
      • 認証情報の削除
      • 接続資格情報の一括操作
    • 証明書の管理
      • 証明書の概要
      • 証明書のアップロード
      • 証明書の削除
    • ユーザーと権限の管理
      • ユーザーおよび権限の概要
      • 組織の管理
        • 組織の作成
        • リソースの表示
        • 組織の編集
        • リソース構成の共有
        • 組織の削除
      • ロールの管理
        • ロールの作成
        • ロールの表示
        • ロールの編集
        • ロールのコピー
        • ロールの削除
        • OCPデフォルトロール
      • ユーザーの管理
        • ユーザーの作成
        • ユーザーの表示
        • ユーザーの編集
        • ユーザーのコピー
        • ユーザーパスワードの変更
        • ユーザーの削除
        • ログイン履歴の表示
    • タグの管理
      • タグ管理の概要
      • タグの作成
      • バインドオブジェクトの変更
      • タグの編集
      • タグの削除
    • 操作監査の表示
    • 外部連携の管理
      • 大規模モデルの管理
        • AIモデルベンダーへの接続
        • モデルの追加
        • システムモデルの設定
        • モデルの削除
      • SSO統合の管理
        • 外部連携の概要
        • SSO統合の新規作成
        • SSO統合の有効化/無効化の設定
        • SSO統合の編集
        • SSO統合の削除
      • SQL Auditの管理
        • SQL AuditとSLS/ESの連携概要
        • SQL AuditとSLSの連携
        • SQL AuditとElasticSearchの連携
      • Prometheusの管理
        • Prometheusの概要
        • Prometheusデータソースの新規作成
        • Prometheusデータソースの管理
      • オブジェクトストレージの管理
        • オブジェクトストレージの概要
        • オブジェクトストレージ設定の作成
        • オブジェクトストレージ設定の削除
        • オブジェクトストレージのベストプラクティス
    • プラットフォーム監視の表示
    • システムパラメータの管理
      • システムパラメータの確認
      • システムパラメータの変更
      • OCP構成パラメータ一覧
    • タスクの管理
    • 個人設定の管理
      • 個人情報の設定
      • ログインパスワードの変更
      • ログアウト
  • SQLチューニングの実践
    • よくある異常SQLの特定
      • テナント内のCPU負荷が高いSQLを特定する方法
      • テナント内で実行時間が長いスローSQLを特定する方法
      • テナント内の全表スキャンSQLを特定する方法
      • テナント内の分散実行SQLを特定する方法
      • テナント内でリモート実行されたSQLを特定する方法
      • テナント内のハードパースに時間がかかるSQLを特定する方法
      • テナント内で実行エラーが発生したSQLを特定する方法
    • 異常SQLルールのカスタマイズ
      • 上級条件
      • カスタム列ルール
    • SQLパフォーマンスチューニングの代表的なシナリオ
      • 実行計画の最適化
        • 実行計画の変更によるパフォーマンス低下
      • インデックスの最適化
        • 適切なインデックスが存在しない
        • インデックスの作成が不適切
        • 無効なインデックス
  • 運用保守のベストプラクティス
    • OceanBaseクラスタのアップグレード
    • OceanBaseテナントのUnit移行
    • OceanBaseクラスタおよびテナントの高可用性の拡張
    • OceanBaseクラスタおよびテナントの高可用性構成の縮小
    • OceanBaseクラスタとテナントの拡張
    • OceanBaseクラスタおよびテナントのスケールイン
    • OceanBaseクラスタホストの障害対処
    • OCPデータセンターの移行
    • OceanBaseクラスタのデータセンター間移行
    • 2つのデータセンターを使用する構成におけるOceanBaseプライマリ/スタンバイクラスタの災害復旧フェイルオーバー
    • 2つのデータセンターを使用する構成におけるOceanBaseテナントレベルの日常的な切り替え
    • 2つのデータセンターを使用する構成におけるOceanBaseアービトレーションサービスを利用した高可用性の実現
    • アービトレーションサービスグループによる高可用性の実現
    • OBProxyクラスタのスケールアウト
    • OBProxyクラスタのスケールイン
    • OBProxyノードの置換
    • OBProxyクラスタの移出
    • OBProxyの引き継ぎ
    • OBProxyの削除
    • SSL暗号化
    • プライマリ/スタンバイテナントのフェイルオーバー
    • プライマリ/スタンバイテナントの分離
    • プライマリ/スタンバイテナントの切り替え後の自動ルーティング
    • OceanBaseクラスタのバックアップ
    • バックアップとリストアを使用した誤って削除されたデータの復元
    • モニタリングを使用してOceanBaseの業務負荷を観察する
    • OCPの監視をPrometheusに統合する
    • 監視ダッシュボードをGrafanaにインポートする
    • カスタムモニタリングの設定
    • OCPの点検機能を使用してOceanBaseクラスタの潜在的リスクを発見する
    • Clog同期チェック
    • NICレートの確認
    • 自動インクリメント列の可用性チェック
    • アラートをDingTalkグループに連携する
    • アラートをFeishuグループに連携する
    • アラートをWeChatワークグループに接続する
    • メールでのアラート通知
    • HTTPを通じたアラートプッシュのカスタマイズ
    • アラートをSlackグループチャットに連携する
    • 組織および権限管理
    • 標準的な運用保守プロセスによる障害回復
  • リファレンスガイド
    • アラートリファレンス
      • 概要
      • OceanBaseアラート
        • ob_cannot_connected OceanBaseサーバーへの接続ができません
        • ob_cluster_rs_not_same Config serverのrootserver情報が正しくない
        • ob_cluster_status_check_failed OceanBaseクラスタ状態チェック失敗
        • ob_cluster_exists_inactive_server OceanBaseクラスタに非稼働OBServerノードが存在する
        • ob_cluster_exists_index_fail_table OceanBaseクラスタにインデックス作成に失敗したテーブルが存在する場合
        • ob_cluster_frozen_version_delta_over_threshold OceanBaseクラスタの凍結バージョンとベースラインバージョンの差がしきい値を超える
        • ob_cluster_merge_error OceanBaseクラスタのメジャーコンパクションエラー
        • ob_cluster_merge_timeout OceanBaseクラスタのメジャーコンパクションタイムアウト
        • ob_cluster_no_frozen OceanBaseクラスタが長時間凍結されていない
        • ob_cluster_no_merge OceanBaseクラスタが長時間メジャーコンパクションを実行していない
        • ob_cluster_operation_info OceanBaseクラスタ運用保守操作リマインダー
        • ob_cluster_sync_failed OceanBaseクラスタ情報の取得に失敗しました
        • ob_cpu_assigned_percent_over_threshold OceanBaseがテナントに割り当てたCPUの割合がしきい値を超えた
        • ob_cpu_percent_over_threshold OceanBaseサーバー上のテナントスレッド平均使用率がしきい値を超える
        • ob_host_connection_percent_over_threshold OceanBaseサーバー接続数の割合がしきい値を超えた場合
        • ob_host_disk_readonly サーバーディスクは読み取り専用
        • ob_host_load1_per_cpu_over_threshold サーバーCPU平均load1がしきい値を超えた場合
        • ob_host_partition_count_over_threshold OceanBaseサーバーのパーティション数がしきい値を超えた
        • OBログアラート
        • ob_mem_assigned_percent_over_threshold OceanBaseがテナントに割り当てたメモリの割合が上限を超えた
        • ob_server_sstable_percent_over_threshold OceanBaseサーバーのデータディスク使用率が上限を超えた場合
        • ob_tenant_operation_info OceanBaseテナント運用保守操作リマインダー
        • ob_tenant500_mem_hold_over_threshold OceanBase 500テナントのメモリ使用量が上限を超えた場合
        • ob_tenant500_mem_hold_percent_over_threshold OceanBase 500テナントのメモリ使用率がしきい値を超えた場合
        • tenant_active_memstore_percent_over_threshold OceanBaseテナントのアクティブMemStore比率がしきい値を超えた場合
        • tenant_cpu_percent_over_threshold OceanBaseテナントスレッド使用率がしきい値を超えた場合
        • tenant_memstore_percent_over_threshold OceanBaseテナントのMemStore使用率がしきい値を超えた場合
        • obproxy_process_dead OBProxyプロセスが存在しない
        • obproxyd_process_dead OBProxy デーモンが存在しない
        • obproxy_cannot_connected OBProxyに接続できません
        • ob_cluster_sync_delay_time_too_long OceanBaseクラスタの同期遅延時間が長すぎる
        • ob_host_data_disk_percent_over_threshold OceanBaseサーバーのデータディレクトリのディスク使用率がしきい値を超えた場合
        • ob_host_log_disk_percent_over_threshold OceanBaseサーバーのログディレクトリのディスク使用率がしきい値を超えた場合
        • ob_host_install_disk_percent_over_threshold OceanBase サーバーのインストールディレクトリのディスク使用率がしきい値を超えた場合
        • ob_tenant_exists_expired_xa_trans OceanBaseテナントにハングしたXAトランザクションが存在する
        • ob_cluster_active_session_count_over_threshold OceanBaseクラスタのアクティブセッション数がしきい値を超えた場合
        • ob_tenant_active_session_count_over_threshold OceanBaseテナントのアクティブセッション数がしきい値を超えた場合
        • ob_host_active_session_count_over_threshold OceanBaseサーバーのアクティブセッション数がしきい値を超えた場合
        • ob_tenant_slow_sql_exists OceanBaseテナントにスローSQLが存在する
        • ob_tenant_large_trans_exist OceanBaseテナントに大規模トランザクションが存在する
        • same_alarm_rule_detect_too_many_targets 複数のインスタンスが同一のアラートルールをトリガーする場合
        • ob_tenant_expired_trans_exist OceanBaseテナントにハングしたトランザクションが存在する
        • ob_tenant_long_trans_exist OceanBaseテナントに長時間トランザクションが存在する
        • ob_tenant_task_timeout OceanBaseテナントタスクのタイムアウト
        • ob_host_task_timeout OBServerタスクのタイムアウト
        • ob_tenant_log_disk_usage_high OceanBaseテナントのログディスク使用率がしきい値を超えた
        • ob_tenant_no_compaction OceanBaseテナントが長時間メジャーコンパクションを実行していない
        • ob_tenant_no_frozen OceanBaseテナントが長時間凍結されていない
        • ob_tenant_compaction_error OceanBaseテナントのメジャーコンパクションエラー
        • host_operation ホスト運用保守操作のリマインダー
        • obproxy_host_operation OBProxyホスト運用保守操作リマインダー
        • obproxy_cluster_operation OBProxy運用管理操作リマインダー
        • ob_host_operation OceanBaseサーバー運用保守操作リマインダー
        • refresh_location_cache_failed OBServerのlocation cacheのリフレッシュ失敗
        • ob_tenant_log_stream_degraded OceanBaseテナントにデグレードされたログストリームが存在する
        • arbitration_service_unavailable アービトレーションサービスが利用できません
        • observer_process_stop OBServerプロセスの停止
        • obproxyd_process_stop OBProxy デーモンプロセスの停止
        • obproxy_process_stop OBProxyプロセスの停止
        • standby_tenant_sync_delay_too_long スタンバイテナントの同期遅延が大きすぎる
        • standby_tenant_sync_status_error スタンバイテナント同期状態異常
        • obproxy_client_connections_usage_over_threshold OBProxyクライアント接続利用率がしきい値を超えた
        • ob_tenant_request_queue_over_threshold OceanBase テナントリクエストキューの上限超過
        • oas_anomaly_sql_from_anomaly_event_analysis_cpu_percent_high ホストCPU超過の根本原因分析、SQL CPU占有率が高すぎる
        • oas_anomaly_sql_from_anomaly_event_analysis_perf_degradation ホストCPU超過の根本原因分析、SQLパフォーマンス低下
        • oas_anomaly_sql_from_anomaly_event_analysis_plan_changed ホストCPU上限超過の根本原因分析、SQL計画の悪化
        • oas_anomaly_sql_from_sql_inspection_perf_degradation SQL巡検、SQLパフォーマンスの低下
        • oas_anomaly_sql_from_sql_inspection_plan_changed SQL巡回検査:SQL実行計画の悪化
        • os_observer_not_exist OceanBase server プロセスが存在しない
        • refresh_location_cache_failed_by_metric OBServerのlocation cacheリフレッシュ失敗
        • ob_tenant_cpu_usage_over_threshold OceanBaseテナントCPU使用率がしきい値を超えた場合
        • ob_tenant_partition_replica_absent OceanBaseテナントのパーティションにレプリカが欠けています
        • ob_tenant_partition_leader_absent OceanBaseテナントのパーティションがリーダーなし
        • ob_tenant500_storage_short_meta_mem_hold_high OceanBase テナント500のSTORAGE_SHORT_TERMモジュールのメモリ使用率が高すぎる
        • obproxy_core_dump OBProxy server Core Dump
        • ob_server_cannot_connect_arbitration OceanBaseクラスタには、アービトレーションサービスと通信できないノードが存在します
        • agent_process_count_abnormal ocp-agent プロセス数異常
        • arbitration_auto_replace_operation_info OceanBaseクラスタの自動アービトレーションサービス切り替えタスク通知
        • arbitration_group_auto_replace_failed アービトレーショングループの自動アービトレーションサービス切り替え失敗
        • standby_cluster_sync_status_error スタンバイクラスタの同期状態異常
        • ob_tenant_tde_kms_host_not_match テナントTDE KMSサービスのアドレスと現在のOCPサービスのアドレスが一致しません
        • ob_tenant_tde_kms_cmk_info_not_exist テナントのTDEキー情報が現在のOCPに存在しません。テナントのTDEキーを速やかに更新してください。
        • tenant_all_unit_server_not_connectable OceanBaseテナントが接続できない
        • ob_tenant_mview_refresh_delay マテリアライズドビューの自動更新が遅延している
        • ob_tenant_mview_refresh_error テナントマテリアライズドビュー自動リフレッシュエラー
        • tenant_vector_mem_used_percent_over_threshold OceanBaseテナントのベクトルインデックスデータの実際のメモリ使用率がしきい値を超えた場合
        • tenant_mini_merge_tablet_count_error OceanBaseテナントのダンプされたsstable数が上限を超えるtablet数
        • tenant_compact_timeout_count_error OceanBaseテナントの長期未ダンプパーティション(sstable)数
        • ob_tenant_session_kill_delay テナントのSession Killed遅延
        • ob_tenant_info_sync_failed OceanBaseテナント情報同期失敗
        • ob_tenant_name_mismatch OceanBaseテナントのテナント名が変更された
        • tenant_compaction_status_is_suspend テナントのメジャーコンパクション一時停止
        • ob_tenant_service_name_is_invalid テナントサービス名が無効です
        • cluster_cgroup_value_inconsistent クラスタ内のcgroup値が一致しない
        • ob_tenant_log_stream_replica_absent OceanBaseテナントのログストリームがレプリカ不足
        • ob_tenant_log_stream_leader_absent OceanBaseテナントのログストリームのリーダーが不在
        • arbitration_node_connection_with_observer_error Arbitrationノードがobserverに接続できない
      • アプリケーションアラート
        • ob_host_ssd_wear_indicator_over_threshold サーバーSSD使用率がしきい値を超えた場合
        • ob_host_mem_percent_over_threshold サーバーのメモリ使用率がしきい値を超えた場合
        • ob_host_net_recv_percent_over_threshold サーバーのネットワーク受信帯域幅利用率がしきい値を超えた場合
        • ob_host_net_send_percent_over_threshold サーバーのネットワーク送信帯域幅使用率がしきい値を超える
        • ob_host_tcp_retrans_percent_over_threshold サーバーTCP再送信率がしきい値を超える
        • ob_host_cpu_percent_over_threshold サーバーCPU利用率がしきい値を超えた場合
        • inc_backup_delay ログバックアップ遅延
        • base_backup_fail データバックアップタスク失敗
        • base_backup_too_long_time_no_one_success_task データバックアップが長時間にわたり成功しない場合
        • backup_process_dead バックアップ・リストアサービスがオフラインになりました
        • backup_storage_capacity_over_threshold バックアップ・リストア容量が限度を超えた
        • log_backup_storage_space_over_threshold ログバックアップストレージ容量がしきい値を超えた
        • backup_storage_capacity_retry_times_exceeded バックアップ・リストア容量取得のリトライ回数が上限を超えた
        • backup_storage_capacity_timeout_or_interrupted バックアップ・リストアディレクトリ容量取得タイムアウトまたはスレッドが中断された場合
        • ocp_remote_server_time_diff_too_large OCPとリモートホストの時刻差が大きすぎる
        • monitor_exporter_unavaliable サーバーのモニタリングデータ収集に異常が検出されました
        • host_unavailable ホストのハートビート検出失敗
        • host_ntp_offset_too_large サーバーと時刻源のオフセットが大きすぎる
        • host_ntp_service_not_exist サーバーの時刻同期サービスが存在しません
        • host_agent_res_memory_over_threshold サーバーエージェントメモリ上限超過
        • host_agent_open_fd_count_over_threshold サーバーエージェントのファイルハンドル数がしきい値を超えた
        • host_agent_goroutine_count_over_threshold サーバーエージェントのゴルーチン数がしきい値を超えた場合
        • partition_create_failed パーティション作成失敗
        • obagent_dead Agentサービスが利用できません
        • host_disk_readonly OceanBaseサーバーのディスクが読み取り専用になっている
        • ic_server_connect_failed Inter-Connector サーバー接続失敗
        • node_load1_peak サーバー負荷が高すぎます
        • ホストログアラート
        • base_backup_timeout データバックアップタスクのタイムアウト
        • base_secondary_backup_fail データセカンダリバックアップタスク失敗
        • ocp_meta_db_disconnected OCPメタデータベース接続切断
        • ocp_http_request_timeout OCP HTTPインターフェースリクエストタイムアウト
        • ocp_http_request_too_many_errors_occur OCP HTTPエラーリクエストが多すぎる
        • ocp_alarm_detect_timeout OCPアラートルール検出タイムアウト
        • odp_instance_compress_failed OBProxyインスタンスのスケールイン失敗
        • odp_instance_expanse_failed OBProxyインスタンスの拡張失敗
        • odp_sql_execute_failed SQL実行失敗回数が上限を超えた
        • odp_sql_query_slow スロークエリSQL回数が上限を超えた場合
        • agentd_process_stop ocp_agentdプロセスの停止
        • mgragent_process_stop ocp_mgragentプロセスの停止
        • monagent_process_stop ocp_monagentプロセスの停止
        • ocp_contingency_failed 自己修復プランの実行失敗
        • ob_host_invalid_disk_exists OBServerに不良ディスクが存在する
        • ob_cluster_recyclebin_disk_used_over_threshold OceanBase ごみ箱のディスク使用量がしきい値を超えた場合
        • ob_host_monitordb_disconnected OCP-Agentがmonitordbに接続できない
        • upgrade_ocp_agent_failed OCP-Agentのアップグレード失敗
        • host_agent_version_not_same ホストのOCP-Agentバージョンが期待バージョンと一致しない
        • ocp_collect_metric_failure_rate_high OCP-Server 監視データ収集の失敗率が高すぎる
        • ssl_certificate_is_expired SSL証明書期限切れアラート
        • message_hardware_error ホストのハードウェア障害
        • ob_license_expired OBライセンスの有効期限切れ
        • binlog_process_stop Binlog Serverプロセスの停止
        • binlog_process_dead Binlog Server プロセスが存在しない
        • ocp_system_cpu_usage_over_threshold OCPノードのCPU使用率がしきい値を超えた場合
        • ocp_disk_percent_over_threshold OCPノードのディスク使用率がしきい値を超えた場合
        • ocp_jvm_heap_memory_used_percent_over OCPノードのJVMヒープメモリ使用率が上限を超えた場合
        • ocp_distributed_server_deleted_count OCPノードのオフライン
        • message_log_alarm システムメッセージログ
        • system_parameter_not_taken_effect システムパラメータ変更後は再起動が必要
        • host_process_cpu_bind_core_is_invalid CPUバインディング設定の不整合
        • ob_server_stopped サーバーのサービス停止
      • OASアラート
        • os_cpu_irq_error サーバーCPUソフト割り込みが分散されていない
        • os_tsar_cpu_sys_abnormal サーバーのCPUシステム利用率が高すぎる
        • os_observer_fd_usage OceanBase serverが開いているハンドルが多すぎます
        • os_tsar_cpu_util_full サーバーのCPU使用率が飽和状態になった
        • os_tsar_cpu_util_hwm サーバーCPU利用率が上限を超えた場合
        • os_kernel_io_hang OceanBase server サーバー IO Hang
        • os_tsar_sda_ioawait OceanBase ServerのディスクI/O待ち時間が高すぎる
        • os_tsar_nvme_ioawait OceanBase server ディスクIOawaitが高い
        • os_tsar_traffic_drop サーバーのネットワークパケット損失が多すぎる
        • os_tsar_traffic_error サーバーのネットワーク送受信エラー
        • os_observer_core_dump OceanBase server Core Dump
        • os_nic_1000m_full サーバーのギガビットNICの帯域が飽和しました
        • os_nic_1000m_hwm サーバーギガビットNIC高使用率
        • os_tsar_traffic_overload サーバーのNIC利用率が高すぎる
        • node_file_root_usage サーバーのルートディレクトリ使用率が高すぎる
        • node_file_inode_usage サーバーのinode使用率が高すぎる
        • os_kernel_ntp_down サーバーのNTPサービスが存在しません
        • os_kernel_ntp_delay サーバーのNTPが同期していない
        • node_memory_peak メモリ使用率が高すぎる
        • os_home_file_usage サーバーのhomeディレクトリのディスク使用率が上限を超えています
        • node_file_data1_usage OBデータディスクの使用率が高すぎる
        • node_file_datalog1_usage OBログディスク使用率が高すぎる
        • sql_audit_collect_lost_percent_over_threshold sql_audit データ収集欠落率の上限超過アラート
      • LogServiceアラート
        • logservice_process_stop oblogserviceプロセスの停止
        • logservice_process_dead LogService プロセスが存在しない
        • logservice_rpc_request_timeout oblogservice対応ノードRpcリクエストタイムアウト
        • logservice_replica_committed_end_scn_delay oblogserviceログサービスにおけるコミット済みログのend SCN遅延
        • logservice_cluster_operation_info LogServiceクラスタの運用保守操作リマインダー
        • logservice_host_operation LogServiceクラスタノード運用保守操作リマインダー
      • 付録
        • OceanBaseクラスタのメジャーコンパクション異常処理
        • OceanBaseクラスタのトラフィックを制限する
        • ネットワーク障害のトラブルシューティング
        • アラート対応プランの処理
    • APIリファレンス
      • 概要
      • API呼び出しの説明
      • AK/SK署名の生成ルール
      • タスク戻り値構造
      • クラスタ管理
        • OceanBaseクラスタリストの取得
        • OceanBaseクラスタの作成
        • OceanBaseクラスタの削除
        • OceanBaseクラスタの停止
        • OceanBaseクラスタの起動
        • OceanBaseクラスタの再起動
        • OceanBaseクラスタのアップグレード
        • OceanBaseクラスタの移出
        • OceanBaseクラスタの引き継ぎ前チェック
        • OceanBaseクラスタの引き継ぎ
        • OceanBaseクラスタのゾーンリストを照会する
        • OceanBaseクラスタのゾーンを新規作成
        • OceanBaseクラスタからゾーンを削除する
        • OceanBaseクラスタのゾーン停止
        • OceanBaseクラスタのゾーン起動
        • OceanBaseクラスタのゾーン再起動
        • OBServerノードの追加
        • OBServerノードの一括削除
        • OBServerノードの停止
        • OBServerノードの起動
        • OBServerノードの再起動
        • OBServerノードの置換
        • OceanBaseクラスタのパスワードを変更する
        • OceanBaseクラスタパラメータの説明情報を取得する
        • OceanBaseクラスタのパラメータリストを取得する
        • OceanBaseクラスタパラメータの変更
        • OceanBaseクラスタのOBServerノードの一覧を取得する
        • ゾーン内のOBServerノードの一覧を取得する
        • スイッチオーバーの事前チェック
        • フェイルオーバーの事前チェック
        • スイッチオーバーの日常的な切り替え
        • フェイルオーバーによる災害復旧切り替え
        • OceanBaseクラスタのリソース統計情報を取得する
        • クラスタ内のすべてのOBServerノードのリソース統計情報を取得する
        • OceanBaseクラスタのUnitリストを照会する
        • アービトレーションサービスの作成
        • アービトレーションサービスの詳細を照会する
        • アービトレーションサービス一覧の取得
        • アービトレーションサービスの停止
        • アービトレーションサービスの起動
        • アービトレーションサービスの再起動
        • アービトレーションサービスのアップグレード
        • アービトレーションサービスの削除
        • アービトレーションサービスのパラメータ情報リストを取得する
        • アービトレーションサービスへの指定タグ集合の紐付け/解除
        • アービトレーションサービスの引き継ぎに関する事前チェック
        • アービトレーションサービスの引き継ぎ
        • アービトレーションサービスの移出
        • アービトレーションサービスの一括置換の事前チェック
        • アービトレーションサービスの一括置換
        • OceanBaseクラスタの一括関連付け事前チェック
        • OceanBaseクラスタの一括関連付け
        • クラスタの関連付けの一括解除
        • アービトレーションサービスグループの作成
        • アービトレーションサービスグループの更新
        • アービトレーションサービスグループ情報の取得
        • アービトレーションサービスグループの一覧を取得する
        • アービトレーションサービスグループの削除
        • アービトレーションサービスグループのアップグレード
        • JVM環境依存サービスの開始
        • JVM環境依存サービスの編集
        • JVM環境依存サービスの無効化
      • テナント管理
        • クラスタのテナントリストを取得する
        • すべてのテナントリストの確認
        • テナント詳細のクエリ
        • テナントの作成
        • スタンバイテナントの作成
        • テナントの削除
        • テナントのロック
        • テナントのロック解除
        • テナントのUnitリストを照会する
        • テナントUnitの削除
        • テナントのレプリカを追加する
        • テナントレプリカの削除
        • テナントのレプリカを変更する
        • テナントのゾーン優先順位の変更
        • テナントの管理パスワードを変更する
        • テナントの許可リストを変更する
        • テナントパラメータリストの取得
        • テナントパラメータの変更
        • ユニット仕様リストの取得
        • リソースユニット仕様の作成
        • リソースユニット仕様の削除
        • 日常的な切り替えの事前チェック
        • 日常スイッチオーバー
        • 日常的な切り替えの一括実行の事前チェック
        • 日常的な切り替えの一括実行
        • ディザスタリカバリ切り替えの事前チェック
        • ディザスタリカバリフェイルオーバー
        • 災害復旧フェイルオーバーの一括実行の事前チェック
        • ディザスタリカバリフェイルオーバーの一括実行
      • OBProxy管理
        • OBProxyクラスタの作成
        • OBProxyクラスタの削除
        • OBProxyクラスタリストの確認
        • OBProxyクラスタの詳細を照会する
        • OBProxyクラスタ設定の更新
        • OBProxyの追加
        • OBProxyの引き継ぎ
        • OBProxyの削除
        • OBProxyの削除(非推奨)
        • OBProxyの再起動
        • OBProxyの再起動(非推奨)
        • OBProxyのアップグレード
        • OBProxyのアップグレード(非推奨)
        • OBProxyクラスタに接続可能なOceanBaseクラスタを追加する
        • OBProxyクラスタが接続可能なOceanBaseクラスタを削除する
        • OBProxyパラメータの説明情報を照会する
        • OBProxyクラスタパラメータの確認
        • OBProxyの停止
        • OBProxyの起動
      • データベース管理
        • データベースリストの取得
        • データベースの作成
        • データベースの変更
        • データベースの削除
        • データベースユーザーリストの取得
        • データベースユーザーの詳細を取得する
        • データベースユーザーの作成
        • データベースユーザーの削除
        • データベースユーザーのパスワードを変更する
        • データベースユーザーのロック
        • データベースユーザーのロック解除
        • データベースロール一覧の取得
        • データベースロールの詳細を取得する
        • データベースロールの作成
        • データベースロールの削除
        • データベースオブジェクトリストの取得
        • ユーザーにグローバル権限を付与する
        • ユーザーのグローバル権限を取り消す
        • ユーザーのグローバル権限を変更する
        • ロールにグローバル権限を付与する
        • ロールのグローバル権限を取り消す
        • ロールのグローバル権限の変更
        • ユーザーへのロールの付与
        • ユーザーのロールを取り消す
        • ユーザーのロールを変更する
        • ロールへのロールの付与
        • ロールに付与されているロールを取り消す
        • ロールに付与されているロールを変更する
        • ユーザーにデータベース権限を付与する
        • ユーザーのデータベース権限を取り消す
        • ユーザーのデータベース権限を変更する
        • ユーザーにオブジェクト権限を付与する
        • ユーザーのオブジェクト権限の取り消し
        • ユーザーのオブジェクト権限の変更
        • ロールのオブジェクト権限の付与
        • ロールのオブジェクト権限の取り消し
        • ロールのオブジェクト権限の変更
      • モニタリング
        • モニタリング指標の説明情報を照会する
        • モニタリングデータのクエリ
        • タグ別にモニタリングデータを照会する
      • アラート
        • アラートAPI呼び出し例
        • 現在のアラートを取得する
        • アラート履歴の取得
        • アラートイベントのクエリ
      • 点検
        • 点検タスクリストの取得
        • 点検対象一覧の取得
        • 点検レポートの詳細を取得する
        • 点検の開始
        • 指定した点検項目の直近の点検結果を照会する
        • 特定オブジェクトの直近の点検結果を取得する
      • SQLパフォーマンス
        • SQLクエリのパフォーマンス統計の照会
        • SQLのパフォーマンス統計の傾向を照会する
        • SQLテキストのクエリ
        • 実行計画のパフォーマンス統計の傾向を照会する
        • 実行計画の演算子構造のクエリ
        • スロークエリのリストを照会する
        • スナップショットポイント情報のクエリ
        • パフォーマンスレポートの生成
        • パフォーマンスレポートの取得
      • バックアップ・リストア
        • クラスタのバックアップ機能の確認
        • クラスタのバックアップポリシーを作成する
        • クラスタのバックアップポリシーを変更する
        • クラスタのバックアップポリシーを削除する
        • 指定クラスタのバックアップポリシーを照会する
        • クラスタのバックアップ概要を照会する
        • 特定クラスタのデータバックアップタスクの照会
        • 特定クラスタのログバックアップタスクを照会する
        • 特定クラスタのリストアタスクを照会する
        • 特定クラスタの即時バックアップ
        • クラスタバックアップ情報の解析
        • クラスタのバックアップスケジューリングを開始する
        • クラスタのバックアップスケジューリングを一時停止する
        • テナント/データベース/テーブルの復元を開始する
        • リストアのプレビュー
        • リストアリソースの追加
        • 追加されたリストアリソースのクリア
        • テナントデータのバックアップを開始する
        • テナントのバックアップポリシーを作成する
        • テナントのバックアップポリシーを削除する
        • テナントのデータバックアップタスクを表示する
        • テナントのログバックアップタスクを表示する
        • リストアタスクの表示
        • テナントのバックアップ情報を解析する
        • テナントのバックアップポリシーを照会する
        • テナントのバックアップポリシーを更新する
        • テナントのバックアップスケジューリングの開始
        • テナントのバックアップスケジューリングを一時停止する
        • グローバルバックアップ情報の解析
        • グローバルでテナントの復元を開始する
      • ホスト管理
        • リージョンリストの取得
        • リージョンの詳細を照会する
        • リージョン情報の追加
        • リージョン情報の削除
        • データセンターリストのクエリ
        • データセンターの詳細を照会する
        • 新しいデータセンター情報の追加
        • データセンター情報の削除
        • マシンタイプ一覧の取得
        • マシンタイプの詳細を照会する
        • 新規ホストタイプ情報の追加
        • マシンタイプ情報の削除
        • ホストリストのクエリ
        • ホスト詳細のクエリ
        • ホストの一括追加
        • ホストの削除
        • ホストの一括削除
      • ソフトウェアパッケージ管理
        • ソフトウェアパッケージの一覧を照会する
        • ソフトウェアパッケージのアップロード
        • ソフトウェアパッケージの削除
      • 運用保守タスク管理
        • タスクリストの取得
        • タスクの詳細を照会する
        • タスクの再試行
        • タスクのロールバック
        • サブタスクのログを照会する
        • サブタスクの再試行
        • サブタスクのスキップ
        • サブタスクのキャンセル
      • システム管理
        • ヘルスチェック
          • OCPアプリケーションの基本情報を照会する
          • OCP-Serverの時刻を照会する
          • OCPアプリケーションのステータスを照会する
        • 操作監査
          • 過去のイベントを照会する
        • Agent管理
          • ホストのOCP Agent詳細を照会する
          • ホストのOCP Agentプロセスを停止する
          • ホストのOCP Agentプロセスを一括停止する
          • ホストのOCP Agentプロセスを再起動する
          • ホストのOCP Agentプロセスを一括再起動する
          • ホストのOCP Agentのワーカープロセスリストを照会する
          • ホストのOCP Agentのワーカープロセスを再起動する
          • ホストのOCP Agentのワーカープロセスを停止する
      • 標準運用保守プロセス
        • SOPタイプ一覧の取得
        • 指定されたタイプのデフォルトステップを照会する
        • SOPタスクの作成
        • SOPタスクリストの取得
        • SOPタスクの詳細を照会する
        • SOPタスクの編集
        • SOPタスクの開始
        • SOPタスクの削除
        • SOP実行詳細の照会
        • 次のステップを実行する
        • すべての失敗したステップを再試行する
        • 指定された失敗したステップの再試行
        • 実行されていないステップの自動実行スイッチまたはステップパラメータを更新する
    • モニタリング指標リファレンス
      • モニタリング指標の概要
      • モニタリング指標一覧
      • OceanBaseクラスタ
        • データベースパフォーマンス
          • QPS
          • SQL応答時間
          • TPS
          • トランザクション応答時間
          • セッション数
          • リクエスト待機キュー時間
          • トランザクションログ数
          • トランザクションログ量
          • トランザクションログの処理時間
          • 物理I/O回数
          • 物理I/O時間
          • 物理I/Oスループット
          • トランザクション数
        • OBServerパフォーマンス
          • プロセスメモリ
          • プロセスCPU利用率
          • プロセスファイルハンドル
          • プロセススレッド数
          • テナント500メモリ使用量
          • エラーログ
      • OceanBaseテナント
        • パフォーマンスとSQL
          • QPS
          • レスポンス時間
          • SQL実行計画の種類
          • SQL実行時間
          • セッション数
          • ウェイトイベント
          • イベント待機時間
          • リクエスト待機キュー
          • リクエスト待機キュー時間
          • リクエスト待機キューのサイズ
          • テナントCPU消費
          • テナントスレッド使用率
          • メモリ使用率
          • MEMStore 使用率
          • RPCパケット処理時間
          • RPCパケットスループット
          • オープンカーソル数
          • パラレル実行ワーカースレッド利用率
          • clog同期遅延
          • DB Time
          • SQL実行段階
          • フォアグラウンドワークロード
          • バックグラウンドワークロード
          • RPCリクエスト成功率
          • GTSリクエスト数
          • RPCネットワーク遅延
          • RPCデリバリ失敗
        • トランザクション
          • TPS
          • トランザクション応答時間
          • トランザクション応答時間の詳細
          • トランザクションロールバック比率
          • トランザクションログ数
          • トランザクションログ量
          • トランザクションログの処理時間
          • トランザクションロック待機回数
          • トランザクションロックの平均待機時間
          • トランザクション数
          • トランザクションテーブル読み取りリクエストヒット数
          • パーティション
          • XAトランザクション数
          • XAステートメント数
          • XAステートメントの実行時間
          • MemStoreロック取得成功率
        • ストレージとキャッシュ
          • MEMStore
          • 物理I/O回数
          • 物理I/O時間
          • 物理I/Oスループット
          • キャッシュサイズ
          • キャッシュヒット率
          • キャッシュリクエスト数
          • ベクトルインデックスデータサイズ
          • ベクトルインデックスデータの実際の使用率
          • フリーズ済みMEMStore
          • ログディスク
          • データディスク
          • ダンプパーティション
        • データベースオブジェクト
          • オブジェクト数
        • OBKV_Table
          • QPS
          • レスポンス時間
          • 平均操作行数
        • OBKV_HBase
          • QPS
          • レスポンス時間
          • 平均操作行数
        • OBKV_Redis
          • QPS
          • 応答時間
      • Binlogサービス
        • サブスクリプション接続のモニタリング
          • 送信遅延
          • 送信RPS
          • ネットワークトラフィック
        • Binlogパフォーマンスモニタリング
          • Binlog遅延
          • Binlog RPS
        • Binlogリソースモニタリング
          • CPU
          • メモリ使用量
          • メモリ使用率
          • ディスク使用量
          • ディスク書き込みレート
          • ディスク使用率
          • ファイルFD数
          • NICの送受信トラフィック
      • OBProxyクラスタ
        • TPS
        • QPS
        • クライアント接続
        • サーバー接続
        • SQL応答時間
        • OBProxyメモリ
        • OBProxy CPU使用率
        • OBProxyファイルハンドル数
        • OBProxyスレッド数
        • エラーログ
        • ルートテーブル
        • バイト数
        • RPCセッション数
        • RPCリクエスト数
        • RPCリクエスト処理時間
      • ホスト
        • ホストパフォーマンス
          • Linux システム負荷
          • CPU使用率
          • IO利用率
          • IOキュー長
          • IOPS
          • IO時間
          • I/Oスループット
          • ネットワークスループット
          • TCP再送信率
          • ネットワークパケット送受信
          • NTP時刻のずれ
          • Inode 使用率
        • ホストリソース
          • メモリ
          • メモリ使用率
          • ディスク
        • ホストプロセス
          • プロセス常駐メモリ
          • プロセスCPU利用率
          • プロセスファイルハンドル数
          • プロセススレッド数
          • OCP-Agentプロセスのゴルーチン数
      • AIクラスタ
        • AIクラスタ監視メトリクスの概要
        • Logservice
          • ログの受信と書き込み
          • ログ遅延
          • ログの読み取り
          • FetchLog操作
          • RPCリクエスト
          • HTTPリクエスト
          • GC回収
          • オブジェクトストレージのアップロード
          • スレッドプール
          • プロセスリソース
          • 遅延とステータス
        • 共有ストレージ
          • SSマクロブロックヒット率
          • SSマクロブロックキャッシュサイズ
          • 共有データ
          • ローカルキャッシュのプリウォーム
    • 情報収集リファレンス
      • メジャーコンパクションの異常
        • クラスタZoneのメジャーコンパクション状態情報の収集
        • クラスタで実行中のメジャーコンパクションに関する情報を収集する
        • メジャーコンパクション履歴に基づく提案情報の収集
        • メジャーコンパクション問題診断情報の収集
        • OBカーネルDAG警告情報の収集
        • observer rootserviceタスク情報の収集
        • rootserviceの直近1日間のメジャーコンパクションイベントレコードを収集する
        • Tablet checksum関連情報の収集
        • column checksum関連情報の収集
        • メジャーコンパクション関連パラメータ設定の収集
        • メジャーコンパクション時刻の収集
      • OCP Agentの異常
        • mgragentパニックログの収集
        • monagentパニックログの収集
        • Agent goroutine情報の収集
      • クラスタの異常
        • 不良ディスクの有無に関する情報の収集
        • クラスタのserverノード情報を収集する
        • クラスタノード上のobstack情報を収集する
        • OBServerコアダンプファイルの存在を確認する
        • ホストから「CRASH ERROR」キーワードを含むログの収集
        • sysテナントの接続可能性を確認する
      • CPUの異常
        • クラスタノード上のCPU使用率が高いプロセスのtop情報を収集する
        • observerスレッドのtop情報を収集する
      • データディスクの容量不足
        • クラスタ内ノードのデータディスク使用状況を収集する
        • クラスタのダンプ・メジャーコンパクション中に生成された増分データの収集
        • テナントの一時ファイル使用容量の収集
        • major SSTableの追加バージョンデータサイズの収集
        • ノードのマクロブロック利用率の収集
      • メモリの異常
        • テナントのメモリ使用量トップモジュールの収集
        • OBServerノードのメモリ割り当てサンプリングデータの収集
        • テナントKVCACHE情報の収集
        • メモリリーク検出情報の収集
        • テナントMEMStore情報の収集
      • ホストの異常
        • ホストの/var/log/messagesログの収集
        • ホストのdf -h結果を収集する
      • その他のテナント関連の異常
        • ホストから「dump tenant info」キーワードを含むログの収集
        • ホストから「dump tenant disk usage」というキーワードを含むログの収集
        • ホストから「dump tenant info」キーワードを含むログの収集
    • エラーコードリファレンス
      • OCPエラーコード
      • カーネルエラーコード
        • エラーコード(MySQLモード)
          • エラーメッセージの概要
          • 0001 ~ 3999
          • 4000 ~ 4499
          • 4500 ~ 4999
          • 5000 ~ 5999
          • 6000 ~ 6999
          • 7000 ~ 7999
          • 8000 ~ 8999
          • 9000 ~ 9499
          • 9500 ~ 9999
          • 10000 ~ 12000
          • 22998、30926、38104、38105
        • エラーコード(Oracleモード)
          • エラーメッセージの概要
          • OBE-00000 ~ OBE-00999
          • OBE-01000 ~ OBE-01499
          • OBE-01500 ~ OBE-01999
          • OBE-02000 ~ OBE-04999
          • OBE-05000 ~ OBE-10000
          • OBE-10000 ~ OBE-19999
          • OBE-20000 ~ OBE-29999
          • OBE-30000 ~ OBE-49999
          • OBE-50000 ~ OBE-99999
          • PLS-00000 ~ PLS-00999
  • よくある質問
    • デプロイに関するよくある質問
    • アップグレードに関するよくある質問
    • 運用保守に関するよくある質問
      • アカウントとパスワードに関するよくある質問
      • ホスト管理に関するよくある質問
      • OceanBaseクラスタのよくある質問
      • OceanBaseテナントに関するよくある質問
      • OBProxyに関するよくある質問
      • ソフトウェアパッケージに関するよくある質問
      • バックアップ・リストアに関するよくある質問
    • モニタリングに関するよくある質問
      • モニタリング指標に関するよくある質問
      • SQLモニタリングに関するよくある質問
      • リソーストレンドに関するよくある質問
      • OCP-Agentによる時系列モニタリングデータの取得方法
    • アラートに関するよくある質問
    • OCPシステムのよくある質問
    • OCPマルチクラスタのよくある質問
  • 付録
    • バックグラウンドタスク一覧
    • パーティションガードタスクが管理するテーブル
    • コンポーネントのリスニングポート一覧
    • プロセス一覧
    • OCIのインストールと設定
    • ログストリームのダウングレード制御時間の変更
    • S3プロトコルの説明
    • Grafanaダッシュボード
    • cgroupの設定
    • Slackグループチャットの作成とWebhook URLの取得
    • OCPでPrometheusのHTTPSアクセスを有効にする
    • OCPのSSL設定
  • リリースノート
    • バージョン番号ルール
    • V4.5
      • OCP V4.5.1
      • OCP V4.5.0
    • V4.4
      • OCP V4.4.2
      • OCP V4.4.1
      • OCP V4.4.0
    • V4.3
      • OCP V4.3.6
      • OCP V4.3.5
      • OCP V4.3.4
      • OCP V4.3.3
      • OCP V4.3.2
      • OCP V4.3.1
      • OCP V4.3.0
    • V4.2
      • OCP V4.2.2
      • OCP V4.2.1
      • OCP V4.2.0
    • V4.1
      • OCP V4.1.0
    • V4.0
      • OCP V4.0.3
      • OCP V4.0.2
      • OCP V4.0.1
      • OCP V4.0.0
    • V3.3
      • OCP V3.3.5
      • OCP V3.3.4
      • OCP V3.3.3
      • OCP V3.3.1
      • OCP V3.3.0
    • V3.2
      • OCP V3.2.3
    • V3.1
      • OCP V3.1.2

PDF をダウンロード

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

Create a standby tenant

最終更新:2026-10-13 13:13:40

Background information
Prerequisites
Procedure

If you have a primary tenant or a standby tenant, you can create a standby tenant for the current tenant. OCP supports two scenarios: creating multiple standby tenants for a primary tenant (one-to-many) and creating standby tenants for a standby tenant (cascading).

Background information

OceanBase Database changed the product form of physical standby tenants to tenant-level primary and standby from V4.1.0. In this setup, the primary or standby role belongs to the tenant, which is either a primary tenant or a standby tenant. The cluster no longer has the concept of primary or standby roles but serves as a container for tenants. A primary tenant is a business tenant created by the user, supporting full database capabilities such as queries, DML, and DDL operations. A standby tenant, on the other hand, provides only disaster recovery and read-only services. A tenant-level physical standby solution consists of one primary tenant and multiple standby tenants.

Prerequisites

  • Make sure that the user logged in to OCP has the following privileges:

    • The Cluster Maintenance resource privilege.
    • The Overview menu privilege for tenants.
  • Tenant-level primary and standby features are supported only in OceanBase Database V4.2 and later.

  • The cluster to which the standby tenant belongs is in the running state.

  • A single-node cluster supports only one tenant by default. If you want to create a standby tenant in a single-node cluster, you must purchase the corresponding feature module and then import the license.

  • When creating a standby tenant of a version earlier than OceanBase Database V4.2.1.8, do not use the baseline backup data from 30 days ago to restore the physical standby tenant. This may cause abnormal functionality of the physical standby tenant, affecting tenant compactions.

  • Before you enable the arbitration service for the tenant, make sure that the following conditions are met:

    • The cluster to which the tenant belongs has added the arbitration service, and the arbitration service is in the RUNNING state.

    • The locality of the tenant to which the arbitration service is to be enabled is 2F (F: full-featured replicas) or 4F.

    • The remaining resources on the host where the arbitration service is located meet the resource requirements.

      You can modify the resource requirements in the system parameters based on your business needs. For more information, see Modify system parameters.

      • ocp.arbitration.min.remain.disk.size: the minimum remaining size of the CLOG disk on the host where the arbitration service is enabled, in MB. The value is specified in the format of (a,b), where a and b are the values for 2F and 4F replicas respectively. The default value is [12,24].
      • ocp.arbitration.max.cpu.used.percentage: the maximum CPU usage on the host where the arbitration service is enabled, in %. The default value is 90.
      • ocp.arbitration.max.memory.used.percentage: the maximum memory usage on the host where the arbitration service is enabled, in %. The default value is 90.
  • If the cluster that hosts the primary tenant has enabled SSL encryption and the primary-standby synchronization mode is Network-based, the cluster that hosts the standby tenant must also enable SSL encryption, and the root certificate must be the same as that of the cluster that hosts the primary tenant.

Procedure

A new tenant can be created by using one of the four following methods:

  • Option 1: Log in to OCP, go to the Tenant page, and click Create Tenant in the upper-right corner.

  • Option 2: Log in to the OCP console and go to the Overview page. Click Create Tenant in the upper-right corner.

  • Method 3: Log in to the OCP console and go to the Overview page. In the left-side navigation pane, choose Tenant Management, and click Create Tenant in the upper-right corner.

  • Option 4: Log in to the OCP console and go to the Overview page. Click the More icon in the upper-right corner and choose Create Tenant.

The following steps are given as an example using Entrance 1.

  1. Log in to the OCP console.

  2. In the left-side navigation pane, click Tenant. The system displays the Tenants page.

  3. On the Tenants page, click Create Tenant in the upper-right corner.

  4. Fill in Basic Settings.

    The following table lists the basic settings and their descriptions.

    Configuration
    Description
    Tenant Type Select Standby Tenant.

    Note

    When you create a standby tenant on the overview page of the specified tenant, you cannot select a tenant type. The default is standby tenant.

    OCP Cluster of Primary Tenant Multi-cluster Mode: In multi-cluster mode, select the OCP to which the primary tenant belongs.

    Note

    When you create a secondary tenant by using the Overview page of the specified tenant, you do not need to specify this parameter.

    Cluster of Primary Tenant Select the cluster to which the primary tenant belongs.

    Note

    When you create a backup tenant from the overview page of the specified tenant, the current cluster is selected by default, and cannot be changed.

    Primary Tenant Select the primary tenant to which the standby tenant belongs.

    Note

    When you create a standby tenant on the overview page of the specified tenant, the primary tenant is the current tenant by default and cannot be modified.

    Cluster of Standby Tenant Select the cluster that the secondary tenant belongs to.

    Note

    When you create a secondary tenant on the tenant management page of a specified cluster, the cluster defaults to the current cluster and cannot be modified.

    Standby Tenant Name The standby tenant name must start with an English letter and end with an English letter or a number. It can contain English letters, numbers, and underscores. The length must be 2 to 32 characters.
    Service Name Optional. It's a new method of accessing databases in OceanBase. It can be considered an alias for a cluster name and tenant name, allowing applications to access the database through the service name. For more information, see Manage service names.
    • Must start with an English letter and can include English letters, numbers, and underscores. Must be 2 to 64 characters long.
    • Must meet the following requirements to configure a service name for a tenant:
      • OceanBase: V4.2.1.9, [V4.2.4.0, V4.3.0.0), [V4.3.3.0, +∞)
      • OBProxy: [V4.3.1.0, +∞)

    • Note

      If a primary tenant has already set the Service Name field, it will be automatically populated.

    Primary/Standby Synchronization Method Network-based Synchronization and Archiving-based are supported.
    • Network-based Synchronization synchronizes the logs through the RPC network between the OBServer nodes. You can directly read the logs of the primary tenant by using the ip + port address of the standby tenant. The system defaults to Network-based Synchronization as the primary/standby synchronization method.
    • Archiving-based synchronizes the logs through shared storage. The primary tenant writes the logs to the network disk or the Alibaba Cloud OSS storage, and the standby tenant reads the data from the shared storage. To use Archiving-based method, ensure that archiving is enabled for the current tenant. Otherwise, data cannot be synchronized based on the archiving. For more information about archiving in OCP, see Back up tenants immediately.

    Note

    If the primary/standby relationship already exists (such as in cascading or one-to-many mode), the existing primary/standby synchronization method is used by default and cannot be modified.

    Load Type You can select a load type for a tenant to optimize database performance. You must select a load type based on your actual workload. The following table describes the supported load types.
    • Express OLTP: this load type is suitable for workloads such as core systems in trade and payment, and internet-based applications with high throughput. This load type does not apply to workloads involving foreign keys, stored procedures, long-running transactions, large transactions, complex joins, or complex subqueries.
      Version restriction: OceanBase V4.2.5 or later supports this load type.
    • HTAP: this load type is suitable for workloads involving hybrid online analytical processing (OLAP) and online transaction processing (OLTP). This load type is generally used to gain instant insights from active operational data, fraud detection, and personalized recommendations.
      Version restriction: OceanBase V4.2.5 or later supports this load type.
    • OLAP: this load type is suitable for real-time data warehouse analysis scenarios.
      Version restriction: OceanBase V4.3.0 or later supports this load type.
    • Complex OLTP: this load type is suitable for workloads such as banking and insurance systems. These workloads typically involve complex joins, complex correlated subqueries, PL-written batch jobs, long-running transactions, and large transactions. Parallel execution is sometimes used for queries that run over a short time.
      Version restriction: OceanBase V4.2.5 or later supports this load type.
    • OBKV: this load type is suitable for key-value workloads and wide-column workloads similar to HBase. These workloads typically have very high throughput and are sensitive to latency.
      Version restriction: OceanBase V4.2.5 or later supports this load type.

    Note

    We recommend that you use the same load type as that of the cluster where the tenant resides.

  5. Specify Restore Standby Tenant Settings and set backup set information. You can choose whether to set an independent storage directory for the standby tenant based on different scenarios.

    Note

    When Primary-standby Synchronization Mode is set to Based on the Network and the Redo logs of the primary tenant are complete, there is no need to configure Restore Standby Tenant Settings. You can also click Restore Standby Tenant Using Backup Sets to configure backup set information and restore the standby tenant using the backup set.

    • Set an independent storage directory

      Applies to the scenarios where tenant backups have been performed without using the tenant backup feature of OCP, or where the external backup files of the primary tenant have been copied to a shared storage, and a tenant needs to be restored from these backup files.

      Configuration
      Description
      Backup Set Storage Type Select the storage media for backup files. The value range is as follows:
      • File: local file storage, generally NFS.
      • OSS: Alibaba Cloud OSS, which is supported by OceanBase Database V2.2.76 and later versions.
      • COS: Tencent Cloud COS, which is supported by OceanBase Database V2.2.76 and later versions and before V4.0.0, or V4.2.1 and later versions.
      • S3: supports storage media compatible with the AWS S3 protocol. The supported storage media includes the original AWS S3, HUAWEI Cloud OBS, ChinaNetCenter OBS, and Google GCS. This mode is supported by OceanBase Database V4.2.1-BP7 and later versions. For more information about storage media compatible with the AWS S3 protocol, see Overview of AWS S3 protocol.
      Data Backup Directory Specify the directory where backup data is stored on the current media.
      Log Backup Directory Enter the log storage directory on the current media where the backup file is stored.
      Domain Fill in the domain name of the cloud storage of the backup set.
      • When Backup Set Storage Type is OSS, fill in the domain name of Alibaba Cloud storage. You can add a port number at the end of the domain name, such as: oss.ap-shanghai.myqcloud.com:8080.
      • When Backup Set Storage Type is set to COS, fill in the domain name for objects in Tencent Cloud COS storage, such as: cos.ap-beijing.myqcloud.com.
      User When Backup Set Storage Type is set to OSS, enter the username of the Alibaba Cloud account that grants access to the storage endpoint.
      Resource Identity (APPID) When Backup Set Storage Type is set to COS, the APPID is the unique resource identifier at the user level that the developer has for accessing the COS service. You can obtain the APPID on the API Key Management page of the corresponding service.
      Project ID Displayed only when Backup Set Storage Type is set to COS. Enter the project ID that belongs to the developer, which can be obtained from the API key management page of the corresponding service.
      Access Key When Backup Set Storage Type is set to OSS or COS, provide the access key for the Alibaba Cloud or Tencent Cloud storage.
    • No independent storage directory

      If the tenant was backed up using the backup feature in OCP, you can choose not to set a standalone storage directory. In this case, the system will automatically fill in the relevant storage directory configuration information, which cannot be modified.

      Configuration
      Description
      Storage Directory Specify the storage directory for the backup files on the current media.
      Domain Specify the domain name for accessing the cloud storage endpoint of a backup set.
      • When Backup Set Storage Type is OSS, specify the domain name for accessing the storage endpoint of backup files on Alibaba Cloud. You can add a port number after the domain name, for example: oss.ap-shanghai.myqcloud.com:8080.
      • When Backup Set Storage Type is set to COS, specify the domain name for accessing objects in the Tencent Cloud COS bucket. For example, cos.ap-beijing.myqcloud.com.

    Click Backup Set Verification. The system verifies the accessibility of the directory where the tenant tenant located in the cluster and whether there are any log missing between the maximum recoverable time of the backup set and the current tenant's time. If the verification fails, resolve the issue based on the message displayed.

  6. Specify Standby Tenant Replica Settings.

    The default system displays the configurable Zone list based on the Zone information of the selected cluster. You can click Delete in the operation column of a zone entry to remove the zone from the cluster, if you do not want to replicate data to the zone. The following table describes the required Zone information for each zone.

    Configuration
    Description
    Replica Type Please select multiple all-purpose replicas to ensure the majority are of the all-purpose type.
    • All-Purpose Replica: Currently supports a regular replica with full data and features such as transaction logs, MemTables, and SSTables. It can quickly switch to the leader to provide services as needed.
    • Read-Only Replica: Contains complete logs, MemTables, and SSTables. It does not participate in Paxos log voting as a member but acts as an observer, real-time catching up with Paxos members' logs and replaying them locally.
    • Log Replica: Contains only logs with no MemTables or SSTables. It participates in log voting and provides log services, can help restore other replicas, but cannot take over as the leader to provide database services.
    • Read-Only Columnar Replica: Does not participate in Paxos voting. All baseline data of user tables is stored in a columnar format and only supports read operations, suitable for TP-enhanced mixed workloads (near-real-time decision-making).
      When you select the Read-Only Columnar Replica, the current OceanBase cluster must be associated with at least two OBProxy clusters. One of these must be a dedicated, V4.3.2+ OBProxy cluster for client requests related to the columnar replicas. The cluster must also have the following parameters configured:
      • alter proxyconfig set route_target_replica_type='ColumnStore';
      • alter proxyconfig set proxy_route_policy='TARGET_REPLICA_TYPE_FOLLOWER_ONLY';
      • alter proxyconfig set init_sql='set @@ob_route_policy = COLUMN_STORE_ONLY';
      • alter proxyconfig set obproxy_read_only=0;
      • alter proxyconfig set obproxy_read_consistency=1;

    Note

    • When the cluster is a distributed cluster of V4.3.3 or later, Full-featured Replica, Read-only Replica, and Read-only Columnstore Replica are supported.
    • When the cluster is a distributed cluster of V4.2.0 or later, but earlier than V4.3.3, Full-featured Replica and Read-only Replica are supported.
    • When the cluster is a distributed cluster of V4.0.0 or later, but earlier than V4.2.0, only Full-featured Replica is supported.
    • When the cluster is of V3.x, Full-featured Replica, Read-only Replica, and Log Replica are supported.
    • Standalone clusters support only Full-featured Replica.

    Unit Specifications OCP provides a set of unit specifications. Select one from the following options or click Add Specification at the bottom of the list to add a custom specification. For more information about unit specifications, see OCP unit specifications.

    Notice

    • We recommend that you set the same unit specification and quantity for a full-featured replica. Different unit specifications and quantities may cause performance or stability issues.
    • For tenants whose clusters are V4.0.0 or later, a CPU specification less than one CPU is not supported.
    • The minimum value of the memory specification is limited by the cluster by default. You can adjust the limit by specifying the __min_full_resource_pool_memory parameter. For example, in V4.1.0, see the procedure in Modify a cluster parameter.

    Units Specifies the number of units for the zone. The number of units cannot exceed the number of servers in the zone.
    • For clusters V4.0 and later, you cannot set the number of units at the zone level. The number of units must be the same for all zones (default value is 1).
    • For clusters earlier than V4.0, you can set the number of units to different values for multiple zones.
    • Note

      The number of units for a standalone server is by default set to 1 and cannot be modified.

    Zone Priority Rankings Specifies whether to set the priority order for each tenant's zone. This priority order affects the primary zone for the sys tenant.
    • If not specified, the priority order defaults to the sys tenant's zone priority order.
    • If "Zone Priority Sorting" is enabled and no zone priorities are configured, the priority is random.
    • To configure zone priorities, you can select one or more zones from the left list box and add them to the right list box. The left list box displays all zones in the cluster. By default, zones selected first have a higher priority than those selected later. When multiple zones are selected simultaneously, they have the same priority. After a zone is moved to the right list box, you can drag it to adjust its position within the list box. Zones at the top of the list box have a higher priority than those below.

    Note

    In standalone mode, zone priority sorting is not displayed. Zone1 has the first priority by default.

    Enable Arbitration Service Specifies whether to enable the arbitration service for the tenant. By default, this feature is disabled.

    Note

    • The suggested replica specifications for standby tenants should align with those of the primary tenant.
    • If the primary tenant's replica type is not configured as read-only columnar replicas, standby tenants also should not be configured as read-only columnar replicas.

  7. Open the Parameter Configuration module and configure tenant parameters.

    • If you set a load type in the Basic Settings section, the system selects the corresponding parameter template by default.

    • You can select an item in the list that appears in the form of a series of start-up parameters, as shown in ①, and configure values for the items.

    • You can also click Select Parameter Template at step ② to select a parameter template. The system will automatically fill in the parameters and configurations of the selected template to this section. If you haven't created a tenant parameter template, you can click Create Tenant Template to create one for the tenant. For more information, see Manage tenant parameter templates.

      The system provides four built-in templates that contain common parameter settings. You can apply the templates to initialize the cluster. Description of the built-in templates is as follows.

      Template
      Description
      Default template for COMPLEX_OLTP The Complex OLTP template is applicable only for OceanBase Database V4.2.5 and later.
      Default HTAP parameter template Corresponds to the HTAP workload type and is only applicable to OceanBase Database V4.2.5 and later.
      OLAP Default Template Corresponds to the OLAP workload type and is available only in OceanBase Database V4.3.0 and later.
      Default parameter template for EXPRESS_OLTP Corresponds to the Express OLTP workload type. This template is only valid for OceanBase Database V4.2.5 and later.

    Note

    If your tenant mode is MySQL and the selected parameter template contains parameters defined only for Oracle, you need to manually delete these parameters after the template is populated.
  8. Click Submit.

    The page displays Tenant creation task submitted., which indicates that the task has been successfully submitted. You can view the basic information of the task on this page.

    • You can click the View Task Details button to view the detailed execution progress of the task for creating a tenant.
    • You can also click Return to Tenants List to return to the tenant list page. On this page, you can view the creation status and task details of the created tenant, and delete a tenant that failed to be created.

    Note

    When the task status is Completed and the status of the new tenant is Running in the Members tab of the Cluster Management page, the tenant is created successfully.

次のトピック

製品ニュース
次へ
このページの内容
Background information
Prerequisites
Procedure