小知识:所谓“重构CR块”的含义
数据库在进行一致性读取的时候,有时候需要重构CR块,到底这个重构CR块是什么意思,以下是我个人的理解:[@more@]所谓“重构CR块”的含义:众所周知,undo段里存储DML数据是这样的:对于insert语句,undo段保存的是其rowid;对于delete语句,undo段里是保存的是整行删除记录;对于update语句,undo里保存的是更新前该字段的旧数据.那么,在进行一致性读取数据的时候,如果需要重构CR块:对于insert,使用删除rowid重构CR块数据;对于delete,使用插入重构CR块数据;对于update,使用更新把旧数据重构CR块数据。
ORACLE数据库主键与外键的三种关系
1. No action on deletion or update(在删除或更新时候,没有任何动作.)2.Cascading deletions(级联删除)3. Deletions that set null(删除设置为空值)[@more@]1. No action on deletion or update(在删除或更新时候,没有任何动作.)create table t3 (id int primary key,mname varchar2(20));create table t4 (xid number,id int,text varchar2(20),constraint pk_xid primary key (xid),constraint fk_id_t4 foreign key (id) references test.t3(id));select owner,constraint_name,constraint_type,r_owner,r_constraint_name,
Recompilation occurs automatically when the invalid dependent object is referenced.
在阅读oracle administartor 的时候,在读到依赖对象的时候,发现一段话比较绕口,“Recompilation occurs automatically when the invalid dependent object is referenced.”[@more@]我是这样理解的:当无效的依赖对象是被引用的时候,重编译将自动发生。过程如下: A对象依赖于B对象,A对象成为依赖对象;B对象成为引用对象。 当B对象发生改变的时候,A对象失效(比方说,修改字段,将数据类型从number修改为varchar2类型等),但是A对象被C对象引用的时候,A对象将自动变成有效,因为数据库内部跟踪对象的依赖关系的进程自动对A对象
oracle11.2.0.3 使用deinstall无法删除grid,使用手动删除grid
当你无法使用deinstall删除grid的时候,使用手动的方式删除grid软件环境:oracle 11.2.0.3 racaix 6.1 [@more@]MeTalink:How to Deinstall Oracle Clusterware Home Manually [ID 1364419.1]Applies to: Oracle Server - Enterprise Edition - Version 10.2.0.1 and laterInformation in this document applies to any platform.GoalIn 11gR2, deinstall is the recommended tool to deinstall an Oracle Clusterware(Grid Infrastructure) home, however it does not apply to certain scenarios or fails in some cases. This notes pr
oracle11.2.0.3 deinstall删除grid
安装oracle 11.2.0.3 ,安装成功grid,oracle,创建数据库之后,下面进行对rac数据库的完全删除:[@more@]1.dbca删除数据库2.在节点1 ,使用grid用户deinstall/u01/app/11.2.0/grid/deinstall/./deisntallChecking for required files and bootstrapping ...Please wait ...Location of logs /u01/app/oraInventory/logs/############ ORACLE DEINSTALL & DECONFIG TOOL START ##################################### CHECK OPERATION START ########################### [START] Install check configuration ##Checking for existence