重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 1210|回复: 1
打印 上一主题 下一主题

19c 创建PDB快照报错:ORA-65169,ORA-17517

[复制链接]
跳转到指定楼层
楼主
发表于 2022-2-20 12:12:48 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
SQL> alter pluggable database pdb2
  2     snapshot pdb2_first_snap;
alter pluggable database pdb2
*
ERROR at line 1:
ORA-65169: error encountered while attempting to copy file
+DATA/CDB1/D86B683A56D1541CE0537885A8C06795/DATAFILE/undotbs1.277.1097147211
ORA-17517: Database cloning using storage snapshot failed on file
8:+DATA/CDB1/D86B683A56D1541CE0537885A8C06795/DATAFILE/undotbs1.277.1097147211


这个问题,主要是到目前为此,PDB快照不支持ASM,可以使用文件系统。或者设置

alter system set clonedb=true scope=spfile;

分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

沙发
 楼主| 发表于 2022-2-20 12:13:22 | 只看该作者
Create PDB From Snapshot Copy Throws ORA-65169/ORA-17525 Errors (Doc ID 2084589.1)




In this Document

Symptoms
Cause
Solution
References


APPLIES TO:
Oracle Database Cloud Schema Service - Version N/A and later
Oracle Database Exadata Cloud Machine - Version N/A and later
Oracle Database Exadata Express Cloud Service - Version N/A and later
Oracle Cloud Infrastructure - Database Service - Version N/A and later
Oracle Database Cloud Exadata Service - Version N/A and later
Information in this document applies to any platform.

SYMPTOMS
On 12c database, create pdb from snapshot copy throws ora-65169/ora-17525 errors :


create pluggable database pclone1 from pclone snapshot copy file_name_convert=('/oradata/testclone/datafile/o1_mf_system_c5bocwh0_.dbf','/oradata/testclone2/system01.dbf','/oradata/testclone/datafile/o1_mf_sysaux_c5bocwh3_.dbf','/oradata/testclone2/sysaux01.dbf','/oradata/testclone/datafile/o1_mf_users_c5bocwh5_.dbf','/oradata/testclone2/users01.dbf','/oradata/testclone/datafile/o1_mf_temp_c5bocwh5_.dbf','/oradata/testclone2/temp01.dbf')
*
ERROR at line 1:
ORA-65169: error encountered while attempting to copy file
/oradata/testclone/datafile/o1_mf_syst
em_c5bocwh0_.dbf
ORA-17525: Database clone using storage snapshot not supported on file
/oradata/testclone/datafile/o1_mf_syst
em_c5bocwh0_.dbf




CAUSE
1. The storage does not support file snapshots.
2. clonedb was not set .

SOLUTION
The ORA-17525 error is thrown because the storage does not support file snapshots. Use a compatible storage.

Or)

Set clonedb=TRUE

SQL> alter system set clonedb=true scope=spfile;

Then restart database
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-24 20:38 , Processed in 0.123566 second(s), 19 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表