[20220419]19c _enable_shared_pool_durations.txt
[20220419]19c _enable_shared_pool_durations.txt
--//19c生產系統,我發現奇怪的現象做一個記錄:
1.環境:
> @ prxx
==============================
PORT_STRING : x86_64/Linux 2.4.xx
VERSION : 19.0.0.0.0
BANNER : Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
BANNER_FULL : Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
Version 19.9.0.0.0
BANNER_LEGACY : Oracle Database 19c Enterprise Edition Release 19.0.0.0.0 - Production
CON_ID : 0
PL/SQL procedure successfully completed.
2.檢視:
> @ pd _kghdsidx_count
Show all parameters and session values from x$ksppi/x$ksppcv...
NUM N_HEX NAME VALUE DESCRIPTION
---- ----- ----------------- ------- ------------------
292 124 _kghdsidx_count 5 max kghdsidx count
> @ pd _enable_shared_pool_durations
Show all parameters and session values from x$ksppi/x$ksppcv...
NUM N_HEX NAME VALUE DESCRIPTION
---- ----- ------------------------------ ------- --------------------------------------
161 A1 _enable_shared_pool_durations TRUE temporary to disable/enable kgh policy
> SELECT DISTINCT ksmchidx, ksmchdur FROM x$ksmsp ORDER BY 1, 2;
KSMCHIDX KSMCHDUR
--------------- ---------------
1 1
1 4
2 1
2 4
3 1
3 4
4 1
4 4
5 1
5 4
10 rows selected.
--//注意這個執行很容易當機,小心!! 或者報ora-00600 之類的錯誤。
--//你可以發現 KSMCHDUR 沒有2,3.也就是現在僅僅存在1,4.
--//可以看出19c在這方面做了改進,不再細分4個子子池,而是僅僅存在2個。oracle這樣改進也許主要目的避免ora-04031之類的錯誤。
--//做一個轉儲也可以驗證:
> oradebug setmypid
Statement processed.
> oradebug dump heapdump 2;
Statement processed.
$ grep "^HEAP DUMP" dyhis1_ora_2216.trc
HEAP DUMP heap name="sga heap" desc=0x60147cc0
HEAP DUMP heap name="sga heap(1,0)" desc=0x60149618
HEAP DUMP heap name="sga heap(1,3)" desc=0x6014df20
HEAP DUMP heap name="sga heap(2,0)" desc=0x6015dd40
HEAP DUMP heap name="sga heap(2,3)" desc=0x60162648
HEAP DUMP heap name="sga heap(3,0)" desc=0x60172468
HEAP DUMP heap name="sga heap(3,3)" desc=0x60176d70
HEAP DUMP heap name="sga heap(4,0)" desc=0x60186b90
HEAP DUMP heap name="sga heap(4,3)" desc=0x6018b498
HEAP DUMP heap name="sga heap(5,0)" desc=0x6019b2b8
HEAP DUMP heap name="sga heap(5,3)" desc=0x6019fbc0
HEAP DUMP heap name="IMCA_RO" desc=0x60001030
HEAP DUMP heap name="IMCA_RW" desc=0x60001178
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/267265/viewspace-2887687/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Oracle 19C EMOracle
- 【19c】Oracle 19c 和 20c 的新特性解密Oracle解密
- oracle 19c dataguard silent install (oracle 19c dataguard 靜默安裝)Oracle
- Oracle 19c Broker配置Oracle
- 19c安裝配置
- 19c RAC Convert to OneNde
- 19c OneNode Convert to RAC
- 安裝RAC 19C
- [20230221]19c oratop.txt
- Oracle 19c的安裝Oracle
- Oracle 19c RPM安裝Oracle
- oracle 19c 初體驗Oracle
- Oracle 19c中的TomcatOracleTomcat
- Oracle 19c Database Management ToolsOracleDatabase
- oracle 19c pdb遷移Oracle
- Oracle 19c Concepts(10):TransactionsOracle
- Oracle 19c Concepts(07):SQLOracleSQL
- 7:OracleRAC安裝配置(19C)Oracle
- LGnn 程式介紹(oracle 19c)GNNOracle
- [20221227]19c LISTAGG Enhancements.txt
- Sqlcl 連線Oracle DataBase 19cSQLOracleDatabase
- Oracle Linux 7.1 silent install 19cOracleLinux
- oracle 19c CDB vs pdb 建立Oracle
- 19c TAF 配置及測試
- 手工清理19c RAC環境
- Oracle 19c RAC INS-40724Oracle
- oracle 19C 靜默安裝Oracle
- Docker中安裝Oracle 19cDockerOracle
- 1 Oracle Database 19c 新特性OracleDatabase
- Oracle 19c 安裝嚐鮮Oracle
- Oracle 19c Concepts(14):Memory ArchitectureOracle
- Oracle 19c Concepts(15):Process ArchitectureOracle
- Oracle 19c Concepts(05):Data IntegrityOracle
- oracle 19c 安裝、解除安裝Oracle
- 19c 自動打RU補丁
- How To Deal With Split Brain In Oracle 19c RacAIOracle
- [20211014]19C Failed Logon Delay.txtAIGo
- Oracle Database 19c安裝Sample SchemasOracleDatabase