Oracle数据库异机升级(10.2.0.5 --> 11.2.0.4)
参考:http://www.cnblogs.com/jyzhao/p/4813324.html架构介绍:源库:单实例 ip:192.168.56.11 ORCLE_SID:orcl db_nme:orcl 版本:10.2.0.5.0 os:Red Hat Enterprise Linux Server release 4 (Tikanga) hostname:rhel &...
RMAN switch 命令 及使用back as copy 和switch datafile迁移存储数据
SWITCH命令详解Purpose:目的,即使用switch命令能做什么Use the SWITCH command to perform either of the following operations: Update the file names for a database, tablespace, or data file to the latest image copies available for the specified files 1.将数据库,...
数据文件实验操作datafile的create/offline/drop/rename等操作
一、创建表空间: create tablespace test1 datafile '/u01/app/oracle/oradata/DBdb/test101.dbf' size 10M autoextend on next 1M maxsize 2G extent management local uniform size 1M segment space management auto;Tablespace created.SQL> 二、更改表空间状态:SYS> alte...
alter database datafile offline drop 与 alter tablespace drop datafile 区别
http://blog.csdn.net/tianlesoftware/article/details/63056001. alter database datafile 'file_name' offline drop 该命令不会删除数据文件,只是将数据文件的状态更改为recover。 offline drop命令相当于把一个数据文件至于离线状态,并且需要恢复,并非删除数据文件。 数据文件的相关信息还会存在数据字典和...
Linux NFS服务器的安装与配置
参考:https://www.cnblogs.com/mchina/archive/2013/01/03/2840040.htmlhttp://blog.sina.com.cn/s/blog_12b17b7e80102wkgo.htmlhttp://blog.51cto.com/dreamfire/1131874一、NFS概述网络文件系统(NFS,Network File System)是一种将远程主机上的分区(目录)经网络挂载到本地系统的一种机制,通过对网络文件系统...
解决umount.nfs: /data: device is busy 问题
https://www.cnblogs.com/saneri/p/5465718.html
OracleRAC集群SCAN监听原理及说明
一、基本概念oracle11gR2 RAC开始引入scan概念,一般通过dns服务器或gns服务器解析scan,也可以使用/etc/hosts文件解析scan,只不过oracle官方不建议这样做,hosts文件只能解析一个scan ip;另一个方面监听器前移到$GRID_HOME/network/admin/listener.ora文件,即11g rac监听器由grid用户管理,oracle用户保留文件,但已...
11g rac监听配置解析
rac配置如下:[grid@dbrac1 admin]$ cat /etc/hosts127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4::1 localhost localhost.localdomain localhost6 localhost6.localdomain6192.168.56.2 dbrac1192...
Oracle参数COMPATIBLE
Oracle数据库中有个参数COMPATIBLE,我们有时候会叫它为编译版本。对于该参数的含义,官方文档的解释是:COMPATIBLE allows you to use a new release of Oracle, while at the same time guaranteeing backward compatibility with an earlier release. This is helpful if it becomes necessary to revert to the earli...
Oracle 密码文件
参考:http://blog.csdn.net/leshami/article/details/5611672--==============================-- Oracle密码文件--==============================/*一、密码文件 作用:主要进行DBA权限的身份认证 DBA用户:具有sysdba,sysoper权限的用户被称为dba用户。默认情况下sysdba角色中存在sy...
1OG数据库之library cache lock、pin模拟结合hanganalyze定位及systemdump定位
session 1:SQL> select sid from v$mystat where rownum=1; SID---------- 148SQL> create or replace procedure pining is begin null; end;...
11G数据库之library cache lock及library cache pin模拟结合hanganalyze定位
session1:SQL> select sid from v$mystat where rownum=1; SID---------- 41SQL> create or replace procedure pining is begin null; ...
【备份恢复】}异机备份恢复数据库
此实验是在B库上恢复A库,不过更改了实例名。目标库只是按照到oracle软件为止。源库(A库): 192.168.56.12 ORACLE_SID=DBdb DBID=3282897732目标库(B库):192.168.56.28 ORACLE_SID=kill 源库备份(A库)联机全备:全被加控制文件及归档备份;run{backup database format '/home/oracle/BKdbfil...
RMAN set 命令
一、set newname命令:If you are restoring some data files to new locations, then execute RESTORE DATABASE and RECOVER DATABASE sequentially in a RUN command. Use the SET NEWNAME to rename data files, as described in "Restoring Datafiles to a Nondefault Location".如果要将某些数据文...
alter database rename file to 子句
database_file_clauses The database_file_clauses let you modify data files and temp files. You can use any of the following clauses when your instance has the database mounted, open or closed, and the files involved are not in use.RENAME FILE Clause Use the RENAME FILE cla...
Maclean教你读SQL TRACE TKProf报告
http://www.askmaclean.com/archives/maclean-tech-tkprof-10046.html
Maclean教你读Oracle 10046 SQL TRACE
http://www.askmaclean.com/archives/maclean-10046-sql-trace.html
使用ErrorStack进行错误跟踪及诊断!
在使用oracle数据库的过程中,可能会遇到各种各样的错误或异常,很多异常提示并不具体,我们有必要了解一下oracle的ErrorStack跟踪方式。ErrorStack是oracle提供的一种对于错误堆栈进行跟踪的方法,通过设置跟踪可以将一些错误的后台信息详尽转储出来,写入跟踪文件,对于错误的研究与诊断非常有效。设置ErrorStack主要有...
oracle index索引原理
https://www.cnblogs.com/iliuyuet/p/4431464.html
关于ASM 磁盘组中 Usable_file_MB 为负值的说明
先看一组查询结果:[grid@asm ~]$ asmcmd lsdgState Type Rebal Sector Block AU Total_MB Free_MB Req_mir_free_MB Usable_file_MB Offline_disks Voting_files NameMOUNTED N...