[转]使用dbms_rowid包获得rowid的详细信息
Rowid中包含了记录的详细信息,通过dbms_rowid包可以获得这些信息.本文通过一个定义自定义函数介绍该package的使用.create or replace function get_rowid(l_rowid in varchar2)return varchar2isls_my_rowid ...
Block corrupt 的处理
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 <style.st1\:*{behavior.:url(#ieooui) ...
PX Deq: Signal ACK
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 <style. /* Style. Definitions */ table.MsoNor...
Global Enqueue Services Deadlock detected
<style.v\:* {behavior.:url(#default#VML);}o\:* {behavior.:url(#default#VML);}w\:* {behavior.:url(#default#VML);}.shape {behavior.:url(#default#VML);}</style. Normal 0 7.8 磅...
ORA-04052/ORA-03120 Errors After Apply 9.2.0.8 Patchset
<style.v\:* {behavior.:url(#default#VML);}o\:* {behavior.:url(#default#VML);}w\:* {behavior.:url(#default#VML);}.shape {behavior.:url(#default#VML);}</style. Normal 0 7.8 磅 0 2...
rac 学习日记
一些内容主要是从 《大话 rac》里面摘抄的,便于以后记忆! Normal 0 7.8 磅 0 2 false false false ...
ora-600 2103 12235 9.2.0.6
Normal 0 7.8 磅 0 2 false false false MicrosoftInternetExplorer4 <style.st1\:*{behavior.:url(#ieooui) }</styl...
[转]gc cr request 'gcs log flush sync'
This is how it happens -1)You fired an update statement on Instance-2.2)However, the request for desired blocks was gone to Instance-1. So Instance-2 waswaiting on ''gc cr request'.3)Instance-1 had th...
关于 lb 的一些实验
今天看到一个比较有意思的事情,就是 在 rac 中,如果我们 为了 实现 减少 cache fusion 的负担(通常,rac 性能问题,很大程度上,是因为 cache fusion 引起的),而对应用实行 隔离,也就是,不同的应用只让它在 ...
又是郁闷的一天
公司又一次让人失望,哎,这年真不好过啊!
high cluf make the execute plan do not use index
a few days ago,jianxia call me to help her a strange execute plan.The sql statement is like that:select count(*) from par_autoupdown_log a where QiyeBianma = '000000000005912310001121...
手工建库步骤
手工建库步骤:1、 Step 1: Decide on Your Instance Identifier (SID)Linux或unix上:setenv ORACLE_SID mynewdbWindows上:set ORACLE_SID= mynewdb2、 Establish the Database Administrator Aut...
oracle10g自动搜集统计信息
这里讲下 oracle 的每晚自动搜集 统计信息的一个job和过程SELECT job_name,program_name from Dba_Scheduler_Jobs WHERE job_name='GATHER_STATS_JOB';SELECT PROGRAM_NAME,PROGRAM_ACTION FROM DBA_SCHEDULER_PRO...
something about v$bh
v$bh 是从x$bh中提取出来的,这里只研究x$bh. 在x$bh视图中存放数据块信息,其中包括tch(接触次数),dbablk数据块号,tim上次修改tch的时间,lru_flag非脏数据缓冲列表标志,obj对象编号等等 tch越高表明该块被调...
[转]some scripts of hot blocks
====查询当前数据库最繁忙的Buffer,TCH(Touch)表示访问次数越高,热点快竞争问题就存在=====SELECT * FROM (SELECT addr, ts#, file#, dbarfil, dbablk, tch  ...
there are always 9 sessions in active status which are used to lock SYS.RGROUP$
oracle version: oracle 9.2.0.6 os version: linux as 3 In my system ,there are many materialized views.About 40-50.And,the interval time they...
spool生成时间格式文件,ftp再上传(window上)
这是一些小脚本,平常用得比较少,所以,写在这里记录一下。 首先,spool 出的文件名 要求随着 日期每天都要变,所以生成 一个 wk1.sql 文件 set term...
a good script for finding whether using bind variables (wirted by tom)
create table t1 as select sql_text from v$sqlarea;alter table t1 add sql_text_wo_constants varchar2(1000);create or replace function remove_constants( p_query in varchar2 ) return varchar2as &nb...
dg learning
对于 DG ,我还是有比较多的困惑的。 这里先记录下一些注意事项,后期再慢慢整理了。 1、当使用 standby log 时,standby log 的 大小要和 primary db 的 r...
change the vip and eth0
in my vmware,I install the asm+rac on rhel5.one day,I want to modify the public(ech0) and vip for the rac. and I do the follow step by step.1、first,I stop the resource of crssrvctl stop nodeapps -n ...