Oracle SQL Tunning
billdwl
这个作者很懒,什么都没留下…
展开
-
Oracle Session 视图[转]
v$session v$session_wait v$session_wait_history v$active_session_history 1、v$session:连接将产生会话,当前会话的信息保存在v$session中,连接断开后消失; 2、v$session_wait:将当前会话中正在等待的会话状态复制一份到视图,断开后消失(等待会话生命周期最后1次等待); 3、v...原创 2013-03-06 10:17:35 · 146 阅读 · 0 评论 -
跳跃式索引(Skip Scan Index)的浅析[转]
跳跃式索引(Skip Scan Index)的浅析 [English] 作者: fuyuncat 来源: www.HelloDBA.com 在Oracle9i中,有一个新的特性:跳跃式索引(Skip Scan Index)。当表有一个复合索引,而在查询中有除了索引中第一列的其他列作为条件,并且优化器模式为CBO,这时候查询计划就有可能使用到SS。此外,还可以通过...原创 2012-12-27 10:51:14 · 169 阅读 · 0 评论 -
DBMS_XPLAN.Display_Cursor 分析[转]
Oracle 10 added the awesome procedure dbms_xplan.display_cursor but unfortunately the documentation of the package is a bit lacking and the options and output can be confusing, so here are few clarifi...原创 2012-12-27 10:49:38 · 708 阅读 · 0 评论 -
[转]解决ora-01652无法通过128(在temp表空间中)扩展temp段的过程
Tag: http://www.oraclefans.cn/forum/showblog.jsp?rootid=4625 解决ora-01652无法通过128(在temp表空间中)扩展temp段的过程 昨天开发人员跟我说,执行一个sql语句后,大约花了10分钟,好不容易有一个结果,但是报了一个ora-01652错误,查阅了oracle的错误代码说明:意思是指temp表空间无法自动扩展te...原创 2012-11-28 11:11:28 · 247 阅读 · 0 评论 -
Estimate TEMP usage without running SQL [转]
Estimate TEMP usage without running SQL I decided to post this tip for a while but each time I distracted with something and I forgot that. Yesterday a client called me with an issue on TEMP tablesp...原创 2012-11-28 11:09:03 · 88 阅读 · 0 评论 -
Bind variables - The key to application performance[转]
Overview If you've been developing applications on Oracle for a while, you've no doubt come across the concept of «Bind Variables». Bind variables are one of those Oracle concepts that experts ...原创 2012-11-27 15:16:33 · 153 阅读 · 0 评论 -
Oracle中组合索引的使用详解[转]
Oracle中组合索引的使用详解 在Oracle中可以创建组合索引,即同时包含两个或两个以上列的索引。在组合索引的使用方面,Oracle有以下特点: 1、 当使用基于规则的优化器(RBO)时,只有当组合索引的前导列出现在SQL语句的where子句中时,才会使用到该索引; 2、 在使用Oracle9i之前的基于成本的优化器(CBO)时, 只有当组合索引的前导列出现在SQL语...原创 2012-11-27 15:15:08 · 123 阅读 · 0 评论 -
Oracle splitting partitions简单小结[转]
http://www.oracleonlinux.cn/2012/09/oracle-splitting-partitions/ 本文简单记录在Oracle 10g数据库上对范围分区表的Splitting Partitions测试过程和结论,并不涉及到Oracle数据库中分区技术的详细描述。 1 测试环境及平台: OS: 1 [root@localhos...原创 2012-11-27 15:12:39 · 139 阅读 · 0 评论 -
[转]Optimizing SPLIT PARTITION and SPLIT SUBPARTITION Operations
Optimizing SPLIT PARTITION and SPLIT SUBPARTITION Operations Oracle Database implements a SPLIT PARTITION operation by creating two newpartitions and redistributing the rows from the par...原创 2012-11-27 15:11:49 · 146 阅读 · 0 评论 -
10G中查看历史执行计划信息[转]
现在总结下10G的,使用的是AWR报告中的信息,主要是查询以下四个视图:DBA_HIST_SQLTEXT、DBA_HIST_SQL_PLAN、DBA_HIST_SQLSTAT、DBA_HIST_SNAPSHOT。 Sometimes you will receive complains from users that something that has been running ok fo...原创 2013-03-01 11:02:56 · 114 阅读 · 0 评论