Controlfile 重建控制文件 noresetlogs, resetlogs..
重建控制文件 noresetlogs, resetlogs..
Oracle检查点(Checkpoint)详解 (文档 ID 1526118.1)
Oracle检查点(Checkpoint)详解
比较全的oracle事件解释
一、Oracle跟踪文件 Oracle跟踪文件分为三种类型,一种是后台报警日志文件,记录数据库在启动、关闭和运行期间后台进程的活动情况,如表空间创建、回滚段创建、某些alter命令、日志切换、错误消息等。
Oracle date 和 timestamp 区别
•1.DATE数据类型 •2.TIMESTAMP 数据类型 •3.系统日期和时间 •4.date和timestamp 的区别 •5.date和timestamp之间的相互转换可以通过 转: http://www.cnblogs.com/java-class/
oracle中的processes,session,transaction参数详解
oracle中的processes,session,transaction参数详解 转https://blog.csdn.net/u011616400/article/details/79917275
v$Session详解
从Oracle10gR1开始,Oracle在V$SESSION中增加关于等待事件的字段,实际上也就是把原来V$SESSION_WAIT视图中的所有字段全部整合到了V$SESSION视图中,开始的时候我还以为ASH是依赖联合查询来获取信息的,仔细一看才发现现在V$SESSION已经发生了变化。(如果进一步研究你会发现,实际上V$SESSION的底层查询语句及X$表已经有了变化) 转:https://www.cnblogs.com/shengs/p/4895085.html
Oracle 11g Default Schemas
http://www.oracle-wiki.net/startdocsdefaultschemasACKGROUND When an 11g database is created without tweaking any of the options, using either dbca or the installer, the schema listed in the table below, 36 of them(!), are created by default. This document gives an overview of their purpose and function and, should the functionailty not be required, whether they can be safely deleted* or not without compromising the fundamental operation of the database. Additionally, having been removed,
Install db in silent mode
First, please remember that the most difficult part is not this installation, but the preparation for this installation, like checking the hardware requirements, software requirements, and tunning the kernel parameters.Second, Oracle11g Release2 adopts different response file than Oracle10g and Oracle11g Release1.Third, the silent installation is easy, just a piece of cake! :)[@more@] You can install the Oracle Database software with/without response file in silent mode.----Without response
Oracle Flashback技术总结
http://www.cnblogs.com/coohoo/archive/2011/01/16/1936888.html 通向架构师之路 --Victor Guan Oracle Flashback技术总结 Flashback 技术是以Undo segment中的内容为基础的, 因此受限于UNDO_RETENTON参数。要使用flashback 的特性,必须启用自动撤销管理表空间。 在Oracle 10g中, Flash back家族分为以下成员: Flashback Database, Flashback Drop,Flashback Query(分Flashback Query,Flashback Version Query, Flashback Transaction Query 三种) 和Flashback Table。[@more@]
ITL(Interested Transaction List)
一、ITL描述: ITL(Interested Transaction List)是Oracle数据块内部的一个组成部分, 位于数据块头(block header),itl由xid(Transaction XID),uba(Undo block address),flag,lck和scn/fsc组成, 用来记录该块所有发生的事务,一个itl可以看作是一条事务记录。 当然,如果这个事务已经提交,那么这个itl的位置就可以被反复使用了,因为itl类似记录,所以,有的时候也叫itl槽位。如果一个事务一直没有提交, 那么,这个事务将一直占用一个itl槽位,itl里面记录了事务信息,回滚段的入口, 事务类型等等。如果这个事务已经提交
Oracle中的SCN详解
pre. Oracle中的SCN(system change number)和我们的北京时间的意义是相同的,SCN是Oracle中的时间号。 为什么Oracle不用时间来界定呢? 我在北京时间8:00的时候执行一条DML语句,然后修改机器上的时间为 7:00,再执行一条DML语句。如果用机器上的时间区分的话,那Oracle根本区分不出来这两条DML语句的执行顺序——而这一点对于Oracle是 很重要的。所以它采用自己产生的SCN来区分所有操作的先后顺序。 SCN设计的值很大,所以不用担心达到最大值后怎么办。[@more@] 可以查看系统当前的SCN号: SQL> se
NOLOGGING 应用场景
NOLOGGING Wrap-upThe operations that may be performed in a NOLOGGING mode are as follows:特别注意,在非归档下,Create表和索引都不会产生大量日志。You would not see the differencesin redo size in a NOARCHIVELOG mode database as the index CREATE and REBUILD operations are not logged inNOARCHIVELOG mode.If you test this on a NOARCHIVELOG-mode database, The CREATE TABLE will not be logged, with the exception of the data dictionary modifications, in a NOARCHIVELOG-mode database.[@more@]• Index c
flashback
9i,10g flashback[@more@][Oracle 9i & 10g] Flashback Query, Flashback Version Que...Admin2010年6月19日名人名言:个人如果但靠自己,如果置身于集体的关系之外,置身于任何团结民众的伟大思想的范围之外,就会变成怠惰的、保守的、与生活发展相敌对的人。——高尔基 [Oracle 9i & 10g] Flashback Query, Flashback Version Query, Flashback Table, etc2009-12-30 18:08 by fangwen.YU, 133 visits, 网摘, 收藏, 编辑 Oracle 9i 引入了flashback query,可以方便我们查询过去一个时间“点”的数据库的状
read consistent process
the process for oracle read data block [@more@]■ User 1 updates a record in block 777 (user1 has not committed).■ User 2 queries the same block and sees that the lock byte is set for a row being queried.■ User 2 goes to the ITL portion of the block and get the XID (transaction ID).■ The XID maps to the UNDO block, which holds the information before the update was done.■ A clone of the block is done (call it block 778).■ The UNDO information is applied to the block, rolling it forward, but
数据仓库设计(转)
数据仓库设计(转贴)[@more@]数据仓库设计(转贴) 数据仓库设计指南在一般的数据仓库应用系统中,根据系统体系结构的不同,数据仓库设计的内容和范围不尽相同,并且设计方法也不尽相同,下面的两幅图示分别表示带有ODS的数据仓库应用系统体系结构和不带ODS的数据仓库应用系统体系结构。本文将说明两个体系结构上的差异以及这种差异造成的设计方法的不同,并且重点介绍带有ODS的体系结构中数据仓库的设计方法。在数据仓库的设计指导思想中,数据仓库的概念定义是非常重要的,数据仓库概念规定了数据仓库所具有的几个基本特性,这些特性也正是
Isolation level: ORA-08177 can't serialize access for this transaction
Mulit processes are using one procedure, this error arose. Oracle gives the explanation as below:ORA-08177 can't serialize access for this transactionCause: Encountered data changed by an operation that occurred after the start of this serializable transaction.Action: In read/write transactions, retry the intended operation or transaction.[@more@]这个错误是由于设置了事物隔离级别为serializable. 在procedure开始设置为READ COMMITTED也还是出现该错误:EXECUTE IMMEDIATE 'SET TRANSACTION ISOLATION LEVEL
Oracle Backup and Recovery FAQ
Oracle Backup and Recovery FAQhttp://orafaq.com/faqdbabr.htm[@more@]Oracle Backup and Recovery FAQ$Date: 29-Jul-2005 $$Revision: 2.04 $$Author: Frank Naudé $ The wise one once said: Backup early and often... database crashes can happen at any time for any reason! Why and when should I backup my database? What strategies are available for backing-up an Oracle database? What is the difference between on-line and off-line backups? What is the difference between restoring and recovering? How does o
oracle初始化参数
下面列举pfile文件里的内容[@more@]*.background_dump_dest='d:oracleadmine3bdump'*.compatible='9.2.0.0.0'*.control_files='f:oradatae3CONTROL01.CTL','f:oradatae3CONTROL02.CTL','f:oradatae3CONTROL03.CTL'*.core_dump_dest='d:oracleadmine3cdump'*.db_block_size=8192*.db_cache_size=25165824*.db_domain=''*.db_file_multiblock_read_count=48*.db_name='e3'*.dispatchers='(PROTOCOL=TCP) (SERVICE=e3XDB)'*.fast_start_mttr_target=300*.hash_join_enabled=TRUE*.instance_name='e3'*.java_pool_size=33554432*.job_queue_pr
几个重要表
USER_SEGMENTS,user_ind_columns,v$bh和user_objects,user_free_space[@more@]Ø USER_SEGMENTSSQL> create table xs(id number,name char(10)) tablespace tools 2 ; Table created SQL> select * from user_segments where segment_name = 'XS'; SEGMENT_NAME PARTITION_NAME SEGMENT_TYPE TABLESPACE_NAME BYTES BLOCKS EXTENTS INITIAL_EXTENT NEXT_EXTENT MIN_EXTENTS MAX_EXTENTS