关于查询空值列的优化案例
SQL> desc all_objects 名称 &...
ORACLE诊断事件及深入解析10053事件
深入解析 10053 事件 你是否想知道一句 sql 语句如何执行,它是否走索引,是否采用不同得驱动表,是否用nestloop join,hash join…..? 这一切对你是否很神秘呢?或许你会说execution plan ...
使用hanganalyze来分析数据库
1.为什么要使用hanganalyze? Oracle数据库“真的”hang住了,可以理解为数据库内部发生死锁。因为普通的DML死锁,oracle服务器会自动监测他们的依赖关系,并回滚其中一个操作,终止这种相互等待的局面。而当...
怎样获取发生错误的会话信息
某些Oracle错误,并不是总是伴随着产生trace文件,这些错误,对Oracle来说并不是严重的错误,比如像ORA-01555这样的错误。我们可以设置一个事件,在发生错误时,产生一个Trace文件,事件通常使用下面的命令格式:&n...
记一次并行恢复问题导致Oracle数据库Crash故障的处理
环境:HP-UX 11.31 &nb...
一次ORA-01410故障的解决
在一个表上建索引时,报ORA-01410错误,我们查询这个表来重现这个错误: Connected to: Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production&nbs...
记一次ORA-8103错误的处理
某客户的一个表在进行分析和建索引一段时间时,均报ORA-8103错误。让我们先看看ORA-8103错误是个什么样的错误? [oracle@xty ~]$ oerr ora 8103 08103, 00000, “object no lo...
drop table与db cache
我们都知道drop table, truncate table时都会先做一次checkpoint,将被删除对象的脏块写入磁盘。客户有一套系统,Oracle 9.2.0.8,需要做数据迁移,由于种种原因,采用的是逻辑迁移的方式。由于库比较大,超过了1.5...
ORA-1555 Using Automatic Undo Management - How to troubleshoot
Applies to: Oracle Server - Enterprise EditionInformation in this document applies to any platform.PurposeThis article discusses the means to troubleshoot and diagnose the ORA-01555 "snapshot too...
How To Size UNDO Tablespace For Automatic Undo Management
Applies to: Oracle Server Enterprise Edition - Version: 9.2.0.1 to 11.1.0.7Information in this document applies to any platform.Oracle Server - Enterprise Edition - Version: 9.2.0.1 to 10.2.0.3 Goa...
How To Identify a Hot Block Within The Database Buffer Cache
Applies to: Oracle Server - Enterprise EditionInformation in this document applies to any platform.GoalHow to identify blocks which cause latch contention on the 'cache buffers chains' latch.How t...
常见Oracle HINT的用法
1. /*+ALL_ROWS*/ 表明对语句块选择基于开销的优化方法,并获得最佳吞吐量,使资源消耗最小化. 例如: SELECT /*+ALL+_ROWS*/ EMP_NO,EMP_NAM,DAT_IN FROM BSEMPMS WHERE EMP_NO='SCOTT'; 2. /*+FIRST...
怎样看懂Oracle的执行计划
representation of the access path that is taken when a query is executed within Oracle.二、如何访问数据At the physical level Oracle reads blocks of data. The smallest amount of data read is a single ...