利用Uniread 解决 Linux下的SQL*Plus 命令行历史回调功能
作者:Fenng 日期:06-Mar-2004 出处:http://www.dbanotes.net版本:1.01 大家知道, 在 Windows 平台 命令行中的 SQL*Plus 有命令行历史回调的功能,在SQL*Plus工具下面,可以利用键盘的"向上向下"箭头键...
cursor: pin S
OTN的解释,cursor: pin SA session waits on this event when it wants to update a shared mutex pin and another session is currently in the process of updating a shared mutex pin for the same cursor obj...
Mutexes in Oracle10g
To improve cursor execution and also hard parsing, a new memory serialization mechanism has been created in 10gR2.For certain shared-cursor related operations, mutexes are used as a replacement for li...
cursor: pin S wait on X
BTW, things get more fun in 10.2, you can pin cursors without getting library cache pin latch, using KGX mutexes. Mutexes are new in 10.2 and they enable shared access to objects in somewhat similar m...
Mutexes机制及其等待事件
10G开始,引入mutexes机制用以代替library cache pin关于mutexes的一些解释:转自http://space.itpub.net/?uid-756652-action-viewspace-itemid-348176Mutexes are new thing in 10.2 and they enable shared acce...
打开 AUTOTRACE
SET AUTOTRACE OFF ---------------- 不生成AUTOTRACE 报告,这是缺省模式 SET AUTOTRACE ON EXPLAIN ------ AUTOTRACE只显示优化器执行路径报告 SET AUTOTRACE ON ----------...
Flushing Pools in Oracle 10
Flushing Pools in Oracle 10Martin Zahn, Akadia AGInformation Technology, CH-3672 Oberdiessbach15.09.2007OverviewUsing ALTER SYSTEM you can clear all data from the SGA (system global are...
Oracle 10g RAC On Linux Using NFS
Oracle 10g RAC On Linux Using NFSThis article describes the installation of Oracle 10g release 2 (10.2.0.1) RAC on Linux (Oracle Enterprise Linux 4.5) using NFS to provide the shared storage.Introdu...
热点块竞争和解决--cache buffers chains
转载并整理热点块的定义 数据库的热点块,从简单了讲,就是极短的时间内对少量数据块进行了过于频繁的访问。定义看起来总是很简单的,但实际在数据库中,我们要去观察或者确定热点块的问题...
Oracle statspack 详解
调整STATSPACK 的收集门限Statspack 有两种类型的收集选项:级别(level):控制收集数据的类型门限(threshold):设置收集的数据的阈值。1.级别(level)Statspack 共有三种快照级别,默认值是5a.level 0: 一般...
oracle常用SQL查询
oracle常用SQL查询1、查看表空间的名称及大小 select t.tablespace_name, round(sum(bytes/(1024*1024)),0) ts_size from dba_tablespaces t, dba_data_files d where t.tablespace_name = d.tablespace_name...
转Oracle语句优化53个规则详解 (二)
31. 强制索引失效 如果两个或以上索引具有相同的等级,你可以强制命令ORACLE优化器使用其中的一个(通过它,检索出的记录数量少) . ...
转Oracle语句优化53个规则详解(一)
1. 选用适合的ORACLE优化器 ORACLE的优化器共有3种:a. RULE (基于规则) b. COST (基于成本) c. CHOOSE (选择性) 设置缺省的优...
基于成本的Oracle优化法则
当我们讨论SQL语句的成本时,需要倍加谨慎,这是因为“成本”一词同时存在两方面的含义。一方面,成本可以指由诸如解释计划(explain plan)等工具导致的大量的执行次数;另一方面,成本可以指执行SQL语句导致的实际资...