日韩性视频-久久久蜜桃-www中文字幕-在线中文字幕av-亚洲欧美一区二区三区四区-撸久久-香蕉视频一区-久久无码精品丰满人妻-国产高潮av-激情福利社-日韩av网址大全-国产精品久久999-日本五十路在线-性欧美在线-久久99精品波多结衣一区-男女午夜免费视频-黑人极品ⅴideos精品欧美棵-人人妻人人澡人人爽精品欧美一区-日韩一区在线看-欧美a级在线免费观看

歡迎訪問 生活随笔!

生活随笔

當(dāng)前位置: 首頁 > 编程资源 > 编程问答 >内容正文

编程问答

oracle read by other session,AWR报告中,read by other session ,如何解决?

發(fā)布時(shí)間:2024/9/27 编程问答 42 豆豆
生活随笔 收集整理的這篇文章主要介紹了 oracle read by other session,AWR报告中,read by other session ,如何解决? 小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.

你看你的top sql里全是動(dòng)態(tài)采樣的sql,默認(rèn)10g以后optimizer_dynamic_sampling參數(shù)為level 2,一般為缺失統(tǒng)計(jì)信息會(huì)造成每次使用動(dòng)態(tài)采樣,雖然動(dòng)態(tài)采樣會(huì)在表頻繁發(fā)生大批量改變時(shí),一般可以生成更好的執(zhí)行計(jì)劃,但是也不往往是這樣,所以看看 “ASSP2”."ASSP_CLOB_VOUCHER_STAMP_2020"表為什么相關(guān)SQL都走動(dòng)態(tài)采樣?

下面為該參數(shù)級別解釋Mos(Doc ID 336267.1):

The parameter OPTIMIZER_DYNAMIC_SAMPLING controls the level of sampling performed by the optimizer.

In simplified form, the Levels have the following effects:

Level 0: Disables dynamic sampling.

Level 1: Sample all tables that have not been analyzed that meet certain criteria.

Level 2: Apply dynamic sampling to all unanalyzed tables. (Default from 10g)

Level 3: As per Level 2, plus all tables for which standard selectivity estimates used a guess for some predicate that is a potential dynamic sampling predicate.

Level 4: As per Level 3, plus all tables that have complex predicate expressions (for example single-table predicates that reference 2 or more columns or non-equality where clause predicates on two correlated columns).

Level 5-9: As per Level 4 with a larger sample size each time.

Level 10: Use dynamic sampling for all statements sampling All blocks

總結(jié)

以上是生活随笔為你收集整理的oracle read by other session,AWR报告中,read by other session ,如何解决?的全部內(nèi)容,希望文章能夠幫你解決所遇到的問題。

如果覺得生活随笔網(wǎng)站內(nèi)容還不錯(cuò),歡迎將生活随笔推薦給好友。