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 ...
低调低调
不要观衣识人,一个人怎么对待别人,才是我们判断那个人的标准! 任何时候,不要太张扬,要保持低调!事实证明,每当我太张扬的时候,总会有后悔的时候! ...
[转]emca 和emctl 的用法
Oracle10G的EM采用了web方式,并且分成了2个产品,database control和grid control。这里主要介绍如何创建单数据的dbcontrol。Grid control需要下载单独的光盘安装。在用DBCA建库的时候,可以选择是否启用dbcontrol...
how to stop listener in remote machine
http://www.itpub.net/viewthread.php?tid=487253&extra=&page=1through this website,we can see that in oracle9i,if you know the iP/port/sid,you can be stop the remote listener.But ,you cann't do this in ...
觉得无聊,写写东西
最近似乎总在挣扎,继续待在这里似乎只是在浪费时间,又要忍受很多的折磨,可是又不能轻易离开。要么改变,要么离开!改变的决定权不在我这,离开的筹码我会有多少?试着去看淡这一切,可以当想...
[from metalink]How to find the offending SQL from a trace file
How to find the offending SQL from a trace file [ID 154170.1] Modified 21-APR-2010 Type BULLETIN Status PUB...
take care of the default listener definition
take care of the default listener definitionwhen you use the “listener.ora” to start the tnslsnr process,you must take care of the default listener definition.If there is no content in listener.or...
[from metalink]Workaround for ORA-22992
Workaround for ORA-22992 [ID 796282.1] Modified 21-OCT-2010 Type PROBLEM Status PUBLISHED In t...
How does the “change_password” command change
Before the oracle10g,you must execute “set password” after you execute the command “change_password”.for example:LSNRCTL> statConnecting to (DESCRIPTION=(ADDRESS=(PROTOC...
the parameter "lock_sga " and "_use_ism"
In 《DSI401_dump_crashes_corrupt.pdf》,you can find how to use the parameter of “lock_sga” and “_use_ism” and what is the definition of these two parameters.The initialization...
congratulate myself
I have pass all the exam of OCP today.Just congratulate myself on that!Thanks my wife!