博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
ORA-12754: Feature PDB SNAPSHOT CAROUSEL is disabled due to missing capability
阅读量:4071 次
发布时间:2019-05-25

本文共 2197 字,大约阅读时间需要 7 分钟。

今天在18c做测试的时候,对PDB创建快照,发生如下的报错信息:

[oracle@oracle18c ~]$ sqlplus / as sysdbaSQL*Plus: Release 18.0.0.0.0 - Production on Fri Sep 28 22:25:22 2018Version 18.3.0.0.0Copyright (c) 1982, 2018, Oracle.  All rights reserved.Connected to:Oracle Database 18c Enterprise Edition Release 18.0.0.0.0 - ProductionVersion 18.3.0.0.0SQL> alter pluggable database pdb1 snapshot pdb1_test1;alter pluggable database pdb1 snapshot pdb1_test1*ERROR at line 1:ORA-12754: Feature PDB SNAPSHOT CAROUSEL is disabled due to missing capability.

解决办法:

[oracle@oracle18c ~]$ sqlplus / as sysdbaSQL*Plus: Release 18.0.0.0.0 - Production on Fri Sep 28 22:34:08 2018Version 18.3.0.0.0Copyright (c) 1982, 2018, Oracle.  All rights reserved.Connected to:Oracle Database 18c Enterprise Edition Release 18.0.0.0.0 - ProductionVersion 18.3.0.0.0SQL> alter session set container=cdb$root;Session altered.SQL> alter system set "_exadata_feature_on"=true scope=spfile;System altered.SQL> shutdown immediate;Database closed.Database dismounted.ORACLE instance shut down.SQL> startupORACLE instance started.Total System Global Area 1191181104 bytesFixed Size		    8895280 bytesVariable Size		  771751936 bytesDatabase Buffers	  402653184 bytesRedo Buffers		    7880704 bytesDatabase mounted.Database opened.SQL> show pdbs;     CON_ID CON_NAME			  OPEN MODE  RESTRICTED---------- ------------------------------ ---------- ----------	 2 PDB$SEED			  READ ONLY  NO	 5 PDB1 			  MOUNTEDSQL> alter pluggable database pdb1 open;Pluggable database altered.SQL> alter session set container=pdb1;Session altered.SQL> alter pluggable database pdb1 snapshot pdb1_test1;Pluggable database altered.SQL> SET LINESIZE 150COL CON_NAME FORMAT a10COL SNAPSHOT_NAME FORMAT a30COL SNAP_SCN FORMAT 9999999COL FULL_SNAPSHOT_PATH FORMAT a55SQL> SQL> SQL> SQL> SQL> select con_id, con_name, snapshot_name,snapshot_scn as snap_scn, full_snapshot_path from   dba_pdb_snapshots order by snap_scn;    CON_ID CON_NAME   SNAPSHOT_NAME		     SNAP_SCN FULL_SNAPSHOT_PATH---------- ---------- ------------------------------ -------- -------------------------------------------------------	 5 PDB1       PDB1_TEST1		      1711651 /u01/oradata/pdb1/snap_70485319_1711651.pdb

 

转载地址:http://hchji.baihongyu.com/

你可能感兴趣的文章
android 代码实现圆角
查看>>
java LinkedList与ArrayList迭代器遍历和for遍历对比
查看>>
drat中构造方法
查看>>
JavaScript的一些基础-数据类型
查看>>
coursesa课程 Python 3 programming 统计文件有多少单词
查看>>
coursesa课程 Python 3 programming course_2_assessment_7 多参数函数练习题
查看>>
coursesa课程 Python 3 programming course_2_assessment_8 sorted练习题
查看>>
多线程使用随机函数需要注意的一点
查看>>
getpeername,getsockname
查看>>
Visual Studio 2010:C++0x新特性
查看>>
所谓的进步和提升,就是完成认知升级
查看>>
如何用好碎片化时间,让思维更有效率?
查看>>
No.182 - LeetCode1325 - C指针的魅力
查看>>
Encoding Schemes
查看>>
带WiringPi库的交叉笔译如何处理二之软链接概念
查看>>
Java8 HashMap集合解析
查看>>
自定义 select 下拉框 多选插件
查看>>
linux和windows内存布局验证
查看>>
移动端自动化测试-Mac-IOS-Appium环境搭建
查看>>
Selenium之前世今生
查看>>