Oracle KEEP Pool
Oracle Tips by Burleson ConsultingOracle KEEP PoolAutomatically Generate KEEP SyntaxA DBA can easily write a script that automatically identifies candidates for the KEEP pool and generates the syntax ...
Using Views to Monitor Primary, Physical, and Snapshot Standby Databases
Using Views to Monitor Primary, Physical, and Snapshot Standby Databases1.V$DATABASEThe following query displays the data protection mode, data protection level, database role, and switchover status f...
oracle 8i下构建standby database
本方案主要保护数据库系统在发生system failure or other disaster(如:power failures, or from physical disasters such as fire, floods, or earthquakes)时,快速的恢复系统,减少系统的宕机时间,减少对业务...
Oracle数据库之间数据传输方法探讨
1 概述许多信息中心一般运行多个数据库系统,这些数据库系统所用数据库种类,数据库版本和操作系统平台也都不完全相同,这样就对不同系统间的数据交换提出了挑战;另一方面,对于长期运行的系统需要定期把过期数据...
Instance Recovery Performance Tuning
本文是对文档中Instance Recovery Performance Tuning的译注。Fast-Start Fault RecoveryThis section describes instance recovery, and how Oracle's Fast-Start Fault Recovery improves availability in the eve...
ORACLE ROWID
这是摘抄itpub上的一篇帖子ORACLE ROWID oracle rowid :在8i以前rowid由file#+block#+row#组成,占用6个bytes的空间,10 bit 的 file# ,22 bit 的 block# ,16 bit 的 row#。其中oracle 的dba(data block address)...
Oracle中Delete和Commit操作的流程分析
以后还会陆续加入其他各种操作的实现机制 (1)删除(Delete)流程 ·Oracle读Block(数据块)到Buffer Cache(缓冲区)(如果该Block在Buffer中不存在); ·在Redo Log Buffer(重做日志缓冲区)中记录Dele...
删除表空间ORA-02429模拟及解决
SQL> drop tablespace csmbus including contents cascade constraints;drop tablespace csmbus including contents cascade constraints*ERROR at line 1:ORA-00604: error occurred at recursive SQL level 1ORA-0...
利用ORACLE加密特性保护HIS系统的敏感数据
1 概述对于ORACLE数据库的联机数据,ORACLE主要采用用户验证、访问控制和审计等技术,提供了多个层次的数据安全保护措施,而且随着数据库版本的更新,这些技术在不断的完善,总体上而言,ORACLE数据库是安全性方面...
oracle 10g Using LogMiner to Analyze Redo Log Files
这篇文章是对oracle文档中Using LogMiner to Analyze Redo Log Files的译注。Oracle LogMiner, which is part of Oracle Database, enables you to query online and archived redo log files through a SQL interfa...
db2 uow
工作单元和保存点工作单元(unit of work,UOW) 也称为事务,它是应用程序进程中一个可恢复的(recoverable) 操作序列。UOW 的经典示例是简单的银行转帐事务,即把资金从一个帐号转到另一个帐号中。在应用程序从一个帐号减去一定数量的资金之后,数据库会出现不一致的状态;在第二个帐号中增加同样数量的资金之后,这种不一致才会消除。当这些修改已经提交之后,其他应用程序才能使用它们。当应用程序进程中的第一个 SQL 语句对数据库发出时,一个 UOW 隐式地开始。同一个应用程序后续的所有读写操作被认为是同一个 UOW 的一部分。应用程
Redo Write Triggers
有四个条件促使lgwr执行重做写出。1.当lgwr空闲,它转入睡眠,等待rdbms ipc message事件超时3秒(与dbwr的做法一样)。如果,该睡眠超时,并且lgwr发现有一些重做要写出,自然的执行后台写操作2.无论什么时候,进程...
Log Switch Triggers
log switch是oracle停止写当前日志文件,关闭当前日志文件,打开下一个日志文件,开始写一个日志文件。有三个条件导致lgwr执行log switch. 1.a log switch的正常原因是,产生redo的process在log buffer中不能allocat...
Oracle如何精确计算row的大小
转抄第一步:计算整个Block Header的大小 数据块头部所需要的空间大小由以下公式计算: Space after headers (hsize) = DB_BLOCK_SIZE - KCBH - UB4 - KTBBH - ((INITRANS - 1) * KTBIT) - KDBH ...
Log Switch Steps
日志切换期间Redo generation完全disabled。这通过设置一个sga变量(反映log switch的原因和状态)来实现。要在log buffer中allocate space的Sessions首先检查该变量,如果log switch在进行中,那么Sessions等待与lo...
Version Query Pseudocolumns
(以下这段话摘自oracle文档)The version query pseudocolumns are valid only in Oracle Flashback Version Query, which is a form of Oracle Flashback Query. The version query pseudocolumns are:· VERSIONS...
cardinality
cardinality(基数,集的势):表示一个行集的行数。1. Base cardinality is the number of rows in a base table. 2. Effective cardinality is the number of rows that are selected from a base table.3. Join ca...
Redo Write Multiplexing
如果oracle日志文件组有多个成员,那么lgwr必须写redo到每个活动member。如果,non-blocking(非阻塞) writes(即异步写)可用(即操作系统asynchronous I/O可用并且启用了disk_asynch_io)那么,lgwr并行执行这些...
Dissassembling the Oracle Redolog
这是转摘得一篇文章。Document Revision Date: 9/26/00 Page 1 of 9Dissassembling the Oracle RedologThe redolog is one of the most powerful features of the Oracle database, since it is the mechanism by wh...
具有唯一索引的表更新引起的竞争分析:
文档叙述:Waits for TX in mode 4 can also occur if a session is waiting due to potential duplicates in UNIQUE index. If two sessions try to insert the same key value the second session has to wait to ...