Oracle 12C 之 CDB/PDB用户的创建与对象管理
在Oracle 12C中,账号分为两种,一种是公用账号,一种是本地账号(亦可理解为私有账号)。共有账号是指在CDB下创建,并在全部PDB中生效的账号,另一种是在PDB中创建的账号。针对这两种账号的测试如下:1.1 在PDB中创建测试账号 SQL> alter session setcontainer=pdb01; ...
Oracle 12C 新特性之数据文件在线迁移
1 PDB数据文件的在线移动和重命名在Oracle 12C之前版本中,数据文件的在线重命名与位置的变动,都需要在数据文件处在offline状态下进行(system表空间除外),在数据文件移动过程中会产生额外的归档日志用于在数据文件移动后恢复。而从Oracle 12C开始,数据文件均可在线进行移动和重命名,包括system数据...
Oracle 12C 数据泵新特性测试
1.1 数据泵新特性测试1.1.1 数据导出工具expdp差异The available keywords and their descriptionsfollow. Default values are listed within square brackets.ABORT_STEPStop the job after it is initialized or atthe indicated object.Valid values are -1 or N where N is zero orgreater....
自动监控Oracle 表空间信息并发送邮件脚本
Oracle 表空间自动监控脚本 一天服务器上有多个实例,表空间的监控如何无需一个实例一个实例的去登陆查看而且自动邮件给大家呢。简单的写个脚本供大家参考,若有不当之处请指出将不胜感激.......#!/bin/bash# script name is check_tablespace.sh# created date: 2015-01-05# gui jian#...
oracle 12c新特性:Rman表恢复之直接导入系统
Rman表恢复之直接导入系统:RMAN> recover table pdb.pdb of pluggable database pdba until time '2014-12-15 09:39:31' auxiliary destination '/soft/auxi' datapump destination '/soft/pdump';------缺少了notableimport参数。 Starting recover at 2014/12/15 10:13:54using channel ORA...
Oracle 12C 新特性:Rman的单个表恢复测试--未导入系统
确认在pdb下操作:SQL> show con_name CON_NAME------------------------------PDBA创建一个表:SQL> create table pdb (id number,tdatedate);插入部分数据:SQL> select * from pdb; IDTDATE---------- ------------------- ...
Oracle 12C 新特性:关于归档日志的备份
关于归档日志的备份: RMAN>backup archivelog all; Starting backup at 2014/12/10 10:38:50current log archivedusing channel ORA_DISK_1channel ORA_DISK_1: starting archived logbackup setchannel ORA_DISK_1: specifying archivedlog(s) in backup setinput ar...
关于归档日志的切换测试
[oracle@node02 ~]$ sqlplus / as sysdba SQL*Plus: Release 12.1.0.1.0 Production onWed Dec 10 10:34:02 2014 Copyright (c) 1982, 2013, Oracle. All rights reserved.Connected to:Oracle Database 12c Enterprise EditionRelease 12.1.0.1.0 - 64bit ProductionWith...
Oracle 12C 单实例安装文档( 官方文档)
Oracle? DatabaseQuick Installation Guide12c Release 1 (12.1) for Linux x86-64E54543-04October 2014This guide describes how to quickly install Oracle Database 12c Release 1 (12.1) on Linux x86-64 systems. It includes information about the following:Rev...
oracle ovm配置使用
1 环境概要环境概要说明:因此次资源不足,仅有两台服务器进行Oracle OVM测试安装,故部分功能无法实现,如在线迁移、异常OVS异常模拟等。1.1 硬件信息物理服务器 2 台, HP DL 360 G7,颗 4核 CPU(型...
多租户系统的建立目标
Amultitenant environment enables the central management of multiple PDBs in asingle installation. By using a multitenant environment, you can accomplish thefollowing goals:· Costreduction------降低成本By consolidating合并、巩固 hardware ...
PDB数据文件的在线位置以及文件名更改
SQL> alter database move datafile'/oracle/app/oracle/oradata/ITAM/0949345E60F736A4E0530101007F2940/datafile/o1_mf_system_b7x420m8_.dbf'to '/oracle/app/oracle/oradata/ITAMpdb/o1_mf_system_b7x420m8_.dbf';alter database move datafile'/oracle/app/oracle/oradata/ITAM/0949345E60F736A4E0530101007F...
oracle 12C rman下表的恢复
确认在pdb下操作:SQL> show con_name CON_NAME------------------------------PDBA创建一个表:SQL> create table pdb (id number,tdatedate);插入部分数据:SQL> select * from pdb; IDTDATE---------- ------------------- ...
关于Oracle12C rac DDL日志的测试验证
关于Oracle DDL日志的记录:[oracle@DBA12C02 ddl]$ sqlplus / as sysdba SQL*Plus: Release 12.1.0.2.0 Production onMon Dec 15 10:19:03 2014 Copyright (c) 1982, 2014, Oracle. All rights reserved. Connected to:Oracle Database 12c Enterprise...
oracle 12C RAC 启动报错 ORA-00845
oracle 12C RAC在安装完后,启动实例的时候一直报错如下:[grid@node01 ~]$ srvctl start database -d cloud -verbosePRCR-1079 : Failed to start resource ora.cloud.dbCRS-5017: The resource action "ora.cloud.db start" encountered the following error: ORA-00845: MEMORY_TARGET not supported on this s...
oracle ovm deploycluster工具简介
The deploycluster tool is astandalone program that can run from any Linux server. It connects to Oracle VM3 Manager to automatically configure any number of nodes (VMs) to create afully functional Single Instance, Single Instance/HA (Oracle Restart) or RealApplication Cluster environment. The ...
PRVF-0002的解决方法
安装oracle11g单实例时报错:PRVF-0002 : Could not retrieve local nodename该错误主要是由于hosts文件配置问题:在hosts文件中加入服务器ip以及hostname即可
Linux udev 动态管理Oracle ASM磁盘-实验
1 概述在Red Hat Enterprise Linux (RHEL) 6以前,Oracle都是采用ASMLib包来管理ASM磁盘。但是2011年5月甲骨文发表了一份声明,声明中称Oracle将不再提供Red Hat Enterprise L...
Fatal NI Connect Error 12170, 'TNS-12535: TNS:operation timed out
问题描述:*********************************************************************** Fatal NI connect error 12170. VERSION INFORMATION: TNSfor IBM/AIX RISC System/6000: Version 11.2.0.1.0 - Production &nbs...
ORA-12545 or ORA-12537 While Connecting to RAC through SCAN name
最近集团部分oracle 11.2.0.1的RAC数据库在使用scanip作为tnsnames.ora配置后,总是会报出ORA-12545 or ORA-12537 的错误查metalink发现原来是oracle11.2.0.1的一个bug,该问题在11.2.0.2上已解决,再次小记作为备忘:错误描述:Error ORA-12545 or ORA-12537 reported while trying to connect to 11gR2 Real Applicatio...