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

PLS-00000 to PLS-00999

最終更新:2026-09-04 02:20:48

PLS-00001: PL/SQL common error", "%s
PLS-00103: Encountered the symbol %s when expecting one of the following: %s
PLS-00109: unknown exception name '%.*s' in PRAGMA EXCEPTION_INIT
PLS-00113: END identifier '%.*s' must match '%.*s
PLS-00114: identifier ' %.*s' too long
PLS-00115: this PRAGMA must follow the declaration of '%.*s
PLS-00119: Duplicate having-clause in table expression
PLS-00124: name of exception expected for first arg in exception_init pragma
PLS-00128: Illegal number of arguments for pragma EXCEPTION_INIT
PLS-00130: Pragma %s expects 1st argument to be a procedure/function/package/cursor
PLS-00132: Pragma %s does not support %.*s
PLS-00154: An object type may have only 1 MAP or 1 ORDER method
PLS-00155: Only a function may be a MAP, ORDER or CONSTRUCTOR method
PLS-00157: Only schema-level programs
PLS-00168: string'", "duplicate modifier specification '%s'
PLS-00169: modifier '%s' conflicts with prior '%s' specification
PLS-00172: string literal too long
PLS-00179: $ERROR: %.*s
PLS-00182: Identifier cannot be an empty string
PLS-00201: identifier '%.*s' must be declared
PLS-00204: function or pseudo-column '%s' may be used inside a SQL statement only
PLS-00206: %%TYPE must be applied to a variable, column, field or attribute, not to '%.*s'
PLS-00218: a variable declared NOT NULL must have an initialization assignment
PLS-00221: %s' is not a procedure or is undefined
PLS-00222: no function with name '%.*s' exists in this scope
PLS-00225: subprogram or cursor '%.*s' reference is out of scope
PLS-00227: subprogram 'in' formal %.*s is not yet denotable
PLS-00230: OUT and IN OUT formal parameters may not have default expressions
PLS-00231: function '%.*s' may not be used in SQL
PLS-00254: OUT and IN/OUT modes cannot be used in this context
PLS-00263: mismatch between string on a subprogram specification and body
PLS-00301: Invalid GOTO to non-label '%.*s'
PLS-00302: component '%.*s' must be declared
PLS-00304: cannot compile body of '%.*s' without its specification
PLS-00305: previous use of '%.*s' conflicts with this use
PLS-00306: wrong number or types of arguments in call to '%.*s'
PLS-00307: too many declarations of '%.*s' match this call
PLS-00310: with %%ROWTYPE attribute, '%.*s' must name a table, cursor or cursor-variable
PLS-00312: a positional parameter association may not follow a named association
PLS-00315: Implementation restriction: unsupported table index type
PLS-00316: PL/SQL TABLEs must use a single index
PLS-00318: type '%.*s' is malformed because it is a non-REF mutually recursive type
PLS-00320: the declaration of the type of this expression is incomplete or malformed
PLS-00321: expression '%.*s' is inappropriate as the left hand side of anassignment statement
PLS-00322: declaration of a constant '%.*s' must contain an initialization assignment
PLS-00323: subprogram or cursor '%.*s' is declared in a package specification and must be defined in the package body
PLS-00325: non-integral numeric literal %.*s is inappropriate in this context
PLS-00328: A subprogram body must be defined for the forward declaration of %.*s
PLS-00329: schema-level type has illegal reference to %.*s
PLS-00357: Table,View Or Sequence reference '%s%s%s%s%s' not allowed in this context
PLS-00360: cursor declaration without body needs return type
PLS-00361: IN cursor '%.*s' cannot be OPEN'ed
PLS-00362: invalid cursor return type; '%.*s' must be a record type
PLS-00363: expression '%.*s' cannot be used as an assignment
PLS-00366: subtype of a not null type must also be not null
PLS-00367: a RAISE statement with no exception name must be inside an exception handler
PLS-00369: no choices may appear with choice OTHERS in an exception handler
PLS-00370: OTHERS handler must be last among the exception handlers of a block
PLS-00371: at most one declaration for '%.*s' is permitted
PLS-00372: In a procedure, RETURN statement cannot contain an expression
PLS-00373: EXIT/CONTINUE label '%.*s' must label a LOOP statement
PLS-00375: illegal GOTO statement; this GOTO cannot branch to label '%.*s'
PLS-00376: illegal EXIT/CONTINUE statement; it must appear inside a loop
PLS-00382: expression is of wrong type
PLS-00386: type mismatch found at '%.*s' between FETCH cursor and INTO variables
PLS-00394: wrong number of values in the INTO list of a FETCH statement
PLS-00402: alias required in SELECT list of cursor to avoid duplicate column names
PLS-00403: expression '%.*s' cannot be used as an INTO-target of a SELECT/FETCH statement
PLS-00404: cursor '%.*s' must be declared with FOR UPDATE to use with CURRENT OF
PLS-00410: duplicate fields in RECORD,TABLE or argument list are not permitted
PLS-00413: identifier in CURRENT OF clause is not a cursor name
PLS-00428: an INTO clause is expected in this SELECT statement
PLS-00430: FORALL iteration variable %.*s is not allowed in this context
PLS-00432: implementation restriction: cannot use FORALL and BULK COLLECT INTO together in SELECT statements
PLS-00435: DML statement without BULK In-BIND cannot be used inside FORALL
PLS-00438: value in LIMIT clause \'%.*s\' use is invalid
PLS-00439: A LIMIT clause must be used within a BULK FETCH
PLS-00441: EXIT/CONTINUE statement may have a label here; '%.*s' is not a label
PLS-00452: Subprogram '%.*s' violates its associated pragma
PLS-00455: cursor '%.*s' cannot be used in dynamic SQL OPEN statement
PLS-00457: expressions have to be of SQL types
PLS-00485: in exception handler, '%.*s' must be an exception name
PLS-00488: ' %.*s' must be a type
PLS-00491: numeric literal required
PLS-00492: variable or constant initialization may not refer to functions declared in the same package
PLS-00497: cannot mix between single row and multi-row (BULK) in INTO list
PLS-00503: RETURN value statement required for this return from function
PLS-00520: MAP methods must be declared without any parameters other than (optional) SELF
PLS-00521: ORDER methods must be declared with 1 (one) parameter in addition to (optional) SELF
PLS-00522: MAP methods must return a scalar type
PLS-00523: ORDER methods must return an INTEGER
PLS-00524: The parameter type in an ORDER method must be the containing object type
PLS-00525: Within SQL statements, only equality comparisons of objects are allowed without a map or order function
PLS-00526: A MAP or ORDER function is required for comparing objects in PL/SQL
PLS-00527: MAP or ORDER functions require a PRAGMA RESTRICT_REFERENCES specifying :WNDS,WNPS,RNPS,RNDS
PLS-00528: The parameters to an ORDER function must have IN mode
PLS-00530: Illegal type used for object type attribute: '%.*s'
PLS-00531: Unsupported type in a VARRAY or TABLE type: '%.*s'
PLS-00537: A VARRAY must have a positive limit
PLS-00538: subprogram or cursor '%.*s' is declared in an object type specification and must be defined in the object type body
PLS-00539: subprogram '%.*s' is declared in an object type body and must be defined in the object type specification
PLS-00551: character set ANY_CS is only allowed on a subprogram parameter
PLS-00566: type name '%.*s' cannot be constrained
PLS-00567: cannot pass NULL to a NOT NULL constrained formal parameter
PLS-00572: improper constraint form used
PLS-00586: a static method cannot declare a parameter named SELF
PLS-00587: a static method cannot be invoked on an instance value
PLS-00589: no attributes found in object type '%.*s'
PLS-00593: default value of parameter '%.*s' in body must match that of spec
PLS-00597: expression '%.*s' in the INTO list is of wrong type
PLS-00594: the SELF parameter can be declared only as IN or as IN OUT
PLS-00617: at least one result in the CASE expression must not be NULL
PLS-00619: the first operand in the NULLIF expression must not be NULL
PLS-00621: at least one operand in the COALESCE expression must not be NULL
PLS-00629: PIPE statement cannot be used in non-pipelined functions
PLS-00630: pipelined functions must have a supported collection return type
PLS-00633: RETURN statement in a pipelined function cannot contain an expression
PLS-00642: local collection types not allowed in SQL statements
PLS-00652: incorrect number of arguments for aggregate function
PLS-00655: only functions can be declared as PIPELINED
PLS-00657: Implementation restriction: bulk SQL with associative arrays with VARCHAR2 key is not supported
PLS-00658: constructor method name must match type name
PLS-00659: constructor method must return SELF AS RESULT
PLS-00660: SELF parameter of constructor method must be IN OUT
PLS-00661: RETURN statement in a CONSTRUCTOR cannot include an expression
PLS-00667: Element type of associative array should be pls_integer or binary_integer
PLS-00668: Type of expression should be a collection type
PLS-00674: references to fields of BULK In-BIND table of records or objects must have the form A(I).F
PLS-00675: invalid section for this type of Compound Trigger
PLS-00676: duplicate Compound Triggers section
PLS-00701: illegal ORACLE error number %.*s for PRAGMA EXCEPTION_INIT
PLS-00702: second argument to PRAGMA EXCEPTION_INIT must be a numeric literal
PLS-00708: Pragma %.*s must be declared in a package specification
PLS-00709: pragma %.*s must be declared in package specification and body
PLS-00710: Pragma string cannot be specified here", "Pragma %s cannot be specified here
PLS-00711: PRAGMA string cannot be declared twice", "PRAGMA %.*s cannot be declared twice
PLS-00712: illegal option for subprogram %.*s
PLS-00742: field %.*s is not yet denotable
PLS-00904: insufficient privilege to access object string
PLS-00905: object '%.*s' is invalid
PLS-00990: Index Tables of Cursor Variables are disallowed
PLS-00994: Cursor Variables cannot be declared as part of a package
PLS-00999: implementation restriction (may be temporary) %s

