谁能详细解释一下shared pool duration特性

多鱼 2024-05-20 03:00:25
最佳回答
a shared pool has subpools (starting with 9i) and each subpool has sub-subpools or durations (starting with 10gr2 i think). it's easy to understand why there're subpools; each subpool ** managed pretty much independently, with its own lru l**t etc., and all subpools h**e the same functionality. but durations are different. each one holds different types of objects. according to heapdump, as shown in jonathan lew**'s "oracle core essential internals" p.184, dictionary cache ** in duration 1, heap 0 (cursor head or parent cursor) in duration 2, sqlarea (heap 6) in duration 3.[note] different types of objects h**e different character**tics. within each type, objects h**e similar character**tics, such as size requirement, how long they stay in memory, etc. oracle's work on shared pool durations ** kind of like solar** or linux kernel slab. a chunk of memory ** allocated from a specific duration (slab) depending on what function you want to use th** memory chunk for. there're of course differences. a solar** or linux kernel has many slabs, while there're only 4 oracle shared pool durations. each slab ** exclusively dedicated to one type of objects, such as inode_cache, nfs_page. a duration can contain various types of objects; the rule about what shared pool objects are in what duration ** not very strict.other than jonathan lew**'s book, th** notebug 14311437 : ora-600 [5351], ora-600 [4000] and ora-4031 occuring in golden gate and timestentalks about the concept of durations, and more or less sat**fy my curiosity why it's called "duration", a term that suggests time or how long something lasts.one paragraph (solution c) inlck temporarily stuck waiting for latch 'child row cache objects' (doc id 843638.1)also talks about durations.the fixed table showing durations ** x$ksmsp_nwex. you can find a query using th** table inbug 14020215 : ora-4031 with 7 subpools and durations then cpu spikes to 100%______________[note]on an 11.2.0.3 database, i h**e durations enabled (_enable_shared_pool_durations ** true). if you don't use asmm nor amm, you may h**e to manually set th** parameter to true and bounce the database. i create a level 2 heapdump (oradebug dump heapdump 2) and manually split the trace file into four files, each for one duration of subpool 1. then i aggregate on the memory chunk usage string and see what type of usage ** the most common in each duration.$ cut -c53-67 duration1-0 | sort | uniq -c | sort -rn | head 7127 kqr po <-- "kqr po" row cache parent objects are very common in duration 0 2826 kglhd <-- library cache handles are common too 287 28 27 sqla^c22c7d28 27 kglh0^c22c7d28 23 sqla^7e6b9434 23 kglh0^7e6b9434 20 sqla^a2ac011a 20 perm$ cut -c53-67 duration1-1 | sort | uniq -c | sort -rn | head 10578 kglhd <-- lots of library cache handles in duration 1 7127 kqr po 6588 kglda 2703 1217 ges resource 183 143 parameter table 72 name-service 28 kglna 19 kkssp$ cut -c53-67 duration1-2 | sort | uniq -c | sort -rn | head 8546 247 191 kglh0^9e6af5b8 <-- not fair to include "random" numbers (sql hash values) in uniq -c 53 kglh0^52ccb2f2 52 kglh0^d7bcc960 49 kglh0^c22c7d28 49 kglh0^1a8436ae 45 kglh0^a2ac011a 35 kglh0^d9085754 35 kglh0^c5be8292$ cut -c53-57 duration1-2 | sort | uniq -c | sort -rn | head -5 8546 8197 kglh0 <-- so cut without the random part; we see 8197 entries for heap 0 in duration 2 247 175 prtmv 115 prtds$ cut -c53-67 duration1-3 | sort | uniq -c | sort -rn | head 21323 2810 sqla^b3947bfc 1168 sqla^52ccb2f2 1104 sqla^d7bcc960 1020 sqla^1a8436ae 401 sqla^8bfc3f48 297 sqla^c22c7d28 270 240 sqla^a2ac011a 234 sqla^b91ee9fa[oracle@dctrpdbms3b trace]$ cut -c53-57 duration1-3 | sort | uniq -c | sort -rn | head -5 21323 18019 sqla^ <-- remove the random part; we see most entries in duration 3 are sql area 1022 kgls^ 757 plmcd 454 pldia 20210311
汇率兑换计算器

类似问答
  • 谁能详细解释下期货里的支撑位和压力位? 急急~~谢谢
    • 2024-05-20 12:43:57
    • 提问者: 未知
    这是基础的了详细在线聊
  • 谁给详细解释下13香各种香料的作用?
    • 2024-05-20 03:18:24
    • 提问者: 未知
    16、孜然:原产于**,现大部分都是甘肃孜然,是**烤羊肉串常用调料,清香型。17、香叶:国内香叶质量差,进口香叶,香气浓郁,有较强的防腐作用。18、辛庚:辛温、通鼻...
  • 谁可以把股市中的macd,kdj详细的解释一下啊,急!!!
    • 2024-05-20 06:18:50
    • 提问者: 未知
    平滑异同移动平均线 macd 是通过对指数型平滑移动平均线 ema 的乖离曲线(dif)以及dif值的指数型平滑移动平均线(dea)这两条曲线走向之异同、乖离的描绘和计算,进而研判市势的一种技术方法。1、0轴以下:dif若上穿 dea为买入信号;dif若下穿 dea为反弹结束信号,也为卖出信号,但适于多方平仓,空方新...
  • 帮我详细的解释一下金融与融资。
    • 2024-05-20 06:31:24
    • 提问者: 未知
    简单来说,金融就是资金的融通。 金融是货币流通和信用活动以及与之相联系的经济活动的总称,广义的金融泛指一切与信用货币的发行、保管、兑换、结算,融通有关的经济活动,甚至包括金银的买卖,狭义的金融专指信用货币的融通。指货币的发行、流通和回笼,贷款的发放和收回,存款的存入和提取,汇兑的往来等经济活动。它的种类有银行金融、物流银行等。 简单地说金融就是可以直接看出一个地区、区域、乃至**经济繁荣能力的...
  • 能详细解释下平安爱康保的条款吗?
    • 2024-05-20 05:19:04
    • 提问者: 未知
    爱康保全称是招商仁和爱康保重大疾病保险,隶属于招商局仁和人寿保险股份有限公司。是一款恶性肿瘤赔付两次、非恶性肿瘤重疾赔付一次、轻症赔付三次、中症赔付两次的终身重...
  • 谁能详细解释下股指期货价格的变动机制?
    • 2024-05-20 00:17:30
    • 提问者: 未知
    一、股指期货的价格长期来讲是围绕现货价格波动的。我国股指期货指的是沪深300指数,建议你研究一下沪深300指数,和那300个权重股。期货和现货的走势密切相关的。二、短期来讲,你要在具体操作期货的过程中才能真正体会到股指期货的价格是如何变动的,因为期货往往就是多空双方的博弈导致的价格波动,短期内有时候又是偏离现货的。
  • 谁能帮我解释的详细一点吗?关于海豚交易法!
    • 2024-05-20 11:30:34
    • 提问者: 未知
    这样说也不是一言两语能话清的,我感觉看这么多指标,头都大了怎么做啊,我认为最好的就是只看k线,k线相对而言简易,反映的信息多而及时,进出市场的信号准确及时,我感觉有时间还是去看看k线,不必为这些指标来费时间
  • 帮忙细细解释一下
    • 2024-05-20 04:37:24
    • 提问者: 未知
    1、车损险是指被保险人或其允许的驾驶员在驾驶保险车辆时发生保险事故而造成保险车辆受损,保险公司在合理范围内予以...新规中提到,疲劳驾驶载客汽车、危险品运输车记12分。...
  • 解释一下《伤仲永》,要详细
    • 2024-05-20 14:20:28
    • 提问者: 未知
    金溪县平民方仲永,世代以耕田为业。仲永长到五岁时,从没见到过读书写字的工具,忽然哭着要这些东西。父亲对此感到惊异,就从邻居那里借来给他,当即写了四句诗,并且自己题写上自己的名字。这首诗以奉养父母、和同宗族的人团结为内容,传给全乡的读书人观赏。从此,指定事物让他作诗,立即完成,诗的文采和道理都有值得观赏的地方。同县的人对仲永感到奇怪,渐渐以宾客的礼节来款待他的父亲,请他的父亲去做客。有人用钱财和礼物...
  • 恒生综合指数成份股谁可以给我详细解释一下?
    • 2024-05-20 18:23:20
    • 提问者: 未知
    恒生综合指数成份股谁可以给我详细解释一下?做投资,期货,股票,基金等,个人觉得金道投资是个错的选择。金道投资(**) 有限公司为满足大中华市场对高端金融服务的殷切需求,锐意推出一站式证券、期货交易服务,使客户可以在同一个交易**上进行证券、期货交易,方便快捷。红梅含苞傲冬雪 绿柳吐絮迎新春 欢度春节
汇率兑换计算器

热门推荐
热门问答
最新问答
推荐问答
新手帮助
常见问题
房贷计算器-九子财经 | 备案号: 桂ICP备19010581号-1 商务联系 企鹅:2790-680461

特别声明:本网为公益网站,人人都可发布,所有内容为会员自行上传发布",本站不承担任何法律责任,如内容有该作者著作权或违规内容,请联系我们清空删除。