zt_导回awr报告中的历史执行计划
http://www.oracleblog.org/working-case/imp-the-old-plan-from-awr-report/
zt_library cache pin和lock等待分析
http://www.itpub.net/thread-1703738-1-1.html 相当不错 小结:1,oracle用两种结构pin和lock来控制shared pool的并发访问控制。访问一个对象将其pin到内存中,在pin之前需要先获取该对象的handle...
oracle insert插入number(1)列的数据小测试
SQL> desc t_t_1;Name Type Nullable Default Comments ---- --------- -------- ------- -------- A NUMBER(1) Y &n...
oracle count null空与''空子行串的记录吗
SQL> desc t;Name Type Nullable Default Comments ---- ------------- -------- ------- -------- A VARCHAR2(100) Y SQL> select nvl(a,988)...
zt_oradebug详解
http://blog.csdn.net/tianlesoftware/article/details/6525628
转)用hanganalyze解决row cache lock
http://space.itpub.net/9399028/viewspace-687640
oracledebug hanganalyze分析会话等待及存储过程hang
测试1,oracledebug hanganalyze普通用户可以运行吗 SQL> oradebug hanganalyze Hang Analysis in d:\oracle\diag\rdbms\orcl\orcl\trace\orcl_ora_...
转贴_Oradebug hanganalyze分析library cache等待
http://www.dbaxiaoyu.com/2012/10/08/oradebug-hanganalyze%e5%88%86%e6%9e%90library-cache%e7%ad%89%e5%be%85/
oracle sql hint提示_BITMAP CONVERSION FROM ROWIDS
今天调试存储过程中sql时,发现如题执行计划的访问路径方式,查询资料如下:http://www.itpub.net/forum.php?mod=viewthread&tid=1398904 http://www.xifenfei.com/1531.html 更进一步认识到,orac...
oracle plsql case when_end case小记
create or replace function func_1_2_mv_orderstatus(in_orderbill_status in portal_orderbill.orderbill_status%type) /* 过程、函数简要描述信息 **********************************************...
转贴_push_subq_sql tuning
http://yumianfeilong.com/html/2010/03/18/418.html
oracle hint use_merge提示的hint优化select insert性能
如下sql运行非常慢insert /*+APPEND*/ into deal_order_user_choose_tmp nologging ( ORDER_ID,--订单ID varchar2(100) VARCHAR2(80) &nbs...
wps2012表格列转行
编写迁移存储过程,因为代码逻辑调整要注掉诸多列,因人工操作,难免insert与select对应出现错误.一调试提示:PL/SQL: ORA-00947: 没有足够的值. 肯定是select与in...
oracle函数测试小记
工作要有到函数,查阅之前blog中的笔记,测试如下:create or replace function func_get_asset_id/* 过程、函数简要描述信息 ********************************************************** *...
oracle10g_11g_绑定变量bind_与最优执行计划explain plan
1,测试sql绑定变在捕获且是不同的绑定变时值时,执行计划的变化情况小结:短速不会在视图中记录绑定变量的数据 既然绑定变量对于性能影响很大,如何处理此问题SQL> create table t_bind_diff(bind_id i...
转贴_Sequence引起的row cache lock
http://www.dbaroad.me/archives/2009/01/sequence-row-cache-lock.html
转贴_用hanganalyze解决row cache lock
http://www.oracleblog.org/working-case/deal-with-row-cache-lock/
2012-11-24星期六加班一天
2012-11-24星期六加班一天,经项目经理批准刘; 以为特记!
转贴oracle直方图histogram(二)
http://hi.baidu.com/goodlisf/item/e374242dc040bd0872863e08
oracle直方图histogram小记(一)
测试直方图的用法1,直方图的概念 直方图有两种类别,等频直方图与等高直方图。 默认的,如果一个倾斜列上的唯一值超过了254个,那么ORACLE会对此列建立等高直方图,否则建立等频直方图。 何谓...