advanced dba – performance tuning for muf part i
TRANSCRIPT
![Page 1: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/1.jpg)
World®’16
AdvancedDBA– PerformanceTuningforMUFPartIKevinShumaVP,ProductManagementCATechnologies
MAINFRAMEANDWORKLOADAUTOMATION
MFX66EA
![Page 2: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/2.jpg)
2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Abstract
ThisisatwopartsessionthatdescribesthevarioustechniquesusedtotuneaCADatacomenvironment(MUF)forthebestpossibleperformance.Includedwillbediscussionsonavailablemonitoringtools.
ThesessionwillcovervariousutilitiesandtollsprovidedwithCADatacom®/DBandCASysview®tomeasuretheperformanceofCADatacomenvironments.
KevinShuma
VP,ProductManagement
CATechnologies
![Page 3: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/3.jpg)
3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Agenda
ITUNEDLASTYEARWHYDOITAGAIN?
WHATDRIVESTCO?
TECHNIQUESTOMEASUREPERFORMANCE
SUMMARY
1
2
3
44
![Page 4: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/4.jpg)
4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ITunedLastYearWhyDoItAgain?
§ Hardwarechanges– IBMz13- TheProcessorUnitchip(PUchip)measures678 mm2
andconsistsof3.99billiontransistorsfabricatedusingIBM's22nmCMOSsilicononinsulatorfabricationprocess,using17metallayersandsupportingspeedsof5.2 GHz,whichislessthanitspredecessor,thezEC12.[3][5]ThePUchipcanhavesix,sevenoreightcores(or"processorunits"inIBM'sparlance)enableddependingonconfiguration.Newforthez13isthatthePUchipcomespackagedinsinglechipmodules,whichisabigchangefromallpreviousmainframeprocessorsthatweremountedonlargemulti-chipmodules.
HowoftendoIneedtotune?
It’sreallyfast
![Page 5: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/5.jpg)
5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ITunedLastYearWhyDoItAgain?
§ OperatingSystemchanges– IBM'sz/OS®V2.2operatingsystemandlatestIBM®z13server
deliverinnovationsdesignedtohelpyoubuildthehighlyscalablenext-generationinfrastructureyouneed.Together,theyofferthecapacity,scale,availability,andthroughputrequiredtoimprovebusinessperformance,meetresponsetimeobjectives,protectsensitivedataandtransactions,andminimizeoperationalriskforanexceptionalcustomerexperience.Neweconomicefficienciesallowthez13withz/OSV2.2tooffermorethroughputandcapabilitieswithlessimpacttotheITbudget.
HowoftendoIneedtotune?
It’sreally complex
![Page 6: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/6.jpg)
6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ITunedLastYearWhyDoItAgain?
§ DatabaseSoftwarechanges– CADatacomV14.02andv15.0deliveredover50major
enhancementsthatmostlikelywilldirectlyaffecthowyoudatabaseapplicationsrun.
HowoftendoIneedtotune?
It’sreallydifferent
![Page 7: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/7.jpg)
7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ThatSoundsReallyScary!
§ Itis,andyetitisn’t
§ Understandingwhatdrivesyourbusinessandhowthatbusinessrelatestothedatabaseapplicationshelpstoestablishthetotalcostofownership(TCO)
§ TCOcanbedifferentforeverysite– Butinmostcases,mainframesitesshareasetoftypicallyTCOdrivers
§ OneconstantismainframeistheneedtodrivedownTCO
HowoftendoIneedtotune?
![Page 8: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/8.jpg)
8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WhatdrivesTCO?
![Page 9: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/9.jpg)
9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WhatDrivesTCO?
§ HardwareandsoftwarechargesbasedonCPUconsumption– TypicallybasedonpeakCPU(MSUs)useduringameasuredperiod
§ IBMspecialty(zIIP)processorsnotincluded– IBMWorkloadLicenseChargesarebasedon4houraverages
CriticalfactorsformainframeTCO
WhilereducingCPUingeneralisgood,
focusingonthepeakperiodsisbetter
![Page 10: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/10.jpg)
10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WhatDrivesTCO?(cont’d)
§ Memorytypicallymeasuredasa“overheadcost”– Costtypicallyspreadacrossalltasks– CanbeusedtoreduceIO,andthereforereduceCPU– Ifoverused,candriveupCPUintheformofsystempaging
§ PhysicalIOtypicallynotmeasuredasa“cost”– ButitconsumesCPUforeachIOused– Notavailablefordispatchingonspecialtyprocessor
CriticalfactorsformainframeTCO
![Page 11: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/11.jpg)
11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WhatDrivesTCO?(cont’d)
§ DASDStorage– PhysicalcostsforDASD“onthefloor”– Relativelylow-costresource,but– Theamountofdataisgrowing– Mostshopsareseeinganever-increasingDASDfootprint
CriticalfactorsformainframeTCO
![Page 12: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/12.jpg)
12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
HowtomeasureTCO?(cont’d)
§ BusinessValueMetrics- CPU– RequestsperCPU
§ 650,000rq/(600CPCPU)=1083rqpertotalCPU
§ AdjustedvaluewithzIIPCPUata%ofCPCPU– BusinessrateszIIPatacostof10%ofCP
§ Requests/(CPCPU+(zIIPCPU*.1))§ 650,000rq/(50+(550*.1))§ 650,000rq/(105)=6190rqperadjustedCPU
MeasuringdatabaseactivityasaTCO
![Page 13: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/13.jpg)
13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
HowtomeasureTCO?(cont’d)
§ Rememberthisgraph?– ItisnotjustCPUbutCPUuseatthe“highperiods”– zIIPdoesnotcounttowardstheseperiods
MeasuringdatabaseactivityasaTCO
![Page 14: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/14.jpg)
14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
HowtomeasureTCO?(cont’d)
§ BusinessValueMetrics- IO– RequestsperIO
§ 650,000rq/(60,000IOs)=10.83rqperIO
§ (?)BusinessValueMetrics– DASDinuse– RequestperMB,TB,other?– Notsomethingregularlymeasured– Shoulditbe?
MeasuringdatabaseactivityasaTCO
![Page 15: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/15.jpg)
15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
What’sinYourToolbox?
§ Trustedandtrue– PXXreport
§ Newandshiny– Dynamicsystemtables
§ Everythingyoucanfind– AutoInfo,AutoStatus,AutoCollect,Autoanything…
Whattoolsareyouusing?Whattoolsareavailable?
![Page 16: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/16.jpg)
16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
What’sinYourToolbox?
§ Itdoesn’tmatteraslongasitmeetsyourgoals?
§ ImprovedperformanceofCADatacom– Whichshouldresultinreducedresourceconsumption(perrequest)– WhichshouldresultinareductionintheTotalCostofOwnership
Whattoolsareyouusing?Whattoolsareavailable?
![Page 17: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/17.jpg)
17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Techniquestomeasureperformance
![Page 18: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/18.jpg)
18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Techniquestomeasureperformance
§ Whatresourcesarebeingconsumed
§ Whataretheperformancemetrics
§ Whatarethe“keyconsiderations”– CPUconsumption– Resourceutilization– Responsetime– Locking/Logging/recovery– DASDIOs– More…
Beforeyoucanimprove,youneedtoknowwhattomeasure
![Page 19: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/19.jpg)
19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Knowingwhattheenvironmentisdoing
§ ResourceconsumptionsinceMUFcameup– Generalindicationof“health”– Indicationofhigh-useortroublespots
§ Performancebenchmarkorbaseline– Alwaystakesnapshotatthe“same”period– Whenproblemsoccur:
§ Doaquickscanofsnapshotfortroublespots§ Comparecurrentsnapshotagainst“healthysnapshot”
– Lookfordifferences
ThePerformanceSnapshot
![Page 20: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/20.jpg)
20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
“One-time”performancesnapshot– variousoptions
§ DBUTLTYAUTOINFO(AutoInfo)– Printedreport– Optionforsequentialoutputreadytouploadintospreadsheet
§ ConsolecommandALL_INFO_REPORT– GeneratesoutputtoPXXorPXXSYSOUTdatasets– SimilartoMUFEOJplusPXXSUMMARYreport
Quickandeasy
![Page 21: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/21.jpg)
21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
“One-time”performancesnapshot– variousoptions(cont’d)
§ MUFEOJSYSPRINT– PrintedtoSYSPRINTatMUFendofjob
§ PXXSYSSTAT=SUMMARY– OndemandrequiresPXXSTATS=DETAIL– PXXSTATS=EOJorEOJPRTonlyavailableatMUFEOJ
![Page 22: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/22.jpg)
22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
“One-time”performancesnapshot– comparison
![Page 23: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/23.jpg)
23 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Automatedperformancesnapshotsanddeltas
§ AutoCollect– Automatedsnapshotcollection
§ SimilardataasAutoInfo§ DataplacedinasetofDatacomtables(DBID1019)
– Automatedcreationof“deltas”§ DataplacedinasetofDatacomtables(DBID1020)
– Interval- Differencebetweensnapshots– Last– Differencebetween1stsnapshotandlastsnapshot
DBUTLTYAUTOCOLL
![Page 24: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/24.jpg)
24 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Automatedperformancesnapshotsanddeltas
§ AutoCollect– On-demandusercreateddeltas
§ Summary– combiningdeltastogether§ Baseline– combinedeltastogetheranddividetogetanaveragebaseline§ Averageperformance– combinedeltasandcalculateaverage“hour”ofperformance
DBUTLTYAUTOCOLL
![Page 25: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/25.jpg)
25 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
SamplesfromAutoCollectusedtomaptopeakperiods
![Page 26: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/26.jpg)
26 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Interactiveperformancemeasurements
§ CASYSVIEWforCADatacom– DynamicallyfindsallCADatacomMUFs
§ RetrieveskeyinformationontheMUFaddressspaces§ IntegratedwiththeCADatacomDynamicSystemsTables§ Displaysreal-timedataforproblemsolving§ Accesstohistoricalandperformancemetricsfortuning§ QuickestwaytomeasureaperformancechangewhileMUFisactive
– Batchcapabilitiesallowthecollectionofmetrics
Real-timeperformanceinformation
![Page 27: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/27.jpg)
27 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
CASYSVIEWreal-timeperformancemonitors
![Page 28: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/28.jpg)
28 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
SummaryAFewWordstoReview
Results– PartIWeaddressedtheneedtoregularlymonitorperformancetoimproveTCO.Wediscussedvariouson-demandandautomatedcapabilitiestobuildperformancebaselines.Wehighlightedcertainkeymeasurementsthatcanbeusedtodetermineif“deepdive”tuningisneeded.
InpartII,wewillgothroughaseriesofperformancepracticesthatcanbeappliedtoDatacomenvironmentstomeasureperformanceandleadtoimprovedTCO.
![Page 29: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/29.jpg)
@CAWORLD#CAWORLD ©2016CA.AllRIGHTSRESERVED.29 @CAWORLD#CAWORLD ©2016CA.AllRIGHTSRESERVED.29
MainframeandWorkloadAutomation
FormoreinformationonMainframeandWorkloadAutomation,pleasevisit:http://cainc.to/9GQ2JI
![Page 30: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/30.jpg)
30 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
RecommendedSessionsSESSION# TITLE DATE/TIME
MFX92S StrategyandVisionforCADatacomandCAIdeal 11/16/2016at12:45pm
MFX93S What’snewinCADatacom 11/16/2016at1:45pm
MFX94S ReducingTCOwithDatacomCompression(Presspack) 11/16/2016at3:00pm
MFX95SA ModernizingtheCADatacomdata – SQLAccessPartI 11/16/2016at3:45pm
MFX95SB ModernizingtheCADatacomdata – SQLAccessPartII 11/16/2016at4:30pm
MFX96S CADatacom/ADInstallation/UpgradeandMaintenance 11/17/2016at12:45pm
MFX97S CADatacom/ADReportUtilization,andinformationgatherforSupport 11/17/2016at1:45pm
MFX98SUsingSysview tomonitorandmeasureyourCADatacomenvironment– ADandDB
11/17/2016at3:00pm
MFX99S BirdsofaFeather/StumptheTechie! 11/17/2016at3:45pm
![Page 31: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/31.jpg)
31 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Questions?
![Page 32: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/32.jpg)
32 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Thankyou.
Stayconnectedatcommunities.ca.com
![Page 33: Advanced DBA – Performance Tuning for MUF Part I](https://reader036.vdocuments.mx/reader036/viewer/2022062503/58ef2a181a28abb0538b462b/html5/thumbnails/33.jpg)
33 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.
Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.
ForInformationalPurposesOnlyTermsofthisPresentation