ORACLE 12.1.0.1 至12.1.0.2升级文档(单机版 DBUA方式)
12C DBUA新特性
1. 新的pre-upgrade 检查工具.
2. 并行升级.
3. DBUA升级时,默认并行度为CPU个数或2. 并行度可调整.
4. 在升级过程中,DBUA工具可再次调用(restarted).
5. 更详细的日志来监控升级的进度.
6. CDB 和 PDB 同时都会升级.
7. listener 会迁移至新的版本中.
8. 所有的数据文件和临时文件会更改为自动扩展.
如下,着重讲一下12c的pre-upgrade 检查工具:
具体参考MOS:
How to Download and Run Oracle's Database Pre-Upgrade Utility (Doc ID 884522.1)
注意:
1、如果是CDB环境,则需要所有的PDB置于READ,WRITE状态.
2、如果是CDB环境,升级前检查脚本必须在CDB和PDB都执行.
|
SQL> show pdbs;
CON_ID CON_NAME OPEN MODE RESTRICTED ---------- ------------------------------ ---------- ---------- 2 PDB$SEED READ ONLY NO 3 PDB1 READ WRITE NO 4 PDB2 READ WRITE NO 5 PDB3 READ WRITE NO SQL> |
执行升级前检查脚本方法一(catcon.pl):
Oracle has provided script catcon.pl to execute scripts at Container and Pluggable database at once. In a CDB, the catcon.pl script is the best way to run SQL scripts and SQL statements. It can run them in the root and in specified PDBs in the correct order, and it generates log files.
The catcon.pl script is a Perl script that must be run at an operating system prompt.
If Neither the -c nor the -C parameter is specified, then catcon.pl runs the script in all containers by default.
|
[oracle@12cdb01 admin]$ cd $ORACLE_HOME/rdbms/admin [oracle@12cdb01 admin]$ $ORACLE_HOME/perl/bin/perl catcon.pl -d /u01/software/precheck -l /home/oracle -b preupgrade_log_base_name preupgrd.sql [oracle@12cdb01 admin]$ |
脚本生成的日志:
|
[oracle@12cdb01 ~]$ cd /home/oracle [oracle@12cdb01 ~]$ ll total 20 -rw-r--r-- 1 oracle oinstall 5092 Nov 26 18:14 preupgrade_log_base_name0.log -rw-r--r-- 1 oracle oinstall 2822 Nov 26 18:14 preupgrade_log_base_name1.log -rw-r--r-- 1 oracle oinstall 2822 Nov 26 18:14 preupgrade_log_base_name2.log -rw-r--r-- 1 oracle oinstall 2822 Nov 26 18:14 preupgrade_log_base_name3.log [oracle@12cdb01 ~]$ |
执行升级前检查脚本方法二(分别进入所有容器):
|
$ sqlplus "/ as sysdba" sql> <Location of preupgrade scripts>/preupgrd.sql
sql> alter session set container=<PDB_Name>; sql> <Location of preupgrade scripts>/preupgrd.sql
sql> alter session set container=<PDB_Name>; sql> <Location of preupgrade scripts>/preupgrd.sql |
整个升级文档太大,不放在该blog中,如有需要,请点击链接下载:
http://files.cnblogs.com/files/missyou-shiyh/upgraded_to_12.1.0.2_using_dbua.rar
ORACLE 12.1.0.1 至12.1.0.2升级文档(单机版 DBUA方式)的更多相关文章
- 李洪强iOS开发之-环信02.1_环信 SDK 2.x到3.0升级文档
李洪强iOS开发之-环信02.1_环信 SDK 2.x到3.0升级文档 SDK 2.x 至 3.0 升级指南 环信 SDK 3.0 升级文档 3.0 中的核心类为 EMClient 类,通过 EMCl ...
- 【工具篇】利用DBExportDoc V1.0 For MySQL自动生成数据库表结构文档
对于DBA或开发来说,如何规范化你的数据库表结构文档是灰常之重要的一件事情.但是当你的库,你的表排山倒海滴多的时候,你就会很头疼了. 推荐一款工具DBExportDoc V1.0 For MySQL( ...
- 利用DBExportDoc V1.0 For MySQL自动生成数据库表结构文档
对于DBA或开发来说,如何规范化你的数据库表结构文档是灰常之重要的一件事情.但是当你的库,你的表排山倒海滴多的时候,你就会很头疼了. 推荐一款工具DBExportDoc V1.0 For MySQL( ...
- Asp.Net Core2.0 WebAPI 使用Swagger生成漂亮的接口文档
1.引用NuGet: Swashbuckle.AspNetCore.Swagger Swashbuckle.AspNetCore.SwaggerGen 或 <PackageReference I ...
- Oracle 12C R2 on Linux 7.X 单实例静默安装文档
禁用防火墙systemctl stop firewalld.servicesystemctl disable firewalld.service 禁用SELinuxcat /etc/selinux/c ...
- Confluence-6.10.0+Jira-7.13+Crowd-3.2.1最全破解文档,附下载包
=========================================2019.4.19更改================================================ ...
- Beautiful Soup 4.2.0 文档
Beautiful Soup 4.2.0 文档 Beautiful Soup 是一个可以从HTML或XML文件中提取数据的Python库.它能够通过你喜欢的转换器实现惯用的文档导航,查找,修改文档的方 ...
- 图形化升级单机oracle 11.2.0.4 到 12.2.0.1
1. 讲补丁包上传到 Oracle server ,解压.安装 [oracle@11g tmp]$ unzip linuxx64_12201_database.zip 2. 检查当前版本 SQL> ...
- Deploying JRE (Native Plug-in) for Windows Clients in Oracle E-Business Suite Release 12 (文档 ID 393931.1)
In This Document Section 1: Overview Section 2: Pre-Upgrade Steps Section 3: Upgrade and Configurati ...
随机推荐
- UDEV管理RAC共享存储
背景:操作系统 centos 6.7 数据库:11.2.0.1 操作流程: 1. 确认在所有RAC节点上已经安装了必要的UDEV包[root@11gnode1 ~]# rpm -qa|grep ude ...
- Operating System-Kickoff:什么是操作系统&&操作系统的核心概念
接下来会写一系列Operating System(操作系统)的文章,今天先开个头.本文主要内容: 什么是操作系统 操作系统的核心概念 程序=数据结构+算法 一.什么是操作系统 1.1 操作系统是对硬件 ...
- BZOJ4003:[JLOI2015]城池攻占
浅谈左偏树:https://www.cnblogs.com/AKMer/p/10246635.html 题目传送门:https://lydsy.com/JudgeOnline/problem.php? ...
- 我的SIP开发之路
http://hi.baidu.com/ltlovelty/blog/item/837baf1ece7fc6f11ad57647.html 经过对SIP协议和开源协议栈快半年的研究,我现在终于有点入门 ...
- Netty组件
一.Channel.EventLoop 和ChannelFuture 这些类合在一起,可以被认为是Netty 网络抽象的代表: Channel—Socket: EventLoop—控制流.多线程处理. ...
- mysql查询语句例题
1.一条SQL语句查询两表中两个字段 首先描述问题,student表中有字段startID,endID.garde表中的ID需要对应student表中的startID或者student表中的endID ...
- 值得细细品读的URL资源
Web安全渗透方面的资源指南: 知乎综合问答:https://www.zhihu.com/question/21914899 渗透测试经典演练系统:http://www.freebuf.com/sec ...
- C++之Stack模板类
假设有这样一种情况:某人将一车文件交给小王.倘若小王的抽屉是空的,那么小王从车上取出最上面的文件将其放入抽屉:倘若抽屉是满的,小王从抽屉中取出最上面的文件,放入垃圾篓:倘若抽屉即不空也未满,那么小王抛 ...
- chef语法和案例
1. 添加用户 $ vim create_user.rb -----------------------------------> user 'charlie' do //创建一个uid为88的 ...
- AES算法的c++实现
该模板无填充操作. 1.AES.h #include<cstdio> #include<cstring> #include<algorithm> #include& ...