Applicability

This topic applies only to the Oracle-compatible mode OceanBase Database.

PLS-00001: PL/SQL common error", "%s

  • Error code in OceanBase Database: 9656

  • SQLSTATE: HY000

  • Cause: An unexpected symbol appears.

  • Solution: Change the unexpected symbol that appears in the position with the error.

PLS-00103: Encountered the symbol %s when expecting one of the following: %s

  • Error code in OceanBase Database: 9700

  • SQLSTATE: HY000

  • Cause: The parser found a token (language element) that is inappropriate in this context.

  • Solution: Check the previous tokens as well as the one given in the error message. The line and column numbers given in the error message refer to the end of the faulty language construct.

PLS-00109: unknown exception name '%.*s' in PRAGMA EXCEPTION_INIT

  • Error code in OceanBase Database: 9583

  • SQLSTATE: HY000

  • Cause: The declaration of the exception name referenced in the EXCEPTION_INIT pragma is not found in the scope of pragmas.

  • Solution: Make sure that the pragmas comply with the exception declaration and are within the same scope.

PLS-00113: END identifier '%.*s' must match '%.*s

  • Error code in OceanBase Database: 9659

  • SQLSTATE: HY000

  • Cause: The keyword END terminates some language constructs, such as loops, blocks, functions, and procedures. Following this keyword, you can optionally place the name of such a construct. For example, at the end of the definition of loop L, you might write END L. This error occurs when the optional name does not match the name given to the language construct. It is usually caused by a misspelled identifier or by faulty block structure.

  • Solution: Make sure that the spelling of the END identifier matches the name given to the language construct and that the block structure is correct.

PLS-00114: identifier ' %.*s' too long

  • Error code in OceanBase Database: 9526

  • SQLSTATE: HY000

  • Cause: The name of the PL variable exceeds 128 characters. The maximum length of a valid identifier, including the quotation marks, is 128 characters. A string may be incorrectly enclosed by double quotation marks instead of single quotation marks, and PL considers it an identifier with quotation marks.

  • Solution: Shorten the identifier.

PLS-00115: this PRAGMA must follow the declaration of '%.*s

  • Error code in OceanBase Database: 9622

  • SQLSTATE: HY000

  • Cause: The pragma refers to a PL/SQL object that was not declared or is not within the scope of the reference. Identifiers must be declared before they are used in a pragma. Forward references are not allowed.

  • Solution: Check the spelling and declaration of the identifier. In addition, confirm that the declaration is placed correctly in the block structure.

PLS-00119: Duplicate having-clause in table expression

  • Error code in OceanBase Database: 9501

  • SQLSTATE: HY000

  • Cause: The SELECT statement contains two or more HAVING clauses.

  • Solution: Delete one HAVING clause, and use AND or OR to connect logical expressions when necessary.

PLS-00124: name of exception expected for first arg in exception_init pragma

  • Error code in OceanBase Database: 9674

  • SQLSTATE: HY000

  • Cause: The first argument passed to the EXCEPTION_INIT pragma was not an exception name.

  • Solution: Replace the first argument with the name of a legally declared exception.

PLS-00128: Illegal number of arguments for pragma EXCEPTION_INIT

  • Error code in OceanBase Database: 9675

  • SQLSTATE: HY000

  • Cause: The number of arguments (actual parameters) passed to the named pragma (compiler directive) is incorrect. A required argument was omitted from the argument list, or the pragma syntax contains errors. For example, a comma might be missing between two parameters.

  • Solution: Specify the missing argument or correct the faulty syntax.

PLS-00130: Pragma %s expects 1st argument to be a procedure/function/package/cursor

  • Error code in OceanBase Database: 9661

  • SQLSTATE: HY000

  • Cause: The first argument (actual parameter) passed to the named pragma (compiler directive) was not the name of a subprogram, package, or cursor, as required. The parameter might be misspelled, or the pragma syntax might contain errors. For example, a comma might be missing between two parameters.

  • Solution: Check the spelling of the first argument, and make sure that the proper syntax is used.

PLS-00132: Pragma %s does not support %.*s

  • Error code in OceanBase Database: 9658

  • SQLSTATE: HY000

  • Cause: One of the parameters passed to this pragma was not among the list of allowed values. The parameter might be misspelled, or the pragma syntax might contain errors. For example, a comma might be missing between two parameters.

  • Solution: Check the spelling of all parameters, and make sure that the proper syntax is used.

PLS-00154: An object type may have only 1 MAP or 1 ORDER method

  • Error code in OceanBase Database: 9523

  • SQLSTATE: HY000

  • Cause: Multiple MAP or ORDER functions were declared. One object type can have only one MAP or ORDER function.

PLS-00155: Only a function may be a MAP, ORDER or CONSTRUCTOR method

  • Error code in OceanBase Database: 9525

  • SQLSTATE: HY000

  • Cause: A procedure is declared as the MAP, ORDER, or CONSTRUCTOR method. Only functions can be declared as the MAP, ORDER, or CONSTRUCTOR method.

PLS-00157: Only schema-level programs

allow %s

  • Error code in OceanBase Database: 9506

  • SQLSTATE: HY000

  • Cause: The AUTHID or DEFAULT COLLATION clause is specified for a program package or type. Only mode-level stored procedures, program packages, and types support these clauses.

  • Solution: Delete the clause.

PLS-00168: string'", "duplicate modifier specification '%s'

  • Error code in OceanBase Database: 9643

  • SQLSTATE: HY000

  • Cause: A method or object type modifier was specified repeatedly.

  • Solution: Retain only one modifier and remove all other duplicate ones.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00169: modifier '%s' conflicts with prior '%s' specification

  • Error code in OceanBase Database: 9642

  • SQLSTATE: HY000

  • Cause: The method or object type modifier specified conflicts with an earlier modifier. For example, a FINAL modifier cannot be combined with a NOT FINAL modifier.

  • Solution: Remove one of the conflicting modifiers.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00172: string literal too long

  • Error code in OceanBase Database: 9644

  • SQLSTATE: HY000

  • Cause: The string literal was longer than 32,767 bytes.

  • Solution: Use a string literal of at most 32,767 bytes.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00179: $ERROR: %.*s

  • Error code in OceanBase Database: 9540

  • SQLSTATE: HY000

  • Cause: The $ERROR directive is used.

PLS-00182: Identifier cannot be an empty string

  • Error code in OceanBase Database: 9657

  • SQLSTATE: HY000

  • Cause: The identifier was declared using an empty string.

  • Solution: Rename the identifier to a non-empty string.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00201: identifier '%.*s' must be declared

  • Error code in OceanBase Database: 5543 and 5546

  • SQLSTATE: 42000

  • Cause:

    • An undeclared variable, exception, or procedure was referenced.

    • An item to which no privilege was granted was referenced.

    • An item to which privileges were granted only through a role was referenced.

    • A stored object, such as a program package, procedure, function, trigger, or view, runs in the security zone of the object owner, and no other roles except PUBLIC are enabled.

  • Solution:

    • Check the spelling and declaration of the referenced item name.

    • Check whether the declaration of the referenced item is correctly placed in the block structure.

    • If you are sure that the referenced item is declared and you are authorized to reference this item, check your privileges.

PLS-00204: function or pseudo-column '%s' may be used inside a SQL statement only

  • Error code in OceanBase Database: 9682

  • SQLSTATE: HY000

  • Cause: A pseudo column or a proscribed function is used in the procedural statement. SQL pseudo columns such as LEVEL, ROWID, and ROWNUM can be used only in SQL statements. Similarly, some functions (such as DECODE, DUMP, and VSIZE) and SQL group functions (AVERAGE, MIN, MAX, COUNT, SUM, STDEV, and VARIANCE) can be used only in SQL statements.

  • Solution: Delete the pseudo column reference or function call statement from the procedural statement, or replace the procedural statement with the SELECT INTO statement. For example, replace bonus := DECODE(rating, 1, 5000, 2, 2500, ...); with SELECT DECODE(rating, 1, 5000, 2, 2500, ...) INTO bonus FROM dual;.

PLS-00206: %%TYPE must be applied to a variable, column, field or attribute, not to '%.*s'

  • Error code in OceanBase Database: 9547

  • SQLSTATE: HY000

  • Cause: The program object declared by using the %TYPE data type attribute is not of the appropriate class. The data type must be variable, column, record group, subprogram parameter, or another object that supports value assignment.

  • Solution: Add an initialization clause to the variable declaration. If the syntax of the initialization clause is complex, you can add a function call in place of the syntax.

PLS-00218: a variable declared NOT NULL must have an initialization assignment

  • Error code in OceanBase Database: 9514

  • SQLSTATE: HY000

  • Cause: In a declaration, a variable without an initialization clause is automatically initialized into NULL, which is illogical for a NOT NULL variable. Therefore, an initialization clause is needed.

  • Solution: Add an initialization clause to the variable declaration. If the syntax of the initialization clause is complex, you can add a function call in place of the syntax.

PLS-00221: %s' is not a procedure or is undefined

  • Error code in OceanBase Database: 9683

  • SQLSTATE: HY000

  • Cause: An identifier being referenced as a procedure was not declared or actually represents another object. For example, it might have been declared as a function.

  • Solution: Check the spelling and declaration of the identifier. In addition, confirm that the declaration is placed correctly in the block structure.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00222: no function with name '%.*s' exists in this scope

  • Error code in OceanBase Database: 9627

  • SQLSTATE: HY000

  • Cause: An identifier being referenced as a function was not declared or actually represents another object. For example, it might have been declared as a procedure.

  • Solution: Check the spelling and declaration of the identifier. In addition, confirm that the declaration is placed correctly in the block structure.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00225: subprogram or cursor '%.*s' reference is out of scope

  • Error code in OceanBase Database: 9628

  • SQLSTATE: HY000

  • Cause: The prefix in a qualified name was a subprogram or cursor beyond an enclosing scope. In other words, a subprogram or cursor name is being used as a scope qualifier for a reference to an entity (within that subprogram or cursor) that is not in scope. Here is an example: declare x number; type t1 is record (a number); function f return t1 is a number; begin x := f.a;

    • Legal use of function "f" as a scope qualifier

      • Resolves to local variable "a" in function x := f().a;

      • Legal reference to component "a" of the returned record end

    • Illegal use of function "f" as a scope qualifier x := f().a; and legal reference to component "a" of the returned record end

  • Solution:

    • If you intend to refer to a local variable of a non-enclosing function, this is not allowed. You must remove the reference.

    • If this is a parameterless function, and you intend to access a field of the function call result, use empty parentheses in the call.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00227: subprogram 'in' formal %.*s is not yet denotable

  • Error code in OceanBase Database: 9598

  • SQLSTATE: HY000

  • Cause: When the formal parameters of a subprogram were declared, one parameter was used to initialize another, for example: PROCEDURE my_proc (j NUMBER, k NUMBER := j) IS .... The first parameter has no value until runtime. Therefore, it cannot be used to initialize another parameter.

  • Solution: Remove the illegal formal parameter reference.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00230: OUT and IN OUT formal parameters may not have default expressions

  • Error code in OceanBase Database: 9599

  • SQLSTATE: HY000

  • Cause: When the formal parameters of a procedure were declared, an OUT or IN-OUT parameter was initialized to a default value, for example: PROCEDURE calc_bonus (bonus OUT REAL := 0, ...) IS .... However, only the IN parameter can be initialized to the default value.

  • Solution: Remove the illegal default expression.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00231: function '%.*s' may not be used in SQL

  • Error code in OceanBase Database: 9668

  • SQLSTATE: HY000

  • Cause: A prohibited function was used in an SQL statement. Certain functions such as SQLCODE and SQLERRM can be used only in procedural statements.

  • Solution: Remove the call to the function from the SQL statement. Alternatively, use a local variable to replace the function call. For example, the following statement is illegal: INSERT INTO errors VALUES (SQLCODE, SQLERRM);. However, you can assign the values of SQLCODE and SQLERRM to local variables and then use the variables in the SQL statement, as in err_num:=SQLCODE; err_msg:=SQLERRM; INSERT INTO errors VALUES (err_num, err_msg);.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00254: OUT and IN/OUT modes cannot be used in this context

  • Error code in OceanBase Database: 9502

  • SQLSTATE: HY000

  • Cause: The actual parameter mode (OUT or IN/OUT) is not properly used in the USING clause. For the USING clause in the OPEN statement, only the IN mode is allowed.

  • Solution: Change the parameter mode in the USING clause to the correct mode.

PLS-00263: mismatch between string on a subprogram specification and body

  • Error code in OceanBase Database: 9602

  • SQLSTATE: HY000

  • Cause: An ACCESSIBLE BY clause was specified in a package body for an item with no equivalent clause in the package specification. In a package body, this clause can be specified only on externally visible subprograms, and the subprogram specification and body must have equivalent clauses. You cannot specify this clause on package-local or nested subprograms.

  • Solution: Modify the clause on the subprogram body for compliance with the specification errors until 300 PH2 errors are reserved for external procedures.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00301: Invalid GOTO to non-label '%.*s'

  • Error code in OceanBase Database: 9667

  • SQLSTATE: HY000

  • Cause: A GOTO statement was converted into something which is not a label (such as a variable).

  • Solution: Specify a valid label name.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00302: component '%.*s' must be declared

  • Error code in OceanBase Database: 9681

  • SQLSTATE: HY000

  • Cause: A referenced component (for example, in the name "a.B", "B" is a component of "a") has not been declared. The error might be caused by component misspelling, incorrect declaration, or incorrect declaration position in the block structure.

  • Solution: Check the spelling and declaration of the component. In addition, confirm that the declaration is placed correctly in the block structure.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00304: cannot compile body of '%.*s' without its specification

  • Error code in OceanBase Database: 9520

  • SQLSTATE: HY000

  • Cause: The program package specification required for compiling the body of the program package cannot be found. The possible causes are as follows:

    • The name of the software package is misspelled.

    • The software package specification is never compiled.

    • The compiled software package specification cannot be accessed. The software package specification must be compiled before the body of the software package is compiled, and the compiler must have the privilege to access the compiled specification.

  • Solution:

    • Check the spelling of the software package name.

    • Compile the program package specification before you compile the body of the program package.

    • Make sure that the compiler can access the compiled specification.

PLS-00305: previous use of '%.*s' conflicts with this use

  • Error code in OceanBase Database: 9529

  • SQLSTATE: HY000

  • Cause: When the compiler searches for the predeclaration of a cursor, procedure, function, or program package, it finds another object with the same name in the same action scope, or the name in the header of the subprogram does not match the name in the body.

  • Solution:

    1. Check the spelling of the cursor, procedure, function, or program package name.

    2. Check the names of all constants, variables, parameters, and exceptions declared in the same action scope.

    3. Delete or rename objects with duplicate names.

    4. Modify the name in the header of the subprogram so that it matches the name in the body of the program.

PLS-00306: wrong number or types of arguments in call to '%.*s'

  • Error code in OceanBase Database: 9542

  • SQLSTATE: HY000

  • Cause: A subprogram call does not match any declaration of the subprogram name. The possible causes are as follows:

    • The subprogram name is misspelled.

    • The data type of a parameter is incorrect.

    • The declaration is incorrect or is incorrectly placed in a block structure. For example, the built-in square root function SQRT is called by using a misspelled name or a parameter with an invalid data type.

  • Solution:

    • Check the spelling and declaration of the subprogram name.

    • Make sure that the subprogram call is correct.

    • Make sure that the parameters are of correct data types.

    • Make sure that the declaration is correctly placed in a block structure if the function is not a built-in function.

PLS-00307: too many declarations of '%.*s' match this call

  • Error code in OceanBase Database: 9544

  • SQLSTATE: HY000

  • Cause: The declaration of a subprogram or cursor name is ambiguous. This is because the declaration and call do not exactly match and multiple declarations match the call during the implicit conversion of parameter data types. The possible causes are as follows:

    • The subprogram or cursor name is misspelled.

    • The declaration is incorrect.

    • The declaration is not correctly placed in a block structure.

  • Solution:

    • Check the spelling and declaration of the subprogram or cursor name.

    • Make sure that the call is correct.

    • Make sure that the parameters are of correct data types.

    • Place the declaration properly in a block structure if the function is not a built-in function.

PLS-00310: with %%ROWTYPE attribute, '%.*s' must name a table, cursor or cursor-variable

  • Error code in OceanBase Database: 9586

  • SQLSTATE: HY000

  • Cause: The %ROWTYPE attribute must be applied to an identifier declared as a cursor, cursor variable, or database table. This error occurs when %ROWTYPE follows an identifier that has not been declared.

  • Solution: Change the declaration or do not apply the %ROWTYPE attribute to the identifier.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00312: a positional parameter association may not follow a named association

  • Error code in OceanBase Database: 9653

  • SQLSTATE: HY000

  • Cause: When a parameter list is passed to a subprogram or cursor, if both positional and named associations are used, all positional associations must be placed in their declared order and before all named associations, which can be in any order.

  • Solution: Reorder parameters in the list to meet the requirements or use named associations only.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00315: Implementation restriction: unsupported table index type

  • Error code in OceanBase Database: 9610

  • SQLSTATE: HY000

  • Cause: A data type other than BINARY_INTEGER, PLS_INTEGER, or VARCHAR2 was specified in the INDEX BY clause of a PL/SQL table declaration. A PL/SQL table can have one column and a primary key. The column can be of any scalar type, but the primary key must be of either the BINARY_INTEGER or VARCHAR2 type.

  • Solution: Use a supported key type in the INDEX BY clause.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00316: PL/SQL TABLEs must use a single index

  • Error code in OceanBase Database: 9631

  • SQLSTATE: HY000

  • Cause: A composite primary key was specified in the INDEX BY clause of a PL/SQL table declaration. A PL/SQL table must have a simple, unnamed primary key of the BINARY_INTEGER or VARCHAR2 type.

  • Solution: Use a supported key type in the INDEX BY clause.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00318: type '%.*s' is malformed because it is a non-REF mutually recursive type

  • Error code in OceanBase Database: 9539

  • SQLSTATE: HY000

  • Cause: The type declaration is in incorrect format because the declaration contains a mutually recursive non-reference relationship. The possible causes are as follows:

    • A recursive self-reference is included.

    • A mutually recursive reference is included.

  • Solution: Use another type in the declaration to avoid recursion.

PLS-00320: the declaration of the type of this expression is incomplete or malformed

  • Error code in OceanBase Database: 9597

  • SQLSTATE: HY000

  • Cause: A variable or cursor name in the declaration is misspelled, or the declaration contains a forward reference. Forward references are not allowed in PL/SQL. A variable or cursor must be declared before it is referenced in other statements, including other declarative statements. For example, a declaration of dept_rec causes this exception because it references an undeclared cursor dept_cur. Here is an example:

    DECLARE dept_rec dept_cur%ROWTYPE; 
    CURSOR dept_cur IS SELECT ...
    
  • Solution: Check the spelling of all identifiers in the declaration. Change the position of the declaration to eliminate forward references if necessary.

PLS-00321: expression '%.*s' is inappropriate as the left hand side of anassignment statement

  • Error code in OceanBase Database: 9513

  • SQLSTATE: HY000

  • Cause: This expression appears on the left side of an assignment statement, which is not allowed. For example, SYSDATE: = '01 -JAN-1990'; is not allowed because the function SYSDATE cannot appear on the left side of the assignment statement.

  • Solution: Modify the assignment statement.

PLS-00322: declaration of a constant '%.*s' must contain an initialization assignment

  • Error code in OceanBase Database: 9515

  • SQLSTATE: HY000

  • Cause: The constant declaration does not contain an initial value.

  • Solution: Modify the constant declaration.

PLS-00323: subprogram or cursor '%.*s' is declared in a package specification and must be defined in the package body

  • Error code in OceanBase Database: 9585

  • SQLSTATE: HY000

  • Cause: A cursor or subprogram declared in the package header is not defined in the package body.

  • Solution: Check the spelling of the subprogram name. Add the missing subprogram body to the package body if necessary.

PLS-00325: non-integral numeric literal %.*s is inappropriate in this context

  • Error code in OceanBase Database: 9605 and 9670

  • SQLSTATE: HY000

  • Cause: A non-integral numeric literal is used in a context that requires an integer.

  • Solution: Replace the inappropriate literal with an integral literal.

PLS-00328: A subprogram body must be defined for the forward declaration of %.*s

  • Error code in OceanBase Database: 9587

  • SQLSTATE: HY000

  • Cause: A subprogram specification was declared, but the corresponding subprogram body was not defined. The subprogram specification and body should be written as one unit, or the specification should be separated from its body, which is necessary when you want to define mutually recursive subprograms or to group subprograms in a package.

  • Solution: Check the spelling of the subprogram name. Provide the missing subprogram body if necessary.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00329: schema-level type has illegal reference to %.*s

  • Error code in OceanBase Database: 9609

  • SQLSTATE: HY000

  • Cause: You are attempting to make a reference from a schema-level type to something other than a schema-level type.

  • Solution: Replace the illegal reference and retry the operation.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00357: Table,View Or Sequence reference '%s%s%s%s%s' not allowed in this context

  • Error code in OceanBase Database: 9680

  • SQLSTATE: HY000

  • Cause: A reference to a database table, view, or sequence was found in an inappropriate context. Such references can appear only in SQL statements or (excluding sequences) in the declarations of %TYPE and %ROWTYPE. Here are some valid examples: SELECT ename, emp.deptno, dname INTO my_ename, my_deptno, my_dept .FROM emp, dept WHERE emp.deptno = dept.deptno; DECLARE last_name emp.ename %TYPE; dept_rec dept%ROWTYPE;.

  • Solution: Remove or relocate the illegal reference.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00360: cursor declaration without body needs return type

  • Error code in OceanBase Database: 9595

  • SQLSTATE: HY000

  • Cause: Either a body (SELECT statement) or a return type is missing in a cursor declaration. If you want to separate a cursor specification from its body, you must provide a return type, as in CURSOR c1 RETURN emp%ROWTYPE;.

  • Solution: Add a SELECT statement or return type to the cursor declaration.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00361: IN cursor '%.*s' cannot be OPEN'ed

  • Error code in OceanBase Database: 9594

  • SQLSTATE: HY000

  • Cause: A cursor parameter with mode IN cannot be modified, and therefore cannot be opened.

  • Solution: Change the cursor parameter mode to IN-OUT or OUT.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00362: invalid cursor return type; '%.*s' must be a record type

  • Error code in OceanBase Database: 9593

  • SQLSTATE: HY000

  • Cause: In a cursor specification or the definition of a REF CURSOR type, a non-record type such as NUMBER or TABLE was specified as the return type. This is not allowed. Only return types in the following code are allowed: <record_type_name><record_name>%type<table_name>%ROWTYPE<cursor_name>%ROWTYPE<cursor_variable_name>%ROWTYTPE.

  • Solution: Revise the cursor specification or the definition of the REF CURSOR type to specify one of the above return types.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00363: expression '%.*s' cannot be used as an assignment

  • Error code in OceanBase Database: 9550

  • SQLSTATE: HY000

  • Cause: A literal, constant, IN parameter, counter variable in LOOP, or function call is incorrectly used in the statement.

  • Solution: Modify the statement expression.

PLS-00366: subtype of a not null type must also be not null

  • Error code in OceanBase Database: 9684

  • SQLSTATE: HY000

  • Cause: A subtype defined as NOT NULL is used as the base type for another subtype defined as NULL. For example, DECLARE SUBTYPE Weekday IS INTEGER NOT NULL; SUBTYPE Weekend IS Weekday;.

  • Solution: Modify the subtype definition.

PLS-00367: a RAISE statement with no exception name must be inside an exception handler

  • Error code in OceanBase Database: 9592

  • SQLSTATE: HY000

  • Cause: A RAISE statement with no exception name followed was found outside an exception handler.

  • Solution: Delete the RAISE statement, relocate it to an exception handler, or provide the missing exception name.

Note

This error code is introduced since OceanBase Database V3.2.4.

PLS-00369: no choices may appear with choice OTHERS in an exception handler

  • Error code in OceanBase Database: 9596

  • SQLSTATE: HY000

  • Cause: A construct in the WHEN excep1 OR OTHERS form was detected in the definition of an exception handler. The OTHERS handler must appear by itself as the last exception handler in a block.

  • Solution: Remove any identifier that appears with OTHERS or write a separate exception handler for that identifier.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00370: OTHERS handler must be last among the exception handlers of a block

  • Error code in OceanBase Database: 9591

  • SQLSTATE: HY000

  • Cause: One or more exception handlers are placed after an OTHERS handler. However, the OTHERS handler must be the last handler in a block or subprogram because it acts as the handler for all exceptions not named specifically.

  • Solution: Move the OTHERS handler so that it follows all specific exception handlers.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00371: at most one declaration for '%.*s' is permitted

  • Error code in OceanBase Database: 9507

  • SQLSTATE: HY000

  • Cause: The reference of a variable is ambiguous because this variable has multiple declarations. In the declaration part of a block, procedure, or function, only one local variable with a given identifier is allowed. The given variable can appear only in one block.

  • Solution: Check the spelling of the variable. Retain only one declaration of the variable and delete all other declarations if necessary.

PLS-00372: In a procedure, RETURN statement cannot contain an expression

  • Error code in OceanBase Database: 5583

  • SQLSTATE: 42000

  • Cause: In a procedure, the RETURN statement contains an expression, which is not allowed.

  • Solution: Delete the expression from the RETURN statement, or redefine the procedure as a function.

PLS-00373: EXIT/CONTINUE label '%.*s' must label a LOOP statement

  • Error code in OceanBase Database: 9512

  • SQLSTATE: HY000

  • Cause: The label in the EXIT or CONTINUE statement does not reference the LOOP statement. No label needs to be specified for the EXIT or CONTINUE statement. If a label (such as a label in EXIT my_label or CONTINUE my_label) is specified, the label must reference the LOOP statement.

  • Solution: Make sure that the label name is correctly spelled and the label references the LOOP statement.

PLS-00375: illegal GOTO statement; this GOTO cannot branch to label '%.*s'

  • Error code in OceanBase Database: 9505

  • SQLSTATE: HY000

  • Cause: The branch of the GOTO statement is a label from the outside of a construct (such as a loop or an exception handler) that contains a statement sequence to the inside of the statement sequence. Such a branch is not allowed.

  • Solution: Move the GOTO statement to the inside of the statement sequence, or move the labeled statement outside of the statement sequence.

PLS-00376: illegal EXIT/CONTINUE statement; it must appear inside a loop

  • Error code in OceanBase Database: 9510

  • SQLSTATE: HY000

  • Cause: The EXIT or CONTINUE statement is found outside of a loop construct. The EXIT statement exits from the loop prematurely, and the CONTINUE statement is used to start the next iteration of the loop. The two statements must always appear in a loop.

  • Solution: Delete the EXIT or CONTINUE statement, or put them in a loop construct.

PLS-00382: expression is of wrong type

  • Error code in OceanBase Database: 9519

  • SQLSTATE: HY000

  • Cause: The expression has a wrong data type.

  • Solution: Change the data type of the expression. You may need to use the data type conversion feature.

PLS-00386: type mismatch found at '%.*s' between FETCH cursor and INTO variables

  • Error code in OceanBase Database: 9590

  • SQLSTATE: HY000

  • Cause: An assignment target in the INTO list of a FETCH statement does not match in terms of data type with the corresponding column in the select list of the cursor declaration, and it is unclear which implicit conversion is required to correct the mismatch.

  • Solution: Modify the cursor declaration or change the data type of the assignment target. You might want to use data type conversion functions in the select list of the query associated with the cursor.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00394: wrong number of values in the INTO list of a FETCH statement

  • Error code in OceanBase Database: 9660

  • SQLSTATE: HY000

  • Cause: The number of variables in the INTO clause of a FETCH statement does not match the number of columns in the cursor declaration.

  • Solution: Change the number of variables in the INTO clause or the number of columns in the cursor declaration for the numbers to match.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00402: alias required in SELECT list of cursor to avoid duplicate column names

  • Error code in OceanBase Database: 9588

  • SQLSTATE: HY000

  • Cause: A cursor was declared with a SELECT statement that contains duplicate column names.

  • Solution: Use an alias to replace the duplicate column name in the SELECT list.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00403: expression '%.*s' cannot be used as an INTO-target of a SELECT/FETCH statement

  • Error code in OceanBase Database: 9665

  • SQLSTATE: HY000

  • Cause: The FETCH statement cannot assign a value to an assignment target in its INTO list because the target is not a variable that is legally formed and declared. For example, the FETCH my_cur INTO 'Jones' assignment statement is invalid because 'Jones' is a string rather than a variable.

  • Solution: Check the spelling and declaration of the assignment target. Make sure that the variable naming rules are followed.

PLS-00404: cursor '%.*s' must be declared with FOR UPDATE to use with CURRENT OF

  • Error code in OceanBase Database: 9693

  • SQLSTATE: HY000

  • Cause: cursor_name in the CURRENT OF cursor_name clause was not declared in a FOR UPDATE clause.

  • Solution: Add a FOR UPDATE clause to the definition of the cursor or do not use the CURRENT OF cursor_name clause.

Note

This error code is introduced since OceanBase Database V3.2.4.

PLS-00410: duplicate fields in RECORD,TABLE or argument list are not permitted

  • Error code in OceanBase Database: 9508

  • SQLSTATE: HY000

  • Cause: When a user-defined record is declared, two fields with the same name are found. Like the column names in database tables, the user-defined field names must also be unique.

  • Solution: Check the spelling of the field names and delete duplicate ones.

PLS-00413: identifier in CURRENT OF clause is not a cursor name

  • Error code in OceanBase Database: 9692

  • SQLSTATE: HY000

  • Cause: The identifier in a CURRENT OF clause names an object not a cursor.

  • Solution: Check the spelling of the identifier. Make sure that the identifier names the cursor in the DELETE or UPDATE statement and that it names the cursor itself, not a FOR-loop variable.

Note

This error code is introduced since OceanBase Database V3.2.4.

PLS-00428: an INTO clause is expected in this SELECT statement

  • Error code in OceanBase Database: 9618

  • SQLSTATE: HY000

  • Cause: The INTO clause was omitted in a SELECT INTO statement. For example, the code might look like SELECT deptno, dname, loc FROM dept WHERE ... instead of SELECT deptno, dname, loc INTO dept_rec FROM dept WHERE ..... In PL/SQL, the INTO clause can be omitted only for a subquery.

  • Solution: Add the required INTO clause.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00430: FORALL iteration variable %.*s is not allowed in this context

  • Error code in OceanBase Database: 9612

  • SQLSTATE: HY000

  • Cause: You can use the FORALL iteration variable only as a subscript. In other words, you cannot use it directly or as a part of an expression.

  • Solution: Use the FORALL variable only as a collection subscript.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00432: implementation restriction: cannot use FORALL and BULK COLLECT INTO together in SELECT statements

  • Error code in OceanBase Database: 9614

  • SQLSTATE: HY000

  • Cause: The SELECT statement contains both the FORALL and BULK COLLECT INTO clauses.

  • Solution: Do not use FORALL and BULK COLLECT INTO together in a SELECT statement.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00435: DML statement without BULK In-BIND cannot be used inside FORALL

  • Error code in OceanBase Database: 9615

  • SQLSTATE: HY000

  • Cause: The DML statement (SELECT, INSERT, DELETE, or UPDATE) inside the FORALL statement does not contain the BULK IN-BIND variable.

  • Solution: Carry the BULK IN-BIND variable in the DML statement (SELECT, INSERT, DELETE, or UPDATE) inside the FORALL statement.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00438: value in LIMIT clause \'%.*s\' use is invalid

  • Error code in OceanBase Database: 9518

  • SQLSTATE: HY000

  • Cause: The numeric value type of the LIMIT clause behind FETCH INTO is incorrect. For example, the following statement is invalid because the LIMIT clause requires a numeric value: FETCH c1 BULK COLLECT INTO var_tab LIMIT 'aaaaa';.

  • Solution: Modify the expression of the LIMIT clause so that it is followed by a numeric value. For example: FETCH c1 BULK COLLECT INTO var_tab LIMIT '22333';.

PLS-00439: A LIMIT clause must be used within a BULK FETCH

  • Error code in OceanBase Database: 9636

  • SQLSTATE: HY000

  • Cause: A LIMIT clause is used within a non-bulk fetch.

  • Solution: Do not use a LIMIT clause within a non-bulk fetch.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00441: EXIT/CONTINUE statement may have a label here; '%.*s' is not a label

  • Error code in OceanBase Database: 9654

  • SQLSTATE: HY000

  • Cause: The specified name was not a label. An EXIT or CONTINUE statement does not require a label. However, when the optional name appears, it must be a label.

  • Solution: Check the spelling of the name. Make sure that the name is the label of a loop nested with the EXIT or CONTINUE statement. If this statement does not need a label, delete the name.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00452: Subprogram '%.*s' violates its associated pragma

  • Error code in OceanBase Database: 9619

  • SQLSTATE: HY000

  • Cause: You cannot call a packaged function from SQL statements unless its purity level is asserted by coding a RESTRICT_REFERENCES pragma in the package specification. The pragma is used to control side effects. It tells the PL/SQL compiler to deny the packaged function read/write access to database tables, public packaged variables, or both. An SQL statement that violates the pragma will cause a compilation error.

  • Solution: Raise the purity level of the function, or ease restrictions on the pragma.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00455: cursor '%.*s' cannot be used in dynamic SQL OPEN statement

  • Error code in OceanBase Database: 9686

  • SQLSTATE: HY000

  • Cause: You are attempting to dynamically open a REF cursor that has a return type. However, you can open only a REF cursor without a return type by using an embedded dynamic OPEN statement.

  • Solution: Define a REF cursor without a return type and use it in the statement.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00457: expressions have to be of SQL types

  • Error code in OceanBase Database: 9620

  • SQLSTATE: HY000

  • Cause: An expression of a wrong type is used in the USING or dynamic RETURNING clause. In the USING or dynamic RETURNING clause, an expression cannot be of non-SQL types such as Boolean, index table, and record.

  • Solution: Change the expression type to an SQL type.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00485: in exception handler, '%.*s' must be an exception name

  • Error code in OceanBase Database: 5545

  • SQLSTATE: 42000

  • Cause: An identifier not declared as an exception appeared in the WHEN clause of an exception handler. Only an exception name is valid in a WHEN clause.

  • Solution: Check the spelling of the exception name to ensure that the exception is correctly declared.

PLS-00488: ' %.*s' must be a type

  • Error code in OceanBase Database: 9543

  • SQLSTATE: HY000

  • Cause: The data type descriptor in the declaration or expression does not designate a valid type. The possible causes are as follows:

    • The %TYPE attribute is not added to the declaration. For example, in DECLARE my_sal emp.sal%TYPE;my_ename emp.ename;, the %TYPE attribute is not declared.

    • To automatically provide the data type of a column when a constant or a variable is declared, the %TYPE attribute can be used.

    • To automatically provide the data type of a row when a record is declared, the %ROWTYPE attribute can be used.

  • Solution: Make sure that the data type descriptor designates a valid type. Use the %TYPE and %ROWTYPE attributes if necessary.

PLS-00491: numeric literal required

  • Error code in OceanBase Database: 9604

  • SQLSTATE: HY000

  • Cause: A constant or variable was used where a numeric literal was required. For example, the code might look like my_ename VARCHAR2(max_len); instead of my_ename VARCHAR2(15);. When you specify the maximum length of a VARCHAR2 variable, you must use an integral literal.

  • Solution: Replace the identifier with a numeric literal.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00492: variable or constant initialization may not refer to functions declared in the same package

  • Error code in OceanBase Database: 9655

  • SQLSTATE: HY000

  • Cause: If a package spec p declares a function f, the function may not be used in any variable declarations in the same package specification. This error is caused by a circular instantiation issue. In order to fully instantiate the package specification, the variable must be initialized. To initialize the variable, the function body code in the package body must be executed. This requires that the package body is instantiated. However, the package body cannot be instantiated until the package specification is fully instantiated.

  • Solution: Remove the reference to the function from the variable initialization. A method that is often used is to move the variable initialization from the variable declaration (in the package specification) to the package body initialization block.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00497: cannot mix between single row and multi-row (BULK) in INTO list

  • Error code in OceanBase Database: 9639

  • SQLSTATE: HY000

  • Cause:

    • When a BULK syntax (such as BULK COLLECT INTO) is used to retrieve data, every variable in the INTO list must be of a type that is a collection of the type of the corresponding column.

    • When BULK is not used, every variable in the INTO list must be of a type compatible with the corresponding column.

  • Solution: Change the INTO list to make sure that all variables have correct data types.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00503: RETURN value statement required for this return from function

  • Error code in OceanBase Database: 9634

  • SQLSTATE: HY000

  • Cause: A RETURN statement that contains no expression was used in a function body. In procedures, a RETURN statement contains no expression because the statement just returns control to the caller. However, in functions, a RETURN statement must contain an expression because its value is assigned to the function identifier.

  • Solution: Add an expression to the RETURN statement.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00520: MAP methods must be declared without any parameters other than (optional) SELF

  • Error code in OceanBase Database: 9532

  • SQLSTATE: HY000

  • Cause: Parameters are declared for the MAP member function. The MAP member function can have only one parameter, which is the default SELF parameter. The MAP function cannot be declared as any parameter, and the SELF parameter is added by the compiler.

  • Solution: Delete the parameters from the MAP function.

PLS-00521: ORDER methods must be declared with 1 (one) parameter in addition to (optional) SELF

  • Error code in OceanBase Database: 9538

  • SQLSTATE: HY000

  • Cause: The ORDER function is declared without user-defined parameters. The ORDER function has two parameters, one of which is the default SELF parameter added by the compiler. The other parameter is added by the user and must be of the same type as the contained object.

  • Solution: Change the parameter type.

PLS-00522: MAP methods must return a scalar type

  • Error code in OceanBase Database: 9531

  • SQLSTATE: HY000

  • Cause: The MAP member function is compiled in a way that it returns a value not of the scalar type.

  • Solution: Recompile the MAP function so that it returns a value of the scalar type.

PLS-00523: ORDER methods must return an INTEGER

  • Error code in OceanBase Database: 9533

  • SQLSTATE: HY000

  • Cause: The ORDER function returns a value not of the integer type.

  • Solution: Recompile the ORDER function so that it returns a value of the integer type.

PLS-00524: The parameter type in an ORDER method must be the containing object type

  • Error code in OceanBase Database: 9534

  • SQLSTATE: HY000

  • Cause: The ORDER function is declared without user-defined parameters. The ORDER function has two parameters, one of which is the default SELF parameter added by the compiler. The other parameter is added by the user and must be of the same type as the contained object.

  • Solution: Change the parameter type.

PLS-00525: Within SQL statements, only equality comparisons of objects are allowed without a map or order function

  • Error code in OceanBase Database: 9535

  • SQLSTATE: HY000

  • Cause: The MAP or ORDER function is not provided for comparison. In this case, only equality comparison can be used.

  • Solution: Provide the MAP or ORDER function, or enable the program to use only equality comparison.

PLS-00526: A MAP or ORDER function is required for comparing objects in PL/SQL

  • Error code in OceanBase Database: 9524

  • SQLSTATE: HY000

  • Cause: In the PL code, the MAP or ORDER function is not defined for object comparison.

  • Solution: Define the MAP or ORDER function and retry.

PLS-00527: MAP or ORDER functions require a PRAGMA RESTRICT_REFERENCES specifying :WNDS,WNPS,RNPS,RNDS

  • Error code in OceanBase Database: 9536

  • SQLSTATE: HY000

  • Cause:

    • pragma restrict_references is not specified.

    • pragma restrict_references is specified but lacks any of the following parameters: WNDS, WNPS, RNPS, or RNDS.

  • Solution: Add or correct pragma, and then retry.

PLS-00528: The parameters to an ORDER function must have IN mode

  • Error code in OceanBase Database: 9537

  • SQLSTATE: HY000

  • Cause: The parameter of the ORDER function is declared to be in the OUT or IN OUT mode.

  • Solution: Declare the parameter to be in the IN mode.

PLS-00530: Illegal type used for object type attribute: '%.*s'

  • Error code in OceanBase Database: 9651

  • SQLSTATE: HY000

  • Cause: You are attempting to use an invalid type for an object type attribute.

  • Solution: Use only supported types for the object type attribute.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00531: Unsupported type in a VARRAY or TABLE type: '%.*s'

  • Error code in OceanBase Database: 9652

  • SQLSTATE: HY000

  • Cause: You are attempting to use an unsupported type in a VARRAY or TABLE type.

  • Solution: Use only supported types in a VARRAY or TABLE type.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00537: A VARRAY must have a positive limit

  • Error code in OceanBase Database: 9611

  • SQLSTATE: HY000

  • Cause: A VARRAY type was declared with a non-positive limit, for example, VARRAY(0).

  • Solution: Declare the VARRAY type with a positive limit and retry the operation.

PLS-00538: subprogram or cursor '%.*s' is declared in an object type specification and must be defined in the object type body

  • Error code in OceanBase Database: 9522

  • SQLSTATE: HY000

  • Cause: The specified subprogram is declared in the specification of the object type but is not defined in the body of the object type.

  • Solution: Define the subprogram in the body of the object type, or delete the declaration from the specification.

PLS-00539: subprogram '%.*s' is declared in an object type body and must be defined in the object type specification

  • Error code in OceanBase Database: 9521

  • SQLSTATE: HY000

  • Cause: The specified subprogram is declared in the body of the object type but is not defined in the specification of the object type. You can choose not to define the cursor body.

  • Solution: Define the subprogram in the specification of the object type, or delete the declaration from the body.

PLS-00551: character set ANY_CS is only allowed on a subprogram parameter

  • Error code in OceanBase Database: 9608

  • SQLSTATE: HY000

  • Cause: The character set ANY_CS was specified when it is not allowed.

  • Solution: Change or remove the character set specification.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00566: type name '%.*s' cannot be constrained

  • Error code in OceanBase Database: 9607

  • SQLSTATE: HY000

  • Cause: A LOB, DATE, BOOLEAN, ROWID, or MLSLABEL type was constrained with a length specification, For example, X BLOB(5);.

  • Solution: Remove the constraint.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00567: cannot pass NULL to a NOT NULL constrained formal parameter

  • Error code in OceanBase Database: 9673

  • SQLSTATE: HY000

  • Cause: You are attempting to pass NULL to a parameter with a NOT NULL constraint.

  • Solution: Pass a NOT NULL expression to the parameter.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00572: improper constraint form used

  • Error code in OceanBase Database: 9606

  • SQLSTATE: HY000

  • Cause: "number" types cannot have a range. You cannot specify the scale or precision for user-defined aggregate types or integer types. For example, "x number(5,3)" is acceptable but "x number range 1..10" is not.

  • Solution: Remove the constraint.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00586: a static method cannot declare a parameter named SELF

  • Error code in OceanBase Database: 9649

  • SQLSTATE: HY000

  • Cause: You are attempting to name a parameter SELF when declaring a static method. SELF is reserved as a parameter name in a method to hold the object instance on which the method is applied. A parameter named SELF is not allowed in static methods because static methods do not apply to a particular object instance.

  • Solution: Change the name of the parameter in the declaration.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00587: a static method cannot be invoked on an instance value

  • Error code in OceanBase Database: 9527

  • SQLSTATE: HY000

  • Cause: You are attempting to use an object instance value rather than a type name as the qualifier of the method call name. However, only a type name can be used as the qualifier when a static method is called.

  • Solution: Use a type name rather than an object instance value as the qualifier of a static method.

PLS-00589: no attributes found in object type '%.*s'

  • Error code in OceanBase Database: 9650

  • SQLSTATE: HY000

  • Cause: A table of a non-ADT type was defined.

  • Solution: Tables must be of the ADT type only.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00593: default value of parameter '%.*s' in body must match that of spec

  • Error code in OceanBase Database: 9630

  • SQLSTATE: HY000

  • Cause: The default value initialization of a parameter in a subprogram body contained in a package body did not match that of the corresponding subprogram specification in the corresponding package specification.

  • Solution: Change the default value initialization of the parameter in the body to match that of the specification.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00597: expression '%.*s' in the INTO list is of wrong type

  • Error code in OceanBase Database: 9637

  • SQLSTATE: HY000

  • Cause: This exception is raised for the following errors:

    • The expression in the INTO clause of the OPEN or RETURNING statement is neither of valid SQL data types nor of the PL/SQL RECORD data type.

    • A collection of records is used in the INTO clause of the OPEN or RETURNING statement.

    • A record or a collection of records is used in BULK COLLECT INTO.

  • Solution: Use an expression of a correct data type in the INTO clause.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00594: the SELF parameter can be declared only as IN or as IN OUT

  • Error code in OceanBase Database: 9530

  • SQLSTATE: HY000

  • Cause: The SELF parameter is declared as an OUT parameter.

  • Solution: Declare the SELF parameter as an IN or IN OUT parameter.

PLS-00617: at least one result in the CASE expression must not be NULL

  • Error code in OceanBase Database: 9666

  • SQLSTATE: HY000

  • Cause: All the results in the CASE expression are NULL.

  • Solution: Change at least one result in the CASE expression to a non-NULL value.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00619: the first operand in the NULLIF expression must not be NULL

  • Error code in OceanBase Database: 9647

  • SQLSTATE: HY000

  • Cause: The first operand in the NULLIF expression is NULL.

  • Solution: Change the first operand in the NULLIF expression to a non-NULL value.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00621: at least one operand in the COALESCE expression must not be NULL

  • Error code in OceanBase Database: 9648

  • SQLSTATE: HY000

  • Cause: All operands in the COALESCE expression are NULL.

  • Solution: Change at least one operand in the COALESCE expression to a non-NULL value.

PLS-00629: PIPE statement cannot be used in non-pipelined functions

  • Error code in OceanBase Database: 9623

  • SQLSTATE: HY000

  • Cause: A PIPE statement was used in a non-pipelined function.

  • Solution: Use the PIPE statement only in pipelined functions.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00630: pipelined functions must have a supported collection return type

  • Error code in OceanBase Database: 9601

  • SQLSTATE: HY000

  • Cause: A pipelined function was specified by using an unsupported return type. The following collection types are not supported as return types of pipelined functions:

    • Non-collections

    • PL/SQL tables

    • Associative arrays

    • Collections of PL/SQL types: rowid, mlslabel, long, long raw, boolean, binary_integer, pls_integer, string, and urowid

  • Solution: Specify a supported collection type as the return type of the pipelined function.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00633: RETURN statement in a pipelined function cannot contain an expression

  • Error code in OceanBase Database: 9635

  • SQLSTATE: HY000

  • Cause: A RETURN statement in a pipelined function contains an expression, which is not allowed. Pipelined functions must return values to the caller by using the PIPE statement.

  • Solution: Remove the expression from the RETURN statement and use a PIPE statement to return values. Alternatively, convert the function into a non-pipelined function.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00642: local collection types not allowed in SQL statements

  • Error code in OceanBase Database: 9589

  • SQLSTATE: HY000

  • Cause: A locally-defined (not at the schema level) collection type was used in an SQL statement. To be accepted in an SQL statement, the type must be defined in a schema.

  • Solution: Define the collection type in your schema instead of in a PL/SQL subprogram.

PLS-00652: incorrect number of arguments for aggregate function

  • Error code in OceanBase Database: 9633

  • SQLSTATE: HY000

  • Cause: You are attempting to create an aggregate function with either 0 arguments or more than 999 arguments.

  • Solution: Do not create aggregate functions with 0 arguments or more than 999 arguments.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00655: only functions can be declared as PIPELINED

  • Error code in OceanBase Database: 9600

  • SQLSTATE: HY000

  • Cause: Only functions can be declared as pipelined functions.

  • Solution: Declare a function as a pipelined function, or do not use pipelined functions.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00657: Implementation restriction: bulk SQL with associative arrays with VARCHAR2 key is not supported

  • Error code in OceanBase Database: 9638

  • SQLSTATE: HY000

  • Cause: A variable or expression of the associative array type was used for bulk SQL binding or defining.

  • Solution: Use collection types supported by bulk SQL operations.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00658: constructor method name must match type name

  • Error code in OceanBase Database: 9528

  • SQLSTATE: HY000

  • Cause: You are attempting to use an object instance value rather than a type name as the qualifier of the method call name. However, only a type name can be used as the qualifier when a static method is called.

  • Solution: Use a type name rather than an object instance value as the qualifier of a static method.

PLS-00659: constructor method must return SELF AS RESULT

  • Error code in OceanBase Database: 9646

  • SQLSTATE: HY000

  • Cause: SELF AS RESULT was not specified for the RETURN clause of the constructor method.

  • Solution: Include RETURN SELF AS RESULT in the RETURN clause.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00660: SELF parameter of constructor method must be IN OUT

  • Error code in OceanBase Database: 9645

  • SQLSTATE: HY000

  • Cause: The mode of the SELF parameter of the constructor method was not IN OUT.

  • Solution: Change the mode of the SELF parameter to IN OUT.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00661: RETURN statement in a CONSTRUCTOR cannot include an expression

  • Error code in OceanBase Database: 9541

  • SQLSTATE: HY000

  • Cause: An expression exists in the RETURN statement of the CONSTRUCTOR body.

  • Solution: Delete the expression from the RETURN statement.

PLS-00667: Element type of associative array should be pls_integer or binary_integer

  • Error code in OceanBase Database: 9617

  • SQLSTATE: HY000

  • Cause: You are attempting to specify an index collection whose element type was not pls_integer or binary_integer.

  • Solution: Change the index collection variable type to an associative array whose element type is pls_integer or binary_integer.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00668: Type of expression should be a collection type

  • Error code in OceanBase Database: 9616

  • SQLSTATE: HY000

  • Cause: An expression is specified after the index or value of a clause that is of a non-collection type.

  • Solution: Change the index collection expression type to a valid collection type.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00674: references to fields of BULK In-BIND table of records or objects must have the form A(I).F

  • Error code in OceanBase Database: 9613

  • SQLSTATE: HY000

  • Cause: The table(bulk_index).field form is the only field selection supported during runtime.

  • Solution: Use a FOR loop instead of the FORALL DML statement (MERGE, INSERT, DELETE, or UPDATE) or revise the reference to fit the form allowed.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00675: invalid section for this type of Compound Trigger

  • Error code in OceanBase Database: 9698

  • SQLSTATE: HY000

  • Cause: The trigger event type of a compound trigger must be consistent with the object that the trigger is based on.

  • Solution: Define the instead of section only for a compound trigger created based on a view. Define other sections for compound triggers created based on tables.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00676: duplicate Compound Triggers section

  • Error code in OceanBase Database: 9699

  • SQLSTATE: HY000

  • Cause: Each compound trigger section can appear at most once in the body of the compound trigger.

  • Solution: Remove the offending sections.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00701: illegal ORACLE error number %.*s for PRAGMA EXCEPTION_INIT

  • Error code in OceanBase Database: 9629

  • SQLSTATE: HY000

  • Cause: The error code passed to the EXCEPTION_INIT pragma is out of range. The error code must be in the range of 1-9999 (excluding 100) or in the range of 20000-20999 for user-defined errors.

  • Solution: Use a valid error code.

PLS-00702: second argument to PRAGMA EXCEPTION_INIT must be a numeric literal

  • Error code in OceanBase Database: 9676

  • SQLSTATE: HY000

  • Cause: The second parameter passed to the EXCEPTION_INIT pragma is not a numeric literal (such as a variable). The second parameter must be a numeric literal in the range of 1-9999 (excluding 100). Error codes in the range of 20000-20999 indicate user-defined errors.

  • Solution: Replace the second parameter with a valid error code.

PLS-00708: Pragma %.*s must be declared in a package specification

  • Error code in OceanBase Database: 9603

  • SQLSTATE: HY000

  • Cause: The named pragma was not declared in a package specification as required. For example, the pragma RESTRICT_REFERENCES must be declared in a package specification.

  • Solution: Remove or relocate the misplaced pragma.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00709: pragma %.*s must be declared in package specification and body

  • Error code in OceanBase Database: 9632

  • SQLSTATE: HY000

  • Cause: The named pragma was declared in a package specification but not in the corresponding package body or the other way around.

  • Solution: Add the pragma to the part of the package declaration that does not have the pragma.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00710: Pragma string cannot be specified here", "Pragma %s cannot be specified here

  • Error code in OceanBase Database: 9509

  • SQLSTATE: HY000

  • Cause: The AUTONOMOUS_TRANSACTION pragma cannot be specified here.

  • Solution: Check whether the pragma name is correctly spelled.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00711: PRAGMA string cannot be declared twice", "PRAGMA %.*s cannot be declared twice

  • Error code in OceanBase Database: 9621

  • SQLSTATE: HY000

  • Cause: A pragma was declared twice in the same block.

  • Solution: Remove the duplicate declaration of the pragma.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00712: illegal option for subprogram %.*s

  • Error code in OceanBase Database: 9626

  • SQLSTATE: HY000

  • Cause: Only top-level subprograms or subprogram declarations in PACKAGE or TYPE specifications can have the DETERMINISTIC or PARALLEL_ENABLE option. For example, this error would be returned if the options are used in a PACKAGE or TYPE body.

  • Solution: Remove the options.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00742: field %.*s is not yet denotable

  • Error code in OceanBase Database: 9669

  • SQLSTATE: HY000

  • Cause: When the fields of a record were declared, one field was used to initialize another, as in TYPE my_rec IS RECORD (f1 varchar2(10), f2 varchar2(10) := f1);. The first field has no value until runtime. Therefore, it cannot be used to initialize another field.

  • Solution: Remove the illegal field reference.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00904: insufficient privilege to access object string

  • Error code in OceanBase Database: 9625

  • SQLSTATE: HY000

  • Cause: You are attempting to operate a database object without the required privilege. For example, this error occurs when you attempt to update a table on which you only have the SELECT privilege, or when the ACCESS BY clause of the database object prohibits the attempted compilation.

  • Solution: Ask the database administrator to perform the operation or to grant you the required privilege.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00905: object '%.*s' is invalid

  • Error code in OceanBase Database: 9548

  • SQLSTATE: HY000

  • Cause: An invalid software package specification or subprogram is referenced. If the software package specification, the source code of the subprogram, or a referenced database object of the subprogram is discarded, replaced, or changed since the last compilation, the software package or subprogram becomes invalid.

  • Solution: Identify the reason why the software package specification or subprogram becomes invalid, and ensure that the software package specification or subprogram can be correctly recompiled.

PLS-00990: Index Tables of Cursor Variables are disallowed

  • Error code in OceanBase Database: 9672

  • SQLSTATE: HY000

  • Cause: The cursor cannot be used as an element of the array type.

  • Solution: Do not use the cursor as an element of the array type.

Note

This error code is introduced since OceanBase Database V4.0.0.

PLS-00994: Cursor Variables cannot be declared as part of a package

  • Error code in OceanBase Database: 9516

  • SQLSTATE: HY000

  • Cause: You are attempting to declare a cursor variable in the program package specification, which is not allowed. You can define the REF CURSOR type in PL blocks, subprograms, and program packages, but cursor variables can be declared only in blocks or subprograms.

  • Solution: Move the declaration of the cursor variable to a PL block or a subprogram.

PLS-00999: implementation restriction (may be temporary) %s

  • Error code in OceanBase Database: 9624

  • SQLSTATE: HY000

  • Cause:

    • The RESULT_CACHE clause does not support functions that contain the OUT or INOUT parameter.

    • The RESULT_CACHE clause does not support functions whose RETURN type or IN parameter type are among the following ones:

      • BLOB

      • CLOB

      • NCLOB

      • REFCURSOR

      • Collection

      • Object

      • The record or PL/SQL collection type that contains the preceding types

    • The RESULT_CACHE clause does not support functions in anonymous blocks.

    • The RESULT_CACHE clause does not support pipelined functions and nested functions.

  • Solution: Remove the RESULT_CACHE clause used in the preceding unsupported scenarios.

Note

This error code is introduced since OceanBase Database V4.0.0.

次のトピック

製品ニュース
次へ
このページの内容
PLS-00001: PL/SQL common error", "%s
PLS-00103: Encountered the symbol %s when expecting one of the following: %s
PLS-00109: unknown exception name '%.*s' in PRAGMA EXCEPTION_INIT
PLS-00113: END identifier '%.*s' must match '%.*s
PLS-00114: identifier ' %.*s' too long
PLS-00115: this PRAGMA must follow the declaration of '%.*s
PLS-00119: Duplicate having-clause in table expression
PLS-00124: name of exception expected for first arg in exception_init pragma
PLS-00128: Illegal number of arguments for pragma EXCEPTION_INIT
PLS-00130: Pragma %s expects 1st argument to be a procedure/function/package/cursor
PLS-00132: Pragma %s does not support %.*s
PLS-00154: An object type may have only 1 MAP or 1 ORDER method
PLS-00155: Only a function may be a MAP, ORDER or CONSTRUCTOR method
PLS-00157: Only schema-level programs
PLS-00168: string'", "duplicate modifier specification '%s'
PLS-00169: modifier '%s' conflicts with prior '%s' specification
PLS-00172: string literal too long
PLS-00179: $ERROR: %.*s
PLS-00182: Identifier cannot be an empty string
PLS-00201: identifier '%.*s' must be declared
PLS-00204: function or pseudo-column '%s' may be used inside a SQL statement only
PLS-00206: %%TYPE must be applied to a variable, column, field or attribute, not to '%.*s'
PLS-00218: a variable declared NOT NULL must have an initialization assignment
PLS-00221: %s' is not a procedure or is undefined
PLS-00222: no function with name '%.*s' exists in this scope
PLS-00225: subprogram or cursor '%.*s' reference is out of scope
PLS-00227: subprogram 'in' formal %.*s is not yet denotable
PLS-00230: OUT and IN OUT formal parameters may not have default expressions
PLS-00231: function '%.*s' may not be used in SQL
PLS-00254: OUT and IN/OUT modes cannot be used in this context
PLS-00263: mismatch between string on a subprogram specification and body
PLS-00301: Invalid GOTO to non-label '%.*s'
PLS-00302: component '%.*s' must be declared
PLS-00304: cannot compile body of '%.*s' without its specification
PLS-00305: previous use of '%.*s' conflicts with this use
PLS-00306: wrong number or types of arguments in call to '%.*s'
PLS-00307: too many declarations of '%.*s' match this call
PLS-00310: with %%ROWTYPE attribute, '%.*s' must name a table, cursor or cursor-variable
PLS-00312: a positional parameter association may not follow a named association
PLS-00315: Implementation restriction: unsupported table index type
PLS-00316: PL/SQL TABLEs must use a single index
PLS-00318: type '%.*s' is malformed because it is a non-REF mutually recursive type
PLS-00320: the declaration of the type of this expression is incomplete or malformed
PLS-00321: expression '%.*s' is inappropriate as the left hand side of anassignment statement
PLS-00322: declaration of a constant '%.*s' must contain an initialization assignment
PLS-00323: subprogram or cursor '%.*s' is declared in a package specification and must be defined in the package body
PLS-00325: non-integral numeric literal %.*s is inappropriate in this context
PLS-00328: A subprogram body must be defined for the forward declaration of %.*s
PLS-00329: schema-level type has illegal reference to %.*s
PLS-00357: Table,View Or Sequence reference '%s%s%s%s%s' not allowed in this context
PLS-00360: cursor declaration without body needs return type
PLS-00361: IN cursor '%.*s' cannot be OPEN'ed
PLS-00362: invalid cursor return type; '%.*s' must be a record type
PLS-00363: expression '%.*s' cannot be used as an assignment
PLS-00366: subtype of a not null type must also be not null
PLS-00367: a RAISE statement with no exception name must be inside an exception handler
PLS-00369: no choices may appear with choice OTHERS in an exception handler
PLS-00370: OTHERS handler must be last among the exception handlers of a block
PLS-00371: at most one declaration for '%.*s' is permitted
PLS-00372: In a procedure, RETURN statement cannot contain an expression
PLS-00373: EXIT/CONTINUE label '%.*s' must label a LOOP statement
PLS-00375: illegal GOTO statement; this GOTO cannot branch to label '%.*s'
PLS-00376: illegal EXIT/CONTINUE statement; it must appear inside a loop
PLS-00382: expression is of wrong type
PLS-00386: type mismatch found at '%.*s' between FETCH cursor and INTO variables
PLS-00394: wrong number of values in the INTO list of a FETCH statement
PLS-00402: alias required in SELECT list of cursor to avoid duplicate column names
PLS-00403: expression '%.*s' cannot be used as an INTO-target of a SELECT/FETCH statement
PLS-00404: cursor '%.*s' must be declared with FOR UPDATE to use with CURRENT OF
PLS-00410: duplicate fields in RECORD,TABLE or argument list are not permitted
PLS-00413: identifier in CURRENT OF clause is not a cursor name
PLS-00428: an INTO clause is expected in this SELECT statement
PLS-00430: FORALL iteration variable %.*s is not allowed in this context
PLS-00432: implementation restriction: cannot use FORALL and BULK COLLECT INTO together in SELECT statements
PLS-00435: DML statement without BULK In-BIND cannot be used inside FORALL
PLS-00438: value in LIMIT clause \'%.*s\' use is invalid
PLS-00439: A LIMIT clause must be used within a BULK FETCH
PLS-00441: EXIT/CONTINUE statement may have a label here; '%.*s' is not a label
PLS-00452: Subprogram '%.*s' violates its associated pragma
PLS-00455: cursor '%.*s' cannot be used in dynamic SQL OPEN statement
PLS-00457: expressions have to be of SQL types
PLS-00485: in exception handler, '%.*s' must be an exception name
PLS-00488: ' %.*s' must be a type
PLS-00491: numeric literal required
PLS-00492: variable or constant initialization may not refer to functions declared in the same package
PLS-00497: cannot mix between single row and multi-row (BULK) in INTO list
PLS-00503: RETURN value statement required for this return from function
PLS-00520: MAP methods must be declared without any parameters other than (optional) SELF
PLS-00521: ORDER methods must be declared with 1 (one) parameter in addition to (optional) SELF
PLS-00522: MAP methods must return a scalar type
PLS-00523: ORDER methods must return an INTEGER
PLS-00524: The parameter type in an ORDER method must be the containing object type
PLS-00525: Within SQL statements, only equality comparisons of objects are allowed without a map or order function
PLS-00526: A MAP or ORDER function is required for comparing objects in PL/SQL
PLS-00527: MAP or ORDER functions require a PRAGMA RESTRICT_REFERENCES specifying :WNDS,WNPS,RNPS,RNDS
PLS-00528: The parameters to an ORDER function must have IN mode
PLS-00530: Illegal type used for object type attribute: '%.*s'
PLS-00531: Unsupported type in a VARRAY or TABLE type: '%.*s'
PLS-00537: A VARRAY must have a positive limit
PLS-00538: subprogram or cursor '%.*s' is declared in an object type specification and must be defined in the object type body
PLS-00539: subprogram '%.*s' is declared in an object type body and must be defined in the object type specification
PLS-00551: character set ANY_CS is only allowed on a subprogram parameter
PLS-00566: type name '%.*s' cannot be constrained
PLS-00567: cannot pass NULL to a NOT NULL constrained formal parameter
PLS-00572: improper constraint form used
PLS-00586: a static method cannot declare a parameter named SELF
PLS-00587: a static method cannot be invoked on an instance value
PLS-00589: no attributes found in object type '%.*s'
PLS-00593: default value of parameter '%.*s' in body must match that of spec
PLS-00597: expression '%.*s' in the INTO list is of wrong type
PLS-00594: the SELF parameter can be declared only as IN or as IN OUT
PLS-00617: at least one result in the CASE expression must not be NULL
PLS-00619: the first operand in the NULLIF expression must not be NULL
PLS-00621: at least one operand in the COALESCE expression must not be NULL
PLS-00629: PIPE statement cannot be used in non-pipelined functions
PLS-00630: pipelined functions must have a supported collection return type
PLS-00633: RETURN statement in a pipelined function cannot contain an expression
PLS-00642: local collection types not allowed in SQL statements
PLS-00652: incorrect number of arguments for aggregate function
PLS-00655: only functions can be declared as PIPELINED
PLS-00657: Implementation restriction: bulk SQL with associative arrays with VARCHAR2 key is not supported
PLS-00658: constructor method name must match type name
PLS-00659: constructor method must return SELF AS RESULT
PLS-00660: SELF parameter of constructor method must be IN OUT
PLS-00661: RETURN statement in a CONSTRUCTOR cannot include an expression
PLS-00667: Element type of associative array should be pls_integer or binary_integer
PLS-00668: Type of expression should be a collection type
PLS-00674: references to fields of BULK In-BIND table of records or objects must have the form A(I).F
PLS-00675: invalid section for this type of Compound Trigger
PLS-00676: duplicate Compound Triggers section
PLS-00701: illegal ORACLE error number %.*s for PRAGMA EXCEPTION_INIT
PLS-00702: second argument to PRAGMA EXCEPTION_INIT must be a numeric literal
PLS-00708: Pragma %.*s must be declared in a package specification
PLS-00709: pragma %.*s must be declared in package specification and body
PLS-00710: Pragma string cannot be specified here", "Pragma %s cannot be specified here
PLS-00711: PRAGMA string cannot be declared twice", "PRAGMA %.*s cannot be declared twice
PLS-00712: illegal option for subprogram %.*s
PLS-00742: field %.*s is not yet denotable
PLS-00904: insufficient privilege to access object string
PLS-00905: object '%.*s' is invalid
PLS-00990: Index Tables of Cursor Variables are disallowed
PLS-00994: Cursor Variables cannot be declared as part of a package
PLS-00999: implementation restriction (may be temporary) %s