SCL PealLh Check 1ool

kapll Coyal - lldellLy lnvesLmenLs
Carlos Slerra - LnklLec
kapll Coyal
• Cracle Þerformance SpeclallsL
• CCÞ 8l Lo 11g
• u8A ulrecLor aL lldellLy lnvesLmenLs
• Þubllshed Arucles for uCuC and lCuC
• Speaker aL uCuC and lCuC
Carlos Slerra
• LnklLec ConsulLanL
• Cracle Þerformance
• SCL 1unlng
• ÞL/SCL
SCL PealLh Check 1ool
• SCLPC lnLroducuon
• SCLPC CuLpuL
• Screen ShoLs
• Why lldellLy uses SCLPC
• uemo
WhaL ls SCLPC?
• lree Lool avallable aL MCS 1366133.1
• lnpuLs one SCL_lu
• CuLpuLs a seL of SCL 1unlng dlagnosucs ñles
• lnsLalls noLhlng on Lhe daLabase
– uses ÞLAn_1A8LL as sLaglng Lemporary reposlLory
Pow Lo use SCLPC?
• uownload frequenLly laLesL verslon from MCS
• unzlp sqlhc.zlp ln daLabase server
• 8evlew sqlhc.sql code for peace of mlnd
• LxecuLe sqlhc.sql as S?S, u8A or user wlLh
access Lo uaLa ulcuonary
Lxecuuon ÞarameLers
1. Conñrmauon of Cracle ulagnosucs or 1unlng
Þack llcenses [ 1 | u | n ]
2. SCL_lu
Þre-requlslLes
• SCL musL be elLher ln Memory or AW8
• user musL have access Lo uaLa ulcuonary
• SCLPC uses v$ dynamlc vlews, whlch requlre
reasonable sLausucs on x$ llxed Cb[ecLs
• use SCLPC as early as posslble aûer a SCL
performed poorly
SCLPC CuLpuL (1)
• Cver 100 PealLh Checks abouL your SCL
– Cnly ºposluves" are reporLed
• 1able/lndex MeLadaLa and C8C SLausucs
• Cpumlzer parameLers durlng SCL execuuon
SCLPC CuLpuL (2)
• Lxecuuon Þlans
– CurrenL (memory) and hlsLorlcal (AW8)
• AcLual 8ows (A-8ows)
– lf S1A1lS1lCS_LLvLL=ALL when SCL was Þarsed
• Acuve Sesslon PlsLory for SCL
– lrom memory and AW8
SCLPC CuLpuL (3)
• SCL MonlLor 8eporL(s)
– 11.2 onwards
• PlsLorlcal SCL Þerformance MeLrlcs
• ueLalls abouL any Þlan SLablllLy feaLure used
– SCL Þlan 8asellnes (SÞM)
– SCL Þroñles or SCL ÞaLch
SCLPC CuLpuL (4)
• l/C Saved when execuLed on LxadaLa
• Cursor Sharlng and reasons for noL sharlng
• u8MS_S1A1S Clobal and 1able Þreferences
• SCL uynamlc LxLracLor (SCLux)
AbouL SCLPC and ASP
• CapLures every row assoclaLed Lo SCL_lu
– Cv$AC1lvL_SLSSlCn_PlS1C8?
• Cne second aparL snapshoLs of Cv$SLSSlCn
– u8A_PlS1_AC1lvL_SLSS_PlS1C8?
• Cne ouL of 1en samples from Cv$ vlew
• Summarles by Þlan Pash value and Þlan Llne
PealLh Checks SnapshoL (1)
PealLh Checks SnapshoL (2)
PealLh Checks SnapshoL (3)
ASP SnapshoL
Why lldellLy uses SCLPC?
• !"#$%&# (& )*&+ ,- .",/&# ,/%* +"," 0"1)"$$2
1-( 1- 1&&+ ,- +- %,3 4/%* )*&5)$ %15-#0"6-1 7"1
8& )*&+ ,- 7-17&1,#",& -1 ,/& 0-*, &9:&1*%;&
#-( *-)#7& -:&#"6-13
• <, "$*- /&$:* (/&1 (& +- 1-, /";& ,/& $)9)#2 ,-
#)1 =>? 4#"7& @ABBCDE "1+ 7-+& /"* 8&&1 #)1 "1+
(& 7"1F, #)1 "."%1 (%,/ ,#"7& &1"8$&+3
uemo 1lme
8eferences
• SCLPC
– MCS 1366133.1
kapll Coyal ConLacL lnfo
• kapll.goyal[fmr.com
Carlos Slerra ConLacL lnfo
• carlos.slerra[enklLec.com
• cslerra_usa
• carlos-slerra.neL