关于cursor_sharing=similar
来源:互联网 发布:知乎 如何自学建筑设计 编辑:程序博客网 时间:2024/05/17 01:56
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
本文作者:biti_rainy(biti_rainy@itpub.net)
摘要:本文通过简单实验来尝试说明cursor_sharing=similar的含义。
1.1. 实验现象
我们先看看在表没有分析无统计数据情况下的表现
SQL>altersessionsetcursor_sharing=similar;
Sessionaltered.
SQL>selectname,valuefromv$sysstatwherenamelike'%parse%';
NAME VALUE
--------------------------------------------------------------------------
parsetimecpu 4948
parsetimeelapsed 4468
parsecount(total) 170148
parsecount(hard) 1619 (硬分析次数)
parsecount(failures) 80
SQL>selectcount(*)fromtwhereobject_id=1000;
COUNT(*)
----------
0
SQL>selectname,valuefromv$sysstatwherenamelike'%parse%';
NAME VALUE1<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
本文作者:biti_rainy(biti_rainy@itpub.net)
摘要:本文通过简单实验来尝试说明cursor_sharing=similar的含义。
1.1. 实验现象
我们先看看在表没有分析无统计数据情况下的表现
SQL>altersessionsetcursor_sharing=similar;
Sessionaltered.
SQL>selectname,valuefromv$sysstatwherenamelike'%parse%';
NAME VALUE
--------------------------------------------------------------------------
parsetimecpu 4948
parsetimeelapsed 4468
parsecount(total) 170148
parsecount(hard) 1619 (硬分析次数)
parsecount(failures) 80
SQL>selectcount(*)fromtwhereobject_id=1000;
COUNT(*)
----------
0
SQL>selectname,valuefromv$sysstatwherenamelike'%parse%';
NAME VALUE1<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
- 关于 cursor_sharing = similar
- 关于cursor_sharing = similar
- 关于cursor_sharing=similar
- 游标共享之cursor_sharing=similar
- 【cursor_sharing】cursor_sharing参数设置exact,similar,force的区别
- Cursor_sharing
- cursor_sharing
- Why do I have hundreds of child cursors when cursor_sharing set to similar in 10g
- 关于CURSOR_SHARING三个取值的区别
- 游标共享之cursor_sharing=EXACT
- 游标共享之cursor_sharing=force
- alter session set cursor_sharing=Exact;
- cursor_sharing=force导致的ora-600错误的分析
- CURSOR_SHARING,VERSION_COUNT
- cursor_sharing参数!
- CURSOR_SHARING介绍
- cursor_sharing 参数
- cursor_sharing设置
- 关于CSDN的页面布局,我昏一个……
- 经验谈一(引)
- sqlserver2000置疑的解决方法
- 通过(可能的)家乐福促销事件,看其中蕴含的法律问题!
- LMT的魔术64K空间
- 关于cursor_sharing=similar
- 完全卸载Oracle 9i
- 802.1x协议认证流程
- (转)用一条语句实现值的交换。
- 一次诊断和解决CPU利用率高的问题分析
- DBA手记-optimizer_mode影响一个SQL语句是否可以执行
- 日常用的sql列表(摘抄)
- 在中使用SQLDMO
- Zend Studio3.0试用手记