下载此文档

[新版]依据不合的绑定变量的值来选择不合的履行计划测试.doc


文档分类:IT计算机 | 页数:约9页 举报非法文档有奖
1/9
下载提示
  • 1.该资料是网友上传的,本站提供全文预览,预览什么样,下载就什么样。
  • 2.下载该文档所得收入归上传者、原创者。
  • 3.下载的文档,不会出现我们的网址水印。
1/9 下载此文档
文档列表 文档介绍
[新版]依据不合的绑定变量的值来选择不合的履行计划测试根据不同的绑定变量的值来选择不同的执行计划测试adaptivecursorsharing功能实现了根据不同的绑定变量的值来选择不同的执行计划测试个人分类:;altersystemflushbuffer_cache;=ALL_ROWS;altersessionsetoptimizer_index_cost_adj=100;altersessionsetoptimizer_index_caching=0;;createtablet(idnumber,namevarchar2(30));insertintotselectmod(rownum,2),object_namefromall_objects;insertintotselect2,'test'fromdual;createindext_indont(id);(user,'T',cascade=>true,method_opt=>'forcolumnsidsize254');,count(*)cntfromtgroupbyid;SQL>selectid,count(*)cnt2fromt3groupbyid;T--------------------17033921070338selectcount(*)cntfromt;SQL>selectcount(*)T----------140678Theselectivityofcolumnidvalue"2":1/140678="1":70339/140678="0":70338/140678=:varv_idnumber;exec:v_id:=0;setlines200columnPLAN_TABLE_OUTPUTformata100selectcount(name)fromtwhereid=:v_id;select*fromtable();SQL>select*fromtable();PLAN_TABLE_OUTPUT----------------------------------------------------------------------------------------------------SQL_IDgsmm31bu4zyca,childnumber0-------------------------------------selectcount(name)fromtwhereid=:v_idPlanhashva

[新版]依据不合的绑定变量的值来选择不合的履行计划测试 来自淘豆网m.daumloan.com转载请标明出处.

相关文档 更多>>
非法内容举报中心
文档信息
  • 页数9
  • 收藏数0 收藏
  • 顶次数0
  • 上传人iris028
  • 文件大小29 KB
  • 时间2020-03-07