给ASM实例增加diskgroup
测试虚拟机操作系统版本是 Redhat 6.4 64位,数据库版本是 oracle 11.2.0.4.0 64bit, GI版本 oracle 11.2.0.4 64bit,下文记录了使用udev给ASM实例添加一个磁盘组 diskgroup FRA,一共两个硬盘 sdf, sdg,各20G空间.step1:确认新硬盘并创建分区[root@rhel ~]# ls -lt /dev/sd*brw-rw----. 1 root disk 8, 1 J...
应用RMAN Transportable Database进行数据库跨平台迁移
+ We can use RMAN "Transportable Database" conversion for performing cross platform database migration between two operating system platforms belonging to the same endian format.Use V$TRANSPORTABLE_PLATFORM view to check the endianess of source and target database platforms.+ If you need to mi...
Supporting 4K Sector Disks
Supporting 4K Sector Disks [Video] (Doc ID 1133713.1)Click to add to FavoritesSupporting 4K Sector Disks [Video] (Doc ID 1133713.1)To BottomTo Bottom Modified:Jun 3, 2013Type:BULLETIN Rate this documentEmail link to this documentOpen document in new windowPrintable PageIn this Document...
oracle数据文件验证工具
由于各方面的因素,数据块可能会出现损坏,这个损坏包括逻辑上的和物理上的,DBA们可以使用rman, analyzer, dbv等工具对数据文件进行验证,从而发现潜在的corruption。今天从oracle support上查看了一篇文章,关于使用 dbv来验证数据文件的,感觉和rman validate database, validate datafile fil...
oracle空间收缩
都知道alter table move 或shrink space可以收缩段,用来消除部分行迁移,消除空间碎片,使数据更紧密,但move跟shrink space还是有区别的。Move会移动高水位,但不会释放申请的空间,是在高水位以下(below HWM)的操作。而shrink space 同样会移动高水位,但也会释放申请的空间,是在高水位上下(below and above HWM)都...
11g feature: Flashback Data Archive Guide. (Doc ID 470199.1)
Purpose What is FDA (Flashback Data Archive) ? How to enable Flashback Data Archive features? What is the role of the new background process FBDA? What is the Flashback Data Archive Workflow an Example? H...
ORACLE db相关name
db_name:对一个数据库(Oracle database)的唯一标识。这种表示对于单个数据库是足够的,但是随着由多个数据库构成的分布式数据库的普及,这种命令数据库的方法给数据库的管理造成一定的负担,因为各个数据库的名字可能一样,造成管理上的混乱。为了解决这种情况,引入了db_domain参数,这样在数据库的标识是由 db_name...
ORACLE 重命名数据文件
oracle datafile rename 可以采用下述两种方法:1. Alter tablespace data file rename当数据库处于运行状态,可以选择使用先将数据文件所在表空间置于offline状态,然后移动数据文件并重敏命名数据库文件,最后将表空间置于online状态。 We can use the alter tablespace renaume datafile command, but th...
闪回数据归档-- Flashback Data Archive
11g feature: Flashback Data Archive Guide. (Doc ID 470199.1)闪回数据归档是oracle 11g的特性之一,如果对某个对象(表)使用该功能,那么从功能启用开始,针对该对象的所有事务修改都会保留一段时间,通过 select as of timestamp 查询 到特定时期的历史数据。PurposeWhat is FDA (Flashb...
闪回数据库-- Doc ID 249319.1
本文介绍了如何配置数据库,使其能进行数据库闪回flashback database,Flashback database------------------------------ This a new feature introduced in 10g.- Flashbacking a database means going back to a previous database state.- The Flashback Database feature provides a way to quickly revert ent...
oracle audit and security
创建和实施安全过程有助于保护公司最重要的财富-数据。创建一个数据库用户:create user thumperidentified by rabbitdefault tablespace userstemporary tablespace temp;授予资源定额alter user thumperquota 100M on users;除了用户名外,create user命令中的全部参数都可以由alter user命令来更改。撤销用户...
consistent read 和 current read
文对consistent read current read解释易于理解,故转来保留。为了弄清楚consistent read 和 current read的概念,上网搜了一下,并做了一些实验。下面是我的理解和实验过程。 如有不对的地方,望指正出来,谢谢:)consistent read :我的理解,就是通过scn来读取。 读取的过程中要保证 scn是一致的。举个...
Linux-dd命令详解
Linux-dd命令详解 dd 是 Linux/UNIX 下的一个非常有用的命令,作用是用指定大小的块拷贝一个文件,并在拷贝的同时进行指定的转换。名称: dd 使用权限: 所有使用者dd 这个指令在 manual 里的定义是 convert and copy a file 使用方式: dd [option] 如果你想要在线看 manual, 可以试试: dd --help 或是 info...
UDEV SCSI Rules Configuration for ASM in Oracle Linux 5 and 6
http://www.oracle-base.com/articles/linux/udev-scsi-rules-configuration-in-oracle-linux-5-and-6.phpFor Oracle Automatic Storage Manager (ASM) to use disks, it needs to be able to identify the devices consistently and for them to have the correct ownership and permissions. In Linux you can use A...
为啥99-oracle-asmdevices.rules 就可以
为啥99-oracle-asmdevices.rules 就可以参考链接文档https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=422764250370176&id=1528148.1&displayIndex=2&_afrWindowMode=0&_adf.ctrl-state=ysk33pltn_254How To Setup Partitioned Linux Block Devices Using UDEV (Non-ASMLIB) And Assign Them To ASM? ...
asm 创建表空间遇到 ora 15025 ora 01119
在本地测试环境中创建ASM表空间create tablespace ttt datafile '+DATA' size 1m * ERROR at line 1: ORA-01119: error in creating database file '+DATA' ORA-17502: ksfdcre:4 Failed to create file +DATA ORA-15001: diskgroup "DATA" does not exist or is not mounted ORA-15040: diskgroup is incomplete O...
redo log文件丢失处理措施
经验总结:联机日志分为当前联机日志和非当前联机日志,非当前联机日志的损坏是比较简单的,一般通过clear命令就可以解决问题。损坏非当前联机日志:1、启动数据库,遇到ORA-00312 or ORA-00313错误,如:ORA-00313: open failed for members of log group 4 of thread 1ORA-00312: online log 3 thread 1: '/opt/...
libcap.so.1:cannot open shared object file: No such file or directory
redhat 6.5 x86_64+oracle 11.2.0.4+asm(GI standalone)occur "libcap.so.1: cannot open shared object file" during Install oracle Grid ifrastructurePerforming root user operation for Oracle 11gThe following environment variables are set as: ORACLE_OWNER...
RedHat Enterprise Linux 6.4使用Centos 6 的yum源
思路:卸载redhat自带yum,然后下载centos的yum,安装后修改配置文件 1、首先到http://mirrors.163.com/centos下载软件包 x86地址:http://mirrors.163.com/centos/6/os/i386/Packages/x86_64地址:http://mirrors.163.com/centos/6/os/x86_64/Packages/必要下载的软件包有(以64位...
为啥?ENCRYPTION_WALLET_LOCATION阻碍监听启动?
lsnrctl start LISTENER LSNRCTL for Linux: Version 11.2.0.4.0 - Production on 12-MAR-2014 21:14:56 Copyright (c) 1991, 2013, Oracle. All rights reserved. Starting /u01/app/oracle/11gR2/dbhome/bin/tnslsnr: please wait... TNSLSNR for Linux: Version 11.2.0.4.0 - Pro...