AppSync:如果 PDB 在掛接主機上啟動 Container Database (CDB) 時開啟,則 Oracle Pluggable Database (PDB) 的重新命名會在復原時失敗。
Summary: 如果 PDB 在掛接主機上啟動 Container Database (CDB) 時開啟,則 Oracle Pluggable Database (PDB) 的重新命名會在復原時失敗。
This article applies to
This article does not apply to
This article is not tied to any specific product.
Not all product versions are identified in this article.
Symptoms
當 AppSync 必須在復原期間重新命名 Oracle PDB,例如新增前置詞時,如果 PDB 在掛接主機上啟動 CDB 時自動開啟,則重新命名會失敗。
服務計畫事件顯示:
還原副本,94790a69-c3f8-4509-a5b2-b71bd9981796,ORCL_000042,asServer<>,一個或多個資料庫無法復原。檢查伺服器和代理程式記錄以取得詳細資訊。
還原複本,94790a69-c3f8-4509-a5b2-b71bd9981796,ORCL_000185,asServer,AppSync<> 無法復原容器資料庫 NEWCDBDB 的一或多個可插式資料庫。Recovery failed during Pluggable database Open and Rename.
The AppSync Plugin logs on the Mount host named with Suffix: _dropAndOpenPluggableDatabase.log shows:
oracle.py[5136]:_execSql() SQLresult: Connected to:
oracle.py[5136]:_execSql() SQLresult: Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
oracle.py[5136]:_execSql() SQLresult: Version 19.12.0.0.0
oracle.py[5136]:_execSql() SQLresult:
oracle.py[5136]:_execSql() SQLresult: SQL> SQL> 變更可插式資料庫全部開啟限制
oracle.py[5136]:_execSql() SQLresult:*
oracle.py[5136]:_execSql() SQLresult: ERROR at line 1:
oracle.py[5136]:_execSql() SQLresult: ORA-65019: pluggable database ORIGPDB already open
oracle.py[5136]:_execSql() SQLresult:
oracle.py[5136]:_execSql() SQLresult:
oracle.py[5136]:_execSql() SQLresult: Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
oracle.py[5136]:_execSql() SQLresult: Version 19.12.0.0.0
oracle.py[5139]:_execSql() Error:Raising SQLPlusException
oracle.py[3297]:dropAndOpenPluggableDatabase() Error:An error occurred with CDB NEWCDBDB
oracle.py[3298]:dropAndOpenPluggableDatabase() Error:An error occurred while renaming pdb
服務計畫事件顯示:
還原副本,94790a69-c3f8-4509-a5b2-b71bd9981796,ORCL_000042,asServer<>,一個或多個資料庫無法復原。檢查伺服器和代理程式記錄以取得詳細資訊。
還原複本,94790a69-c3f8-4509-a5b2-b71bd9981796,ORCL_000185,asServer,AppSync<> 無法復原容器資料庫 NEWCDBDB 的一或多個可插式資料庫。Recovery failed during Pluggable database Open and Rename.
The AppSync Plugin logs on the Mount host named with Suffix: _dropAndOpenPluggableDatabase.log shows:
oracle.py[5136]:_execSql() SQLresult: Connected to:
oracle.py[5136]:_execSql() SQLresult: Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
oracle.py[5136]:_execSql() SQLresult: Version 19.12.0.0.0
oracle.py[5136]:_execSql() SQLresult:
oracle.py[5136]:_execSql() SQLresult: SQL> SQL> 變更可插式資料庫全部開啟限制
oracle.py[5136]:_execSql() SQLresult:*
oracle.py[5136]:_execSql() SQLresult: ERROR at line 1:
oracle.py[5136]:_execSql() SQLresult: ORA-65019: pluggable database ORIGPDB already open
oracle.py[5136]:_execSql() SQLresult:
oracle.py[5136]:_execSql() SQLresult:
oracle.py[5136]:_execSql() SQLresult: Disconnected from Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
oracle.py[5136]:_execSql() SQLresult: Version 19.12.0.0.0
oracle.py[5139]:_execSql() Error:Raising SQLPlusException
oracle.py[3297]:dropAndOpenPluggableDatabase() Error:An error occurred with CDB NEWCDBDB
oracle.py[3298]:dropAndOpenPluggableDatabase() Error:An error occurred while renaming pdb
Cause
當 CDB 啟動時,PDB 會自動開啟,導致 AppSync 提交給 Oracle 的「alter pluggable database all OPEN RESTRICTED」命令失敗。
在撰寫本文的特定事件中,當在 dba_triggers 表格中找到的觸發程式啟動 CDB 時,PDB 會自動開啟。
在撰寫本文的特定事件中,當在 dba_triggers 表格中找到的觸發程式啟動 CDB 時,PDB 會自動開啟。
Resolution
AppSync 4.4.0.0 有 hotfix。
致電服務要求時請引述本文。
請參閱 4.4.0.0 後 AppSync 版本的版本資訊,以判斷是否包含修正。
致電服務要求時請引述本文。
請參閱 4.4.0.0 後 AppSync 版本的版本資訊,以判斷是否包含修正。
Additional Information
以下説明可能有所助益:
顯示 PDB 狀態的 SQL 命令:
顯示所有觸發程式的 SQL 命令:
辨識符號可能有所助益,例如擁有者 =「SYS」
顯示 PDB 狀態的 SQL 命令:
SQL> sho pdbs ;
CON_ID CON_NAME 開啟模式受到限制
---------- ------------------------------ ---------- ---------- 2 PDB$SEED 唯讀
3 ORIGPDB 讀取寫入否
CON_ID CON_NAME 開啟模式受到限制
---------- ------------------------------ ---------- ---------- 2 PDB$SEED 唯讀
3 ORIGPDB 讀取寫入否
顯示所有觸發程式的 SQL 命令:
SQL> 從 dba_triggers 選取 *
辨識符號可能有所助益,例如擁有者 =「SYS」
Products
AppSyncArticle Properties
Article Number: 000197094
Article Type: Solution
Last Modified: 13 May 2026
Version: 5
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.