<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>惜分飞 &#187; DBMS_PDB.RECOVER</title>
	<atom:link href="https://www.xifenfei.com/tag/dbms_pdb-recover/feed" rel="self" type="application/rss+xml" />
	<link>https://www.xifenfei.com</link>
	<description>提供7*24专业数据库(Oracle,SQL Server,MySQL,PostgreSQL等)恢复和技术支持@Tel:17813235971</description>
	<lastBuildDate>Sun, 22 Nov 2026 15:21:14 +0000</lastBuildDate>
	<language>zh-CN</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>恢复案例分享：win丢失数据文件恢复</title>
		<link>https://www.xifenfei.com/2026/11/win-datafile-recovery-case.html</link>
		<comments>https://www.xifenfei.com/2026/11/win-datafile-recovery-case.html#comments</comments>
		<pubDate>Tue, 17 Nov 2026 13:36:46 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[Oracle]]></category>
		<category><![CDATA[非常规恢复]]></category>
		<category><![CDATA[DBMS_PDB.RECOVER]]></category>
		<category><![CDATA[ktcpoptx:!cmt top lvl]]></category>
		<category><![CDATA[Oracle丢失文件恢复]]></category>
		<category><![CDATA[OraScan]]></category>
		<category><![CDATA[win数据文件丢失恢复]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=12413</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2026/11/win-datafile-recovery-case.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div id="xifenfeicopyright">
<p>联系：<a href="https://www.xifenfei.com/about_xifenfei" target="_blank">手机/微信(+86 17813235971)   QQ(107644445)</a><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&#038;uin=107644445&#038;site=qq&#038;menu=yes"><img src="https://www.xifenfei.com/wp-content/themes/img/site_qq.jpg" alt="QQ咨询惜分飞" title="QQ咨询惜分飞"/></a></p>
<p>标题：<a href="https://www.xifenfei.com/2026/11/win-datafile-recovery-case.html" target="_blank">恢复案例分享：win丢失数据文件恢复</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>有客户反馈他们数据库启动失败,具体原因由于system01.dbf文件丢失（文件丢失原因是由于客户清理系统空间时误删除了不少数据文件导致）<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2026/11/ORA-1157-ORA-1110.png"><img src="https://www.xifenfei.com/wp-content/uploads/2026/11/ORA-1157-ORA-1110.png" alt="ORA-1157-ORA-1110" width="916" height="562" class="alignnone size-full wp-image-12414" /></a><br />
<hr />
进一步分析，确认客户使用pdb环境,数据已经全部迁移到pdb中,但是pdb也丢失了很多文件,目前pdb中剩余文件（数量为8个）为:<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2026/11/pdb_dbf.jpg"><img src="https://www.xifenfei.com/wp-content/uploads/2026/11/pdb_dbf.jpg" alt="pdb_dbf" width="942" height="332" class="alignnone size-full wp-image-12416" /></a><br />
<hr />
查询数据库中实际文件数量16个数据文件:<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2026/11/pdb_files.jpg"><img src="https://www.xifenfei.com/wp-content/uploads/2026/11/pdb_files.jpg" alt="pdb_files" width="875" height="668" class="alignnone size-full wp-image-12417" /></a><br />
<hr />
由于客户数据在pdb中（我们无需关注root pdb中丢失文件情况,也就是数据库启动报的system丢失），该pdb中本该16个数据文件(通过控制文件查询获取),实际只剩余8个数据文件(磁盘上实际看到的文件),如果要比较好恢复数据,需要把丢失的8个文件恢复出来,通过操作系统层面反删除恢复找出来5个文件<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2026/11/QQ20261113-230002.jpg"><img src="https://www.xifenfei.com/wp-content/uploads/2026/11/QQ20261113-230002.jpg" alt="QQ20261113-230002" width="693" height="222" class="alignnone size-full wp-image-12418" /></a><br />
<hr />
通过读取文件头信息,确认这些文件<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2026/11/QQ20261113-230102.png"><img src="https://www.xifenfei.com/wp-content/uploads/2026/11/QQ20261113-230102.png" alt="QQ20261113-230102" width="1259" height="940" class="alignnone size-full wp-image-12419" /></a><br />
<hr />
对这些文件的总体分析,最终确认有三个数据文件无法通过反删除进行恢复,文件号分别是12,51,61三个文件(其中主要的是51,62业务文件,12为users表空间,客户没有写入数据)丢失,对于这种情况,只能请oracle block级别恢复工具OraScan上场,进行碎片级别恢复[<a href="https://www.xifenfei.com/2026/04/orascan.html" title="OraScan(Oracle 碎片扫描工具)" rel="noopener" target="_blank">OraScan(Oracle 碎片扫描工具)</a>],通过底层扫描找出来没有被破坏的这些文件<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2026/11/orascan-dbf.jpg"><img src="https://www.xifenfei.com/wp-content/uploads/2026/11/orascan-dbf.jpg" alt="orascan-dbf" width="1181" height="639" class="alignnone size-full wp-image-12420" /></a><br />
<hr />
然后对于这些恢复出来的文件找个新的cdb库直接插入进去,参考:<a href="https://www.xifenfei.com/2026/01/dbms_pdb-recover.html" title="使用DBMS_PDB.RECOVER抢救单个pdb" rel="noopener" target="_blank">使用DBMS_PDB.RECOVER抢救单个pdb</a></p>
<pre class="brush: sql; title: ; notranslate">
SQL&gt; BEGIN
  2  DBMS_PDB.RECOVER(PDB_DESCR_FILE=&gt; 'H:\TEMP\1113\XFF.xml', PDB_NAME=&gt;'XFF',
  3  FILENAMES=&gt; '文件1,文件2');
 19  end;
 20  /

PL/SQL 过程已成功完成。

SQL&gt; create pluggable database XFF using 'H:\TEMP\1113\XFF.xml' nocopy;

插接式数据库已创建。

SQL&gt; show pdbs;

    CON_ID CON_NAME                       OPEN MODE  RESTRICTED
---------- ------------------------------ ---------- ----------
         2 PDB$SEED                       READ ONLY  NO
         3 XFF                            MOUNTED
         4 ORAPDB                         READ WRITE NO
SQL&gt; alter session set container=xff;

会话已更改。

SQL&gt; alter database open ;
alter database open
*
第 1 行出现错误:
ORA-00603: ORACLE server session terminated by fatal error
ORA-00600: internal error code, arguments: [ktcpoptx:!cmt top lvl], [], [], [],
[], [], [], [], [], [], [], []
ORA-00600: internal error code, arguments: [kcbzib_kcrsds_1], [], [], [], [],
[], [], [], [], [], [], []
进程 ID: 6532
会话 ID: 1714 序列号: 49617
</pre>
<p>遇到ORA-600 ktcpoptx:!cmt top lvl和ORA-600 kcbzib_kcrsds_1错误,使用patch_scn 工具绕过(<a href="https://www.xifenfei.com/2022/06/win-oracle-scn-patch.html" title="修改oracle scn小工具(patch scn)" rel="noopener" target="_blank">修改oracle scn小工具(patch scn)</a><br />
<a href="https://www.xifenfei.com/wp-content/uploads/2026/11/QQ20261113-185618.png"><img src="https://www.xifenfei.com/wp-content/uploads/2026/11/QQ20261113-185618.png" alt="QQ20261113-185618" width="727" height="402" class="alignnone size-full wp-image-12421" /></a><br />
数据库打开成功</p>
<pre class="brush: sql; title: ; notranslate">
SQL&gt; conn / as sysdba
已连接。
SQL&gt; alter session set container=xff;

会话已更改。

SQL&gt; show pdbs;

    CON_ID CON_NAME                       OPEN MODE  RESTRICTED
---------- ------------------------------ ---------- ----------
         3 XFF                            MOUNTED
SQL&gt; alter database open ;

数据库已更改。

SQL&gt; conn / as sysdba
已连接。

SQL&gt; show pdbs;

    CON_ID CON_NAME                       OPEN MODE  RESTRICTED
---------- ------------------------------ ---------- ----------
         2 PDB$SEED                       READ ONLY  NO
         3 XFF                            READ WRITE NO
         4 ORAPDB                         READ WRITE NO
</pre>
<p>然后按照客户要求导出数据,完成本次恢复工作.</p>
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/06/deepseek_oracle_recovery_major_fault.html" rel="bookmark" class="crp_title">使用deepseek进行Oracle恢复,引起重大故障</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/04/orafhr-oracle-wman.html" rel="bookmark" class="crp_title">OraFHR快速open被勒索加密破坏的Oracle数据库</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/01/dd-asm-recovery.html" rel="bookmark" class="crp_title">在生产环境错误执行dd命令破坏asm磁盘故障恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/08/obet-forcecopy-ioerror.html" rel="bookmark" class="crp_title">obet forcecopy功能抢救硬件故障中的数据文件</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/03/win-rm-datafile-recovery.html" rel="bookmark" class="crp_title">记录一次win删除数据文件完美恢复案例</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/03/wman-mysql-recovery.html" rel="bookmark" class="crp_title">.wman扩展名勒索mysql数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/04/air-db-recovery.html" rel="bookmark" class="crp_title">.[xueyuanjie@onionmail.org].AIR勒索加密数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/07/obet-2026-07.html" rel="bookmark" class="crp_title">Oracle Block Edit Tool (obet) 功能增强&#8211;2026.07</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/01/hgdb-rm-rf-recovery.html" rel="bookmark" class="crp_title">记录一次国产数据库被rm -rf /*删除的救援过程</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/04/imp-00098-internal-error-impgst2-ora-24801.html" rel="bookmark" class="crp_title">exp dmp导入报IMP-00098: INTERNAL ERROR: impgst2故障处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/10/bres-dmp-recovery.html" rel="bookmark" class="crp_title">.bres勒索病毒加密数据库dmp文件可恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/08/redo-corrupt-recovery.html" rel="bookmark" class="crp_title">不太常见的10.2.0.1的oracle redo损坏恢复</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2026/11/win-datafile-recovery-case.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>使用DBMS_PDB.RECOVER抢救单个pdb</title>
		<link>https://www.xifenfei.com/2026/01/dbms_pdb-recover.html</link>
		<comments>https://www.xifenfei.com/2026/01/dbms_pdb-recover.html#comments</comments>
		<pubDate>Wed, 07 Jan 2026 13:20:40 +0000</pubDate>
		<dc:creator><![CDATA[惜分飞]]></dc:creator>
				<category><![CDATA[Oracle备份恢复]]></category>
		<category><![CDATA[DBMS_PDB.RECOVER]]></category>
		<category><![CDATA[pdb恢复]]></category>
		<category><![CDATA[单个pdb恢复]]></category>

		<guid isPermaLink="false">https://www.xifenfei.com/?p=11892</guid>
		<description><![CDATA[联系：手机/微信(+86 17813235971) QQ(107644445)  &#8230; <a href="https://www.xifenfei.com/2026/01/dbms_pdb-recover.html">继续阅读 <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<div id="xifenfeicopyright">
<p>联系：<a href="https://www.xifenfei.com/about_xifenfei" target="_blank">手机/微信(+86 17813235971)   QQ(107644445)</a><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&#038;uin=107644445&#038;site=qq&#038;menu=yes"><img src="https://www.xifenfei.com/wp-content/themes/img/site_qq.jpg" alt="QQ咨询惜分飞" title="QQ咨询惜分飞"/></a></p>
<p>标题：<a href="https://www.xifenfei.com/2026/01/dbms_pdb-recover.html" target="_blank">使用DBMS_PDB.RECOVER抢救单个pdb</a></p>
<p>作者：<a href="https://www.xifenfei.com" target="_blank">惜分飞</a>©版权所有[未经本人同意,不得以任何形式转载,否则有进一步追究法律责任的权利.]</p>
</div>
<p>由于存储异常导致数据库启动报ORA-1172错误<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2026/01/ORA-1172.png"><img src="https://www.xifenfei.com/wp-content/uploads/2026/01/ORA-1172.png" alt="ORA-1172" width="692" height="340" class="alignleft size-full wp-image-11893" /></a><br />
<hr />
尝试recover datafile 1 报ORA-600 kdBlkCheckError错误</p>
<pre class="brush: bash; title: ; notranslate">
Wed Jan 07 14:31:17 2026
Decreasing number of real time LMS from 5 to 0
ALTER DATABASE RECOVER  datafile 1
Wed Jan 07 14:31:21 2026
Media Recovery Start
Wed Jan 07 14:31:21 2026
Serial Media Recovery started
Wed Jan 07 14:31:21 2026
Recovery of Online Redo Log: Thread 2 Group 24 Seq 2584 Reading mem 0
  Mem# 0: +DATA/CDBDG/ONLINELOG/group_24.393.1122613933
  Mem# 1: +ARCH/CDBDG/ONLINELOG/group_24.276.1122613933
Wed Jan 07 14:31:21 2026
Recovery of Online Redo Log: Thread 1 Group 18 Seq 13823 Reading mem 0
  Mem# 0: +DATA/CDBDG/ONLINELOG/group_18.387.1122613923
  Mem# 1: +ARCH/CDBDG/ONLINELOG/group_18.270.1122613925
Wed Jan 07 14:31:22 2026
Recovery of Online Redo Log: Thread 1 Group 19 Seq 13824 Reading mem 0
  Mem# 0: +DATA/CDBDG/ONLINELOG/group_19.388.1122613925
  Mem# 1: +ARCH/CDBDG/ONLINELOG/group_19.271.1122613925
Errors in file /u01/app/oracle/diag/rdbms/cdbdg/cdb1/trace/cdb1_ora_2753010.trc (incident=806358) (PDBNAME=CDB$ROOT):
ORA-00600: internal error code, arguments: [kdBlkCheckError], [1], [105538], [6401], [], [], [], [], [], [], [], []
Incident details in: /u01/app/oracle/diag/rdbms/cdbdg/cdb1/incident/incdir_806358/cdb1_ora_2753010_i806358.trc
Use ADRCI or Support Workbench to package the incident.
See Note 411.1 at My Oracle Support for error and packaging details.
Wed Jan 07 14:31:25 2026
Media Recovery failed with error 10562
ORA-283 signalled during: ALTER DATABASE RECOVER  datafile 1  ...
</pre>
<p>通过dbv检查file 1（system）数据文件,发现大量坏块</p>
<pre class="brush: bash; title: ; notranslate">
bash-4.2$ dbv file=system.271.1122584815

DBVERIFY: Release 12.1.0.2.0 - Production on Wed Jan 7 20:15:26 2026

Copyright (c) 1982, 2014, Oracle and/or its affiliates.  All rights reserved.

DBVERIFY - Verification starting : FILE = /data/bak/system.271.1122584815

DBV-00200: Block, DBA 4195214, already marked corrupt

DBV-00200: Block, DBA 4210332, already marked corrupt

DBV-00200: Block, DBA 4210333, already marked corrupt
……………………
DBV-00200: Block, DBA 4312889, already marked corrupt

DBV-00200: Block, DBA 4313119, already marked corrupt

DBV-00200: Block, DBA 4313122, already marked corrupt


DBVERIFY - Verification complete

Total Pages Examined         : 524288
Total Pages Processed (Data) : 79989
Total Pages Failing   (Data) : 0
Total Pages Processed (Index): 20781
Total Pages Failing   (Index): 0
Total Pages Processed (Other): 408840
Total Pages Processed (Seg)  : 1
Total Pages Failing   (Seg)  : 0
Total Pages Empty            : 14678
Total Pages Marked Corrupt   : 33
Total Pages Influx           : 0
Total Pages Encrypted        : 0
Highest block SCN            : 3135037281 (4374.3135037281)
</pre>
<p>分析发现这个库是包含了多个pdb,客户的业务主要在con_id=3的pdb中</p>
<pre class="brush: sql; title: ; notranslate">
bash-4.2$ sqlplus / as sysdba

SQL*Plus: Release 12.1.0.2.0 Production on Wed Jan 7 20:27:42 2026

Copyright (c) 1982, 2014, Oracle.  All rights reserved.


Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Advanced Analytics and Real Application Testing options

SQL&gt; show pdbs;

    CON_ID CON_NAME                       OPEN MODE  RESTRICTED
---------- ------------------------------ ---------- ----------
         2 PDB$SEED                       MOUNTED
         3 XFF                            MOUNTED
         4 DYCW                           MOUNTED
SQL&gt;
</pre>
<p>尝试对除cdb的system/sysaux之外的文件进行recover操作均成功<br />
<a href="https://www.xifenfei.com/wp-content/uploads/2026/01/21.png"><img src="https://www.xifenfei.com/wp-content/uploads/2026/01/21.png" alt="2" width="1329" height="196" class="alignleft size-full wp-image-11894" /></a><br />
<hr />
对于这种情况,比较好的处理思路就是通过对单独的pdb文件使用DBMS_PDB.RECOVER处理,然后插入到一个新的cdb中,第一步使用dbca创建一个和当前库字符集一样的cdb</p>
<pre class="brush: bash; title: ; notranslate">
dbca -silent -ignorePreReqs -createDatabase -templateName $ORACLE_HOME/assistants/dbca/templates/General_Purpose.dbc \
-responseFile NO_VALUE \
-gdbname oratest  -sid oratest \
-createAsContainerDatabase TRUE \
-sysPassword oracle -systemPassword oracle -pdbAdminPassword oracle -dbsnmpPassword oracle \
-datafileDestination '/data/oradata' \
-redoLogFileSize 200 \
-characterset ZHS16GBK -nationalCharacterSet AL16UTF16 \
-totalMemory 4096 \
-databaseType MULTIPURPOSE \
-emConfiguration NONE
</pre>
<p>然后利用老的pdb生成需要的xml文件</p>
<pre class="brush: bash; title: ; notranslate">
BEGIN
DBMS_PDB.RECOVER(PDB_DESCR_FILE=&gt; '/tmp/XFF.xml', PDB_NAME=&gt;'XFF', 
FILENAMES=&gt; '/data/bak/system.268.1122584817,
/data/bak/system.441.1125224053,
/data/bak/sysaux.269.1122584817,
…………
/data/bak/odin.312.1122593153,
/data/bak/dsg.314.1122593223');
END; 
/
</pre>
<p>利用该xml文件,直接把这个pdb插入到新cdb中</p>
<pre class="brush: bash; title: ; notranslate">
Wed Jan 07 14:40:52 2026
create pluggable database XFF using '/tmp/XFF.xml' nocopy
Wed Jan 07 14:41:29 2026
Session (221,18860): EXTERNAL SCN ALERT: Advanced SCN by 3185580 minutes worth to 0x1116.bade672c,
    by Pluggable Database plug-in
Session (221,18860): EXTERNAL SCN SOURCE: Inbound connection from client
Session (221,18860): EXTERNAL SCN SOURCE: DB Logon User: SYS, Remote Machine: p770a,
  Program: sqlplus@p770a (TNS V1-V3),OS User: oracle
****************************************************************
Pluggable Database XFF with pdb id - 3 is created as UNUSABLE.
If any errors are encountered before the pdb is marked as NEW,
then the pdb must be dropped
****************************************************************
Database Characterset for XFF is ZHS16GBK
Deleting old file#8 from file$ 
Deleting old file#9 from file$ 
Deleting old file#10 from file$ 
…………
Deleting old file#148 from file$ 
Deleting old file#199 from file$ 
Deleting old file#200 from file$ 
Adding new file#9 to file$(old file#8) 
Adding new file#8 to file$(old file#145) 
Adding new file#10 to file$(old file#9) 
…………
Adding new file#19 to file$(old file#148) 
Adding new file#18 to file$(old file#199) 
Adding new file#17 to file$(old file#200) 
Marking tablespace #2 invalid since it is not present   in the describe file 
Successfully created internal service XFF at open
ALTER SYSTEM: Flushing buffer cache inst=0 container=3 local
Wed Jan 07 14:41:49 2026
****************************************************************
Post plug operations are now complete.
Pluggable database XFF with pdb id - 3 is now marked as NEW.
****************************************************************
Completed: create pluggable database XFF using '/tmp/XFF.xml' nocopy
alter database open
Wed Jan 07 14:43:21 2026
Pluggable database XFF dictionary check beginning
Tablespace 'TEMP' #2 found in data dictionary,
but not in the controlfile. Adding to controlfile.
Pluggable Database XFF Dictionary check complete
Database Characterset for XFF is ZHS16GBK
*********************************************************************
WARNING: The following temporary tablespaces in container(XFF)
         contain no files.
         This condition can occur when a backup controlfile has
         been restored.  It may be necessary to add files to these
         tablespaces.  That can be done using the SQL statement:
 
         ALTER TABLESPACE &lt;tablespace_name&gt; ADD TEMPFILE
 
         Alternatively, if these temporary tablespaces are no longer
         needed, then they can be dropped.
           Empty temporary tablespace: TEMP
*********************************************************************
***************************************************************
WARNING: Pluggable Database XFF with pdb id - 3 is
         altered with errors or warnings. Please look into
         PDB_PLUG_IN_VIOLATIONS view for more details.
***************************************************************
Opening pdb XFF (3) with no Resource Manager plan active
Pluggable database XFF opened read write
Completed: alter database open
alter tablespace temp add tempfile '/data/bak/temp01.dbf' size 16m autoextend on
Completed: alter tablespace temp add tempfile '/data/bak/temp01.dbf' size 16m autoextend on
ALTER PLUGGABLE DATABASE CLOSE IMMEDIATE
Wed Jan 07 14:46:08 2026
Immediate Kill Session#: 366, Serial#: 2995
Immediate Kill Session: sess: 7000100bafb5f58  OS pid: 5637924
ALTER SYSTEM: Flushing buffer cache inst=0 container=3 local
Wed Jan 07 14:46:22 2026
Pluggable database XFF closed
Completed: ALTER PLUGGABLE DATABASE CLOSE IMMEDIATE
alter database open
Wed Jan 07 14:46:48 2026
Database Characterset for XFF is ZHS16GBK
***************************************************************
WARNING: Pluggable Database XFF with pdb id - 3 is
         altered with errors or warnings. Please look into
         PDB_PLUG_IN_VIOLATIONS view for more details.
***************************************************************
Opening pdb XFF (3) with no Resource Manager plan active
Pluggable database XFF opened read write
Completed: alter database open
</pre>
<p><a href="https://www.xifenfei.com/wp-content/uploads/2026/01/32.png"><img src="https://www.xifenfei.com/wp-content/uploads/2026/01/32.png" alt="3" width="735" height="930" class="alignleft size-full wp-image-11895" /></a><br />
<hr />
这次4T多的aix环境rac数据库的单个pdb通过DBMS_PDB.RECOVER方法非常完美的恢复,DBMS_PDB.RECOVER是拯救单个pdb的神兵利器.</p>
<div id="crp_related"><ul><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/07/dbv-controlfile.html" rel="bookmark" class="crp_title">需要注意:dbv 检测controlfile可能不准</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/09/obet-repair-oracle-block.html" rel="bookmark" class="crp_title">obet快速修复oracle 位图损坏块</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2025/06/ora-00756-ora-10567-0-lost-recovery.html" rel="bookmark" class="crp_title">ORA-00756 ORA-10567故障数据0丢失恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/06/undo%e5%9d%8f%e5%9d%97%e5%af%bc%e8%87%b4%e6%95%b0%e6%8d%ae%e5%ba%93%e5%bc%82%e5%b8%b8%e7%bb%88%e6%ad%a2%e6%a1%88%e4%be%8b.html" rel="bookmark" class="crp_title">undo坏块导致数据库异常终止案例</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/05/ora-600-2662-202605.html" rel="bookmark" class="crp_title">一次断电引起的Oracle故障恢复-ora-600 2662故障</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/02/obet-ora-704-ora-604-ora-1578.html" rel="bookmark" class="crp_title">obet处理ORA-704 ORA-604 ORA-1578故障</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2024/05/rm-rf-oracle-recovery.html" rel="bookmark" class="crp_title">rm -rf误删Oracle数据库恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2021/04/raid-force-online-database-recovery.html" rel="bookmark" class="crp_title">raid强制上线后数据库无法启动故障处理</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/08/redo-corrupt-recovery.html" rel="bookmark" class="crp_title">不太常见的10.2.0.1的oracle redo损坏恢复</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/02/obet-csc-higher-than-block-scn.html" rel="bookmark" class="crp_title">obet修复csc higher than block scn类型坏块</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2012/09/dul%e6%8a%bd%e5%8f%96%e5%bc%82%e5%b8%b8asm%e6%96%87%e4%bb%b6.html" rel="bookmark" class="crp_title">密码保护：dul抽取异常asm文件</a></li><li style="list-style-type:decimal;font-size:11px;" ><a href="https://www.xifenfei.com/2026/01/ora-600-3716.html" rel="bookmark" class="crp_title">ORA-600 3716故障处理</a></li></ul></div>]]></content:encoded>
			<wfw:commentRss>https://www.xifenfei.com/2026/01/dbms_pdb-recover.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
