Plugging an Unplugged Pluggable Database issue 2
因为原库和目标库版本不一制,出现各种问题,强烈建议保持2个版本一致
http://www.cndba.cn/dave/article/220
Log 提示查看PDB_PLUG_IN_VIOLATIONS。
col action for a70
select status,action from PDB_PLUG_IN_VIOLATIONS;
RESOLVED
Please check the parameter in the current CDB
PENDING
Call datapatch to install in the PDB or the CDB
PENDING
Call datapatch to install in the PDB or the CDB
PENDING
Call datapatch to install in the PDB or the CDB
已选择 8 行。
select message from PDB_PLUG_IN_VIOLATIONS;
SU bundle patch 4 (Database Patch Set Update : 12.1.0.2.4 (20831110)): Installed in the CDB but not in the PDB.
shutdown immediate
startup upgrade
alter pluggable database PIVRSDEV close immediate;
alter pluggable database PIVRSDEV open upgrade;
cd C:\app\oracle\product\12.1.0\dbhome_1\OPatch
##datapatch.bat -verbose -pdbs PIVRSDEV
datapatch.bat -verbose
##因为需要回退补丁,所以需要将source 下的$ORACLE_HOME\sqlpatch 下的两个文件夹 才copy 到target 机器$ORACLE_HOME\sqlpatch
##(atapatch fails with "The Database Must Be In Upgrade Mode" error (文档 ID 2006198.1)) .\datapatch.bat -verbose
##因为之前已经打过patch,所以这里直接执行脚本即可:
(DB_NAME IS UPPER,AND GIVE ADMINISTRATOR OSDBA GROUP )
AND THEN RESTART WHOLE DB
alter pluggable database PIVRSDEV close immediate;
alter pluggable database PIVRSDEV open read write;
alter pluggable database all save state;
shutdown immediate;
startup
--结论:
###bug After running datapatch, PDB plugin or cloned db returns violations shown in PDB_PLUG_IN_VIOLATION (文档 ID 1635482.1)
内容如下:
alter pluggable database PIVRSDEV open read write;
PDB_PLUG_IN_VIOLATIONS 就会有pending;
alter pluggable database PIVRSDEV open upgrade:
PDB_PLUG_IN_VIOLATIONS 就会有 resolved.
workaroud.
·##只能保持2个版本一致。
Plugging an Unplugged Pluggable Database issue 2的更多相关文章
- Plugging an Unplugged Pluggable Database issue 3
Multitenant Unplug/Plug Best Practices (文档 ID 1935365.1) 1.source 从0419 升级到1019 ,但是datapatch 没有回退041 ...
- Plugging an Unplugged Pluggable Database
1.unplug To unplug a PDB, you first close it and then generate an XML manifest file. The XML file co ...
- ORA-65179: cannot keep datafiles for a pluggable database that is not unplugged
SQL> drop pluggable database pdb2; drop pluggable database pdb2 * ERROR at line : ORA-: cannot ke ...
- oracle12c新特点之可插拔数据库(Pluggable Database,PDB)
1. 12c PDB新特点的优势 1) 可以把多个PDB集成进一个平台. 2) 可以快速提供一个新的PDB或一个已有PDB的克隆. 3) 通过拔插技术,可以快速把存在的数据库重 ...
- Oracle Database 12c 新特性 - Pluggable Database
在Oracle Database 12c中,可组装式数据库 - Pluggable Database为云计算而生.在12c以前,Oracle数据库是通过Schema来进行用户模式隔离的,现在,可组装式 ...
- Oracle 12c: RMAN restore/recover pluggable database
查看数据库状态 运行在归档模式,可拔插数据库name=pdborcl SQL> archive log list; Database log mode Archive Mode Automati ...
- Oracle 12C pluggable database自启动
实验环境创建了两个PDB,本实验实现在开启数据库时,实现pluggable database PDB2自启动: 原始环境: SQL> shu immediateDatabase closed.D ...
- Clone a Pluggable Database – 12c Edition
1. 1.Tnsnames when connecting to either Container or Pluggable instance The tnsnames.ora should be c ...
- Multitenant best Practice clone pdb seed and Clone a Pluggable Database – 12c Edition
1. 1.Tnsnames when connecting to either Container or Pluggable instance The tnsnames.ora should be c ...
随机推荐
- iOS app url scheme跳转到淘宝商品详情页 唤醒app
最近涉及的一个业务,在app内的一个广告,点击打开webView,加载的是一个淘宝商品详情页,效果是打开该webView自动跳转至淘宝对应的页面,同时在自己的app仍然加载页面,点击评论等也同样能跳转 ...
- swing _JFileChooser文件选择窗口
import javax.swing.JFileChooser; import org.eclipse.swt.internal.win32.TCHITTESTINFO; public class t ...
- navcat for mysql 连接远程数据库 教程
1.首先进入数据库: mysql -uroot -p 2.然后打开数据库设置远程连接权限: mysql>GRANT ALL PRIVILEGES ON *.* TO 'myuser'@'%'ID ...
- C语言一个单链表的实现
-- 所谓链表记住一句即可:地址不连续,大家只是握个手而已: list0.c #include<stdio.h> #include<malloc.h> typedef int ...
- POJ1087 A Plug for UNIX —— 最大流
题目链接:https://vjudge.net/problem/POJ-1087 A Plug for UNIX Time Limit: 1000MS Memory Limit: 65536K T ...
- POJ1077 Eight —— A*算法
主页面:http://www.cnblogs.com/DOLFAMINGO/p/7538588.html 关于A*算法:g(n)表示从起点到任意节点n的路径花费,h(n)表示从节点n到目标节点路径花费 ...
- sql server filter table name
https://stackoverflow.com/questions/26577464/how-to-find-a-table-in-sql-server-if-only-the-partial-t ...
- JAVA 单选样式编写
<td class="main_matter_td">管网供水情况</td> <td align="left" class=&qu ...
- spark运行方式及其常用参数
yarn cluster模式 例行任务一般会采用这种方式运行 指定固定的executor数 作业常用的参数都在其中指定了,后面的运行脚本会省略 spark-submit \ --master yarn ...
- VC++静态连接库
目录 第1章静态连接库 1 1.1 同名函数的选择 1 1.2 模块合并 2 1.2.1 模块替换 4 1.3 内联函数 4 第1章静态连接库 静态连接库与动态连接库一样 ...