resmgr:become active
今天帮朋友看数据库发现大量的会话都处于这个等待事件及resmgr:become active,一直处于等待不报错 。然后查了一下2个原因1、可能是使用资源计划,超过其中的限制2、某SYS用户设置数据库为静默模式select ACTIVE...
ORACLE锁存器(LATCH)
我的读书笔记:转载请注明 锁存器: 什么是锁存器: 锁存器是存在于ORACLE中用于保证一些内存结构一致性的轻量级锁,为什么说是轻量级的,应该是锁存器一般等待的时间较短为了保证不发生死...
library cache lock/pin
原创:转载请说明X$KSMLRU that tracks allocations in the shared pool that cause other objects in th e shared pool to be aged out诊断 library cache lock/pin类型:不管是访问还是修改library中...
ORACLE中的单行函数 (2)
4、转换型函数 Round:四舍五入日期时间,可以是天,也可以是小时,分EXP:select round(sysdate,'MI') from dual;select round(sysdate,'HH') from dual;select round(sysdate) from dual; Trunc...
ORACLE中的单行函数
1、字符lower :小写upper :大写substr:取字符 Exp:SUBSTR('The Three Musketeers',1,3)instr :返回从第三个字符开始,第二次出现i的位置Exp:INSTR('Mississippi', 'i',3,2)initcap:首字母大写length:查...
nologging mode 生效的场合
The following operations can make use of nologging mode: - direct load (SQL*Loader) - direct-load INSERT - CREATE TABLE ... AS SELECT - CREATE INDEX - ALTER TABLE ... MOVE PARTITION - ALTER TABL...
ORA-01555 和游标
This is the situation when a query opens a cursor, then loops through fetching, changing, and committing the records on the same table. In this scenerio, very often an ORA-01555 can result. Let...
一次通过DB_LINK抽取数据过慢原因分析
问题1、 核心数据库使用的共享服务器模式,导致异常等待事件virtual circuit status非常巨大。 ORACLE 官方描述如下: "virtual circuit wait" - ...
v$sql_bind_capture 获取绑定变量
SQL> connect sys/oracle@mytest172.16.14.29 as sysdba已连接。SQL> variable o varchar2(30)SQL> exec :o :='SYS'PL/SQL 过程已成功完成。SQL> select&n...
ORA-04091 触发器/函数不能读
报错如下:SQL> update GPPAYMENTFUND set attribute5='1' where fundapplyno ='20120314500102010001'; update GPPAYMENTFUND set attribute5='1' where fundapplyno ='20120314500102010001' OR...
oracle 直方图
转:一、 何谓直方图:直方图是一种统计学上的工具,并非Oracle专有。通常用于对被管理对象的某个方面的质量情况进行管理,通常情况下它会表现为一种几何图形表,这个图形表是根据从实际环...
timestamp with local time zone类型和timestamp with time zone
timestamp with local time zone类型和timestamp with time zone 转自http://blog.163.com/zangyunling@126/blog/static/164624505201052113959538/timestamp with loca time zone类型语法tme...
LMT & ASSM数据文件块分配图示
转自http://www.cnblogs.com/xublogs/archive/2004/10/19/2292494.html根据dump的结果,在word里面画了一个非常简单的示意图,每个数据文件最前面的8个块,是LMT用于管理extent分配的。更详细的文档可...
local_listener参数的作用!
转自http://warehouse.itpub.net/post/777/472788著名的仓库师傅。local_listener参数的作用!pmon只会动态注册port等于1521的监听,否则pmon不能动态注册listener,要想让pmon动态注册listener,需要设置local_l...
ORA-30353,ORA-32401
SQL> create materialized view pppp_mview 2 refresh fast with rowid on demand start with sysdate next sysdate+1 3 enable query rewrite 4 as 5&nbs...