Developer Data Modeling Mistakes: From Postgres to NoSQL
X$Tables And Sga Scanner, DOAG2009
1. 19.11.2009 DOAG 2009 Page DOAG 2009 X$Tables and SGA-Scanner Dipl.-Inform. Frank Beutelschiess
2.
3.
4.
5.
6.
7.
8. SGA 19.11.2009 DOAG 2009 Page SGA - Architecture Redo Buffer Large Pool Dedicated Server Process Shared Server Process CKPT Data RedoLog Archive Control ARCn LGWR SMON PMON BufferCache Streams Pool Java Pool Shared Pool PGA PGA Dispatcher User User User User Dedicated Server Shared Server DBWn Instance Database Fixed Area
9.
10.
11.
12.
13.
14. 19.11.2009 DOAG 2009 Page SGA - Parameters The type of parameter (fixed or dynamic), for example, is shown in the Enterprise Manager.
15.
16. 19.11.2009 DOAG 2009 Page SGA – Granule Order Fixed Area Unused Buffer Cache Large Pool Java Pool Shared Pool Shared Pool Redo Buffer Increasing memory address Shared Pool Shared Pool Java Pool Streams Pool Shared Pool Shared Pool Large Pool Buffer Cache Buffer Cache Buffer Cache Buffer Cache Buffer Cache Buffer Cache Buffer Cache Buffer Cache Unused
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
28.
29.
30. 19.11.2009 DOAG 2009 Page X$KSPPI & X$KSPPSV select x.inst_id,y.ksppinm, decode(y.ksppity,1,'Boolean',2,'String',3,'Integer', 4,'ParameterFile',5,'Reserved',6,'BigInteger',y.ksppity), x.ksppstvl,x.ksppstdf, decode(bitand(y.ksppiflg/256,1),1,'TRUE','FALSE'), decode(bitand(y.ksppiflg/65536,3), 1,'IMMEDIATE',2,'DEFERRED',3,'IMMEDIATE','FALSE'), decode(bitand(x.ksppstvf,7),1,'MODIFIED',4,'SYSTEM_MOD','FALSE'), decode(bitand(x.ksppstvf,2),2,'TRUE','FALSE'), y.ksppdesc from X$KSPPI y, X$KSPPSV x where x.indx = y.indx and x.inst_id = y.inst_id order by 1,2
31.
32. 19.11.2009 DOAG 2009 Page X$Tables - Terms Metalink Doc ID: Note:22241.1 Subject: List of X$ Tables and how the names are derived