SlideShare une entreprise Scribd logo
1  sur  57
19.11.2009 DOAG 2009 Page  DOAG 2009 X$Tables and SGA-Scanner Dipl.-Inform. Frank Beutelschiess
19.11.2009 DOAG 2009 Page  Contents ,[object Object],[object Object],[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  Chapter 1 ,[object Object],[object Object],[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  Who am I? ,[object Object],[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  What does BzYxS.com do? ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  Chapter 2 ,[object Object],[object Object],[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  SGA – What is it? ,[object Object],[object Object],[object Object],[object Object],[object Object]
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
19.11.2009 DOAG 2009 Page  SGA - Areas ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  SGA – Fixed Area ,[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  SGA - Dedicated/Shared Server ,[object Object],[object Object],[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  SGA – Fixed Structures ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  SGA – Dynamic Structures ,[object Object],[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  SGA - Parameters The type of parameter (fixed or dynamic), for example, is shown in the Enterprise Manager.
19.11.2009 DOAG 2009 Page  SGA – Allocation of Memory ,[object Object],[object Object],[object Object],[object Object]
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
19.11.2009 DOAG 2009 Page  Chapter 3 ,[object Object],[object Object],[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  X$Tables - Information (1/2) ,[object Object],[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  X$Tables - Information (2/2) ,[object Object],[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  X$KSMGE (1/3) ,[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  X$KSMGE (2/3) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],Information: X$KSMSD (Kernel/Service/Memory/SizeDefinition) ~ V$SGA
19.11.2009 DOAG 2009 Page  X$KSMGE (3/3) ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  X$Tables – What are they? ,[object Object],[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  X$KSMMEM (1/4) ,[object Object]
19.11.2009 DOAG 2009 Page  X$KSMMEM (2/4) ,[object Object],[object Object],Please note: with Unix, it can exist without a limitation in the Where-part.!
19.11.2009 DOAG 2009 Page  X$KSMMEM (3/4) ,[object Object],[object Object]
19.11.2009 DOAG 2009 Page  X$KSMMEM (4/4) ,[object Object],[object Object]
19.11.2009 DOAG 2009 Page  X$-Tables - Why? ,[object Object],[object Object]
19.11.2009 DOAG 2009 Page  X$KSPPI & X$KSPPSV ,[object Object],[object Object],[object Object],[object Object],[object Object]
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
19.11.2009 DOAG 2009 Page  X$Tables - Access ,[object Object],[object Object]
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
19.11.2009 DOAG 2009 Page  X$Tables – Start of Analysis ,[object Object],[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  X$Tables – Offset Calculation ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  X$Tables - Structure ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  X$Tables – Contention (1/2) ,[object Object],[object Object]
19.11.2009 DOAG 2009 Page  X$Tables – Contention (2/2) ,[object Object],[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  Chapter 4 ,[object Object],[object Object],[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  V$ Views ,[object Object],[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  V$Views - Definition ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  Chapter 5 ,[object Object],[object Object],[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  SGA-Scanner – What? ,[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  SGA-Scanner - Configuration
19.11.2009 DOAG 2009 Page  SGA-Scanner - Challenge ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  SGA-Scanner - Windows ,[object Object],[object Object]
19.11.2009 DOAG 2009 Page  SGA-Scanner - Implementation <Psapi>.EnumProcesses(*pProcessIds,…) <Kernel32>.OpenProcess(0x410,…,dwProcessId) <Psapi>.GetModuleBaseName(hProcess,…,lpBaseName,…) <Kernel32>.CloseHandle(hObject) <Kernel32>.ReadProcessMemory(hProcess, lpBaseAddress,lpBuffer,…) Oracle.exe? Liste fertig? <Kernel32>.CloseHandle(hObject) Yes Yes No No Start End
19.11.2009 DOAG 2009 Page  SGA-Scanner - Why? ,[object Object],[object Object],[object Object]
19.11.2009 DOAG 2009 Page  SGA-Scanner – V$SESSION (1/9) - List of all sessions (same as V$SESSION)
19.11.2009 DOAG 2009 Page  SGA-Scanner – V$SESSION (2/9) - Session 10 (SID 10) is newly added.
19.11.2009 DOAG 2009 Page  SGA-Scanner – V$SESSION (3/9) - Session 11 (SID 12) is newly added.
19.11.2009 DOAG 2009 Page  ,[object Object],SGA-Scanner – V$SESSION (4/9)
19.11.2009 DOAG 2009 Page  SGA-Scanner – V$SESSION (5/9) - Access to the table locked by the other session.
19.11.2009 DOAG 2009 Page  SGA-Scanner – V$SESSION (6/9) - Session 11 (SID 12) waits due to an enqueue.
19.11.2009 DOAG 2009 Page  SGA-Scanner – V$SESSION (7/9) - Lock is removed through a manual commit.
19.11.2009 DOAG 2009 Page  SGA-Scanner – V$SESSION (8/9) - Enqueue is broken.
19.11.2009 DOAG 2009 Page  SGA-Scanner – V$SESSION (9/9)
19.11.2009 DOAG 2009 Page  Thank you for your attention!

Contenu connexe

Tendances

DB2UDB_the_Basics Day 6
DB2UDB_the_Basics Day 6DB2UDB_the_Basics Day 6
DB2UDB_the_Basics Day 6
Pranav Prakash
 
DB2UDB_the_Basics Day 5
DB2UDB_the_Basics Day 5DB2UDB_the_Basics Day 5
DB2UDB_the_Basics Day 5
Pranav Prakash
 
DB2UDB_the_Basics Day2
DB2UDB_the_Basics Day2DB2UDB_the_Basics Day2
DB2UDB_the_Basics Day2
Pranav Prakash
 
DB2UDB_the_Basics Day 3
DB2UDB_the_Basics Day 3DB2UDB_the_Basics Day 3
DB2UDB_the_Basics Day 3
Pranav Prakash
 

Tendances (20)

Xpp b tspitr
Xpp b tspitrXpp b tspitr
Xpp b tspitr
 
Vertica
VerticaVertica
Vertica
 
SQL Server 2014 In-Memory Tables (XTP, Hekaton)
SQL Server 2014 In-Memory Tables (XTP, Hekaton)SQL Server 2014 In-Memory Tables (XTP, Hekaton)
SQL Server 2014 In-Memory Tables (XTP, Hekaton)
 
Tuning Apache Phoenix/HBase
Tuning Apache Phoenix/HBaseTuning Apache Phoenix/HBase
Tuning Apache Phoenix/HBase
 
Data Storage Formats in Hadoop
Data Storage Formats in HadoopData Storage Formats in Hadoop
Data Storage Formats in Hadoop
 
Les 08 tune_rman
Les 08 tune_rmanLes 08 tune_rman
Les 08 tune_rman
 
Unit 4 lecture-3
Unit 4 lecture-3Unit 4 lecture-3
Unit 4 lecture-3
 
Hive
HiveHive
Hive
 
Pig
PigPig
Pig
 
Les 16 resource
Les 16 resourceLes 16 resource
Les 16 resource
 
DB2UDB_the_Basics Day 6
DB2UDB_the_Basics Day 6DB2UDB_the_Basics Day 6
DB2UDB_the_Basics Day 6
 
Inside Parquet Format
Inside Parquet FormatInside Parquet Format
Inside Parquet Format
 
Introduction to HDF5
Introduction to HDF5Introduction to HDF5
Introduction to HDF5
 
DB2UDB_the_Basics Day 5
DB2UDB_the_Basics Day 5DB2UDB_the_Basics Day 5
DB2UDB_the_Basics Day 5
 
Dbvisit replicate: logical replication made easy
Dbvisit replicate: logical replication made easyDbvisit replicate: logical replication made easy
Dbvisit replicate: logical replication made easy
 
IBM DB2 for z/OS Administration Basics
IBM DB2 for z/OS Administration BasicsIBM DB2 for z/OS Administration Basics
IBM DB2 for z/OS Administration Basics
 
DB2UDB_the_Basics Day2
DB2UDB_the_Basics Day2DB2UDB_the_Basics Day2
DB2UDB_the_Basics Day2
 
DATASTAGE ONLINE TRAINING
DATASTAGE ONLINE TRAININGDATASTAGE ONLINE TRAINING
DATASTAGE ONLINE TRAINING
 
SKILLWISE-DB2 DBA
SKILLWISE-DB2 DBASKILLWISE-DB2 DBA
SKILLWISE-DB2 DBA
 
DB2UDB_the_Basics Day 3
DB2UDB_the_Basics Day 3DB2UDB_the_Basics Day 3
DB2UDB_the_Basics Day 3
 

En vedette

Understanding java streams
Understanding java streamsUnderstanding java streams
Understanding java streams
Shahjahan Samoon
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and Design
Haitham El-Ghareeb
 

En vedette (12)

Java 8 Streams And Common Operations By Harmeet Singh(Taara)
Java 8 Streams And Common Operations By Harmeet Singh(Taara)Java 8 Streams And Common Operations By Harmeet Singh(Taara)
Java 8 Streams And Common Operations By Harmeet Singh(Taara)
 
Buffer and scanner
Buffer and scannerBuffer and scanner
Buffer and scanner
 
java: basics, user input, data type, constructor
java:  basics, user input, data type, constructorjava:  basics, user input, data type, constructor
java: basics, user input, data type, constructor
 
Define location of Preplaced cells(http://www.vlsisystemdesign.com/PD-Flow.php)
Define location of Preplaced cells(http://www.vlsisystemdesign.com/PD-Flow.php)Define location of Preplaced cells(http://www.vlsisystemdesign.com/PD-Flow.php)
Define location of Preplaced cells(http://www.vlsisystemdesign.com/PD-Flow.php)
 
1 java - data type
1  java - data type1  java - data type
1 java - data type
 
Jnp
JnpJnp
Jnp
 
Understanding java streams
Understanding java streamsUnderstanding java streams
Understanding java streams
 
Java I/O
Java I/OJava I/O
Java I/O
 
Esoft Metro Campus - Certificate in java basics
Esoft Metro Campus - Certificate in java basicsEsoft Metro Campus - Certificate in java basics
Esoft Metro Campus - Certificate in java basics
 
Object-Oriented Analysis and Design
Object-Oriented Analysis and DesignObject-Oriented Analysis and Design
Object-Oriented Analysis and Design
 
Structured Vs, Object Oriented Analysis and Design
Structured Vs, Object Oriented Analysis and DesignStructured Vs, Object Oriented Analysis and Design
Structured Vs, Object Oriented Analysis and Design
 
Object Oriented Analysis and Design
Object Oriented Analysis and DesignObject Oriented Analysis and Design
Object Oriented Analysis and Design
 

Similaire à X$Tables And Sga Scanner, DOAG2009

2713897 oracle-unix-oracle
2713897 oracle-unix-oracle2713897 oracle-unix-oracle
2713897 oracle-unix-oracle
sivacse09
 
Boost Your Environment With XMLDB - UKOUG 2008 - Marco Gralike
Boost Your Environment With XMLDB - UKOUG 2008 - Marco GralikeBoost Your Environment With XMLDB - UKOUG 2008 - Marco Gralike
Boost Your Environment With XMLDB - UKOUG 2008 - Marco Gralike
Marco Gralike
 
W1.1 i os in database
W1.1   i os in databaseW1.1   i os in database
W1.1 i os in database
gafurov_x
 
Content Storage With Apache Jackrabbit
Content Storage With Apache JackrabbitContent Storage With Apache Jackrabbit
Content Storage With Apache Jackrabbit
Jukka Zitting
 
Automatic Storage Management (ASM) metrics are a goldmine: Let's use them!
Automatic Storage Management (ASM) metrics are a goldmine: Let's use them!Automatic Storage Management (ASM) metrics are a goldmine: Let's use them!
Automatic Storage Management (ASM) metrics are a goldmine: Let's use them!
BertrandDrouvot
 

Similaire à X$Tables And Sga Scanner, DOAG2009 (20)

2713897 oracle-unix-oracle
2713897 oracle-unix-oracle2713897 oracle-unix-oracle
2713897 oracle-unix-oracle
 
Boost Your Environment With XMLDB - UKOUG 2008 - Marco Gralike
Boost Your Environment With XMLDB - UKOUG 2008 - Marco GralikeBoost Your Environment With XMLDB - UKOUG 2008 - Marco Gralike
Boost Your Environment With XMLDB - UKOUG 2008 - Marco Gralike
 
gDBClone - Database Clone “onecommand Automation Tool”
gDBClone - Database Clone “onecommand Automation Tool”gDBClone - Database Clone “onecommand Automation Tool”
gDBClone - Database Clone “onecommand Automation Tool”
 
Virtuoso RDF Triple Store Analysis Benchmark & mapping tools RDF / OO
Virtuoso RDF Triple Store Analysis Benchmark & mapping tools RDF / OOVirtuoso RDF Triple Store Analysis Benchmark & mapping tools RDF / OO
Virtuoso RDF Triple Store Analysis Benchmark & mapping tools RDF / OO
 
W1.1 i os in database
W1.1   i os in databaseW1.1   i os in database
W1.1 i os in database
 
10g rac asm
10g rac asm10g rac asm
10g rac asm
 
Leveraging Open Source to Manage SAN Performance
Leveraging Open Source to Manage SAN PerformanceLeveraging Open Source to Manage SAN Performance
Leveraging Open Source to Manage SAN Performance
 
Content Storage With Apache Jackrabbit
Content Storage With Apache JackrabbitContent Storage With Apache Jackrabbit
Content Storage With Apache Jackrabbit
 
Automatic Storage Management (ASM) metrics are a goldmine: Let's use them!
Automatic Storage Management (ASM) metrics are a goldmine: Let's use them!Automatic Storage Management (ASM) metrics are a goldmine: Let's use them!
Automatic Storage Management (ASM) metrics are a goldmine: Let's use them!
 
Exadata master series_asm_2020
Exadata master series_asm_2020Exadata master series_asm_2020
Exadata master series_asm_2020
 
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim WilliamsWhat's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
What's New and Coming in Oracle ASM 12c Rel. 2 - by Jim Williams
 
11g R2
11g R211g R2
11g R2
 
Stack It And Unpack It
Stack It And Unpack ItStack It And Unpack It
Stack It And Unpack It
 
Kernel Recipes 2016 - Landlock LSM: Unprivileged sandboxing
Kernel Recipes 2016 - Landlock LSM: Unprivileged sandboxingKernel Recipes 2016 - Landlock LSM: Unprivileged sandboxing
Kernel Recipes 2016 - Landlock LSM: Unprivileged sandboxing
 
Hosting huge amount of binaries in JCR
Hosting huge amount of binaries in JCRHosting huge amount of binaries in JCR
Hosting huge amount of binaries in JCR
 
Speeding Up Spark Performance using Alluxio at China Unicom
Speeding Up Spark Performance using Alluxio at China UnicomSpeeding Up Spark Performance using Alluxio at China Unicom
Speeding Up Spark Performance using Alluxio at China Unicom
 
Spark Summit EU talk by Jiri Simsa
Spark Summit EU talk by Jiri SimsaSpark Summit EU talk by Jiri Simsa
Spark Summit EU talk by Jiri Simsa
 
Spark Summit EU talk by Jiri Simsa
Spark Summit EU talk by Jiri SimsaSpark Summit EU talk by Jiri Simsa
Spark Summit EU talk by Jiri Simsa
 
Using oracle12c pluggable databases to archive
Using oracle12c pluggable databases to archiveUsing oracle12c pluggable databases to archive
Using oracle12c pluggable databases to archive
 
A presentaion on Panasas HPC NAS
A presentaion on Panasas HPC NASA presentaion on Panasas HPC NAS
A presentaion on Panasas HPC NAS
 

Plus de Frank (8)

Migrating Siebel Crm 7.5 To 8.0
Migrating Siebel Crm 7.5 To 8.0Migrating Siebel Crm 7.5 To 8.0
Migrating Siebel Crm 7.5 To 8.0
 
Changes For Siebel Crm Mobile Clients
Changes For Siebel Crm Mobile ClientsChanges For Siebel Crm Mobile Clients
Changes For Siebel Crm Mobile Clients
 
Rac Optimisation For Siebel Crm, Doag 2008
Rac Optimisation For Siebel Crm, Doag 2008Rac Optimisation For Siebel Crm, Doag 2008
Rac Optimisation For Siebel Crm, Doag 2008
 
X$Tabellen und SgaScanner, DOAG 2009
X$Tabellen und SgaScanner, DOAG 2009X$Tabellen und SgaScanner, DOAG 2009
X$Tabellen und SgaScanner, DOAG 2009
 
Neuerungen Siebel CRM Mobile Clients
Neuerungen Siebel CRM Mobile ClientsNeuerungen Siebel CRM Mobile Clients
Neuerungen Siebel CRM Mobile Clients
 
Migration Siebel CRM 7.5 nach 8.0
Migration Siebel CRM 7.5 nach 8.0Migration Siebel CRM 7.5 nach 8.0
Migration Siebel CRM 7.5 nach 8.0
 
Siebel CRM in Production - What Now?
Siebel CRM in Production - What  Now?Siebel CRM in Production - What  Now?
Siebel CRM in Production - What Now?
 
RAC Optimierung im Siebel CRM Umfeld, DOAG 2008
RAC Optimierung im Siebel CRM Umfeld, DOAG 2008RAC Optimierung im Siebel CRM Umfeld, DOAG 2008
RAC Optimierung im Siebel CRM Umfeld, DOAG 2008
 

Dernier

Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Victor Rentea
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 

Dernier (20)

Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
Navigating the Deluge_ Dubai Floods and the Resilience of Dubai International...
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Artificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : UncertaintyArtificial Intelligence Chap.5 : Uncertainty
Artificial Intelligence Chap.5 : Uncertainty
 
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
Modular Monolith - a Practical Alternative to Microservices @ Devoxx UK 2024
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 
Exploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with MilvusExploring Multimodal Embeddings with Milvus
Exploring Multimodal Embeddings with Milvus
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..Understanding the FAA Part 107 License ..
Understanding the FAA Part 107 License ..
 
Vector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptxVector Search -An Introduction in Oracle Database 23ai.pptx
Vector Search -An Introduction in Oracle Database 23ai.pptx
 
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
Emergent Methods: Multi-lingual narrative tracking in the news - real-time ex...
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)Introduction to Multilingual Retrieval Augmented Generation (RAG)
Introduction to Multilingual Retrieval Augmented Generation (RAG)
 

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
  • 33.
  • 34.
  • 35.
  • 36.
  • 37.
  • 38.
  • 39.
  • 40.
  • 41.
  • 42.
  • 43. 19.11.2009 DOAG 2009 Page SGA-Scanner - Configuration
  • 44.
  • 45.
  • 46. 19.11.2009 DOAG 2009 Page SGA-Scanner - Implementation <Psapi>.EnumProcesses(*pProcessIds,…) <Kernel32>.OpenProcess(0x410,…,dwProcessId) <Psapi>.GetModuleBaseName(hProcess,…,lpBaseName,…) <Kernel32>.CloseHandle(hObject) <Kernel32>.ReadProcessMemory(hProcess, lpBaseAddress,lpBuffer,…) Oracle.exe? Liste fertig? <Kernel32>.CloseHandle(hObject) Yes Yes No No Start End
  • 47.
  • 48. 19.11.2009 DOAG 2009 Page SGA-Scanner – V$SESSION (1/9) - List of all sessions (same as V$SESSION)
  • 49. 19.11.2009 DOAG 2009 Page SGA-Scanner – V$SESSION (2/9) - Session 10 (SID 10) is newly added.
  • 50. 19.11.2009 DOAG 2009 Page SGA-Scanner – V$SESSION (3/9) - Session 11 (SID 12) is newly added.
  • 51.
  • 52. 19.11.2009 DOAG 2009 Page SGA-Scanner – V$SESSION (5/9) - Access to the table locked by the other session.
  • 53. 19.11.2009 DOAG 2009 Page SGA-Scanner – V$SESSION (6/9) - Session 11 (SID 12) waits due to an enqueue.
  • 54. 19.11.2009 DOAG 2009 Page SGA-Scanner – V$SESSION (7/9) - Lock is removed through a manual commit.
  • 55. 19.11.2009 DOAG 2009 Page SGA-Scanner – V$SESSION (8/9) - Enqueue is broken.
  • 56. 19.11.2009 DOAG 2009 Page SGA-Scanner – V$SESSION (9/9)
  • 57. 19.11.2009 DOAG 2009 Page Thank you for your attention!