国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 數據庫 > Oracle > 正文

oracle statspack實例(二)

2024-08-29 13:50:05
字體:
來源:轉載
供稿:網友
--內存調整select * from v$sga;--調整前SGANAME                      VALUE
-------------------- ----------
Fixed Size               452184
Variable Size         402653184
Database Buffers      251658240
Redo Buffers             667648select * from v$sgastat;POOL        NAME                            BYTES
----------- -------------------------- ----------
            fixed_sga                      452184
            buffer_cache                251658240
            log_buffer                     656384
shared pool errors                           8940
shared pool enqueue                        171860
shared pool KGK heap                         3756
shared pool KQR M PO                      1393788
shared pool KQR S PO                       177272
shared pool KQR S SO                         5120
shared pool sessions                       410040
shared pool sql area                     61446860POOL        NAME                            BYTES

----------- -------------------------- ----------
shared pool 1M buffer                     2098176
shared pool KGLS heap                     2613480
shared pool PX subheap                      19684
shared pool parameters                      39012
shared pool free memory                 125812664
shared pool PL/SQL DIANA                  3445584
shared pool FileOpenBlock                  695504
shared pool PL/SQL MPCODE                  637644
shared pool PL/SQL PPCODE                   48400
shared pool PL/SQL SOURCE                   14344
shared pool library cache                19376952POOL        NAME                            BYTES
----------- -------------------------- ----------
shared pool miscellaneous                 8639216
shared pool PLS non-lib hp                   2068
shared pool joxs heap init                   4220
shared pool table definiti                   2632
shared pool trigger defini                   1128
shared pool trigger inform                    528
shared pool trigger source                    624
shared pool Checkpoint queue               564608

shared pool VIRTUAL CIRCUITS               265160
shared pool dictionary cache              1614976
shared pool KSXR receive buffers          1032500POOL        NAME                            BYTES
----------- -------------------------- ----------
shared pool character set object           432136
shared pool FileIdentificatonBlock         319452
shared pool message pool freequeue         833032
shared pool KSXR pending messages que      840636
shared pool event statistics per sess     1908760
shared pool fixed allocation callback         268
large pool  free memory                  83886080
java pool   free memory                  8388608041 rows selected.
--UGA的大小,UGA主要包含一下部分的內存設置show parameters  area_size;NAME                                 TYPE        VALUE
------------------------------------ ----------- ------------------------------
bitmap_merge_area_size               integer     1048576
create_bitmap_area_size              integer     8388608
hash_area_size                       integer     1048576
sort_area_size                       integer     524288
workarea_size_policy                 string      AUTO--計算數據緩沖區命中率select value from v$sysstat  where name='physical reads'  4383475select * from v$sysstat  where name='physical reads direct'   3834798select * from v$sysstat  where name='physical reads direct (lob)'  374616select * from v$sysstat  where name like 'consistent gets'  1198738167select * from v$sysstat  where name like 'db block gets'  53472785

x=physical reads direct+physical reads direct (lob)
100-(physical reads-x)/(consistent gets+db block gets-x)*100
100-(4383475-3834798-374616)/(1198738167+53472785-3834798-374616)*100
--共享池的命中率
select sum(pinhits)/sum(pins)*100  "hit radio" from v$librarycache;--關于排序部分select name,value  from v$sysstat where name like '%sort%';select sorts(disk)/(sorts (memory)+sorts(disk)) from dualselect 0/(17038425+0) from dual--關于log_bufferselect name,value from v$sysstat 
where  name in('redo entries','redo buffer allocation retries');redo buffer allocation retries/redo entries  >1%  考慮增加log_buffer
--其他視圖
v$db_cache_advice、v$pga_target_advice、v$java_pool_advice 和 v$db_shared_pool_advice


上一篇:oracle statspack實例(一)

下一篇:Oracle數據庫邏輯備份的SH文件

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
學習交流
熱門圖片

新聞熱點

疑難解答

圖片精選

網友關注

主站蜘蛛池模板: 项城市| 南安市| 东山县| 连州市| 文昌市| 游戏| 台江县| 安庆市| 尚志市| 伊春市| 垫江县| 酉阳| 河间市| 武川县| 徐汇区| 昔阳县| 平湖市| 泰安市| 通州区| 申扎县| 闽清县| 丰原市| 鹤庆县| 霍山县| 麻江县| 聂荣县| 城固县| 梅河口市| 化德县| 内乡县| 珠海市| 台江县| 马山县| 阳新县| 衡南县| 六安市| 武隆县| 临泉县| SHOW| 甘谷县| 石阡县|