33
World ® ’1 6 Advanced DBA – Performance Tuning for MUF Part I Kevin Shuma VP, Product Management CA Technologies MAINFRAME AND WORKLOAD AUTOMATION MFX66EA

Advanced DBA – Performance Tuning for MUF Part I

Embed Size (px)

Citation preview

Page 1: Advanced DBA – Performance Tuning for MUF Part I

World®’16

AdvancedDBA– PerformanceTuningforMUFPartIKevinShumaVP,ProductManagementCATechnologies

MAINFRAMEANDWORKLOADAUTOMATION

MFX66EA

Page 2: Advanced DBA – Performance Tuning for MUF Part I

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

3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Agenda

ITUNEDLASTYEARWHYDOITAGAIN?

WHATDRIVESTCO?

TECHNIQUESTOMEASUREPERFORMANCE

SUMMARY

1

2

3

44

Page 4: Advanced DBA – Performance Tuning for MUF Part I

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

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

6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

ITunedLastYearWhyDoItAgain?

§ DatabaseSoftwarechanges– CADatacomV14.02andv15.0deliveredover50major

enhancementsthatmostlikelywilldirectlyaffecthowyoudatabaseapplicationsrun.

HowoftendoIneedtotune?

It’sreallydifferent

Page 7: Advanced DBA – Performance Tuning for MUF Part I

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

8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

WhatdrivesTCO?

Page 9: Advanced DBA – Performance Tuning for MUF Part I

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

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

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

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

13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

HowtomeasureTCO?(cont’d)

§ Rememberthisgraph?– ItisnotjustCPUbutCPUuseatthe“highperiods”– zIIPdoesnotcounttowardstheseperiods

MeasuringdatabaseactivityasaTCO

Page 14: Advanced DBA – Performance Tuning for MUF Part I

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

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

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

17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Techniquestomeasureperformance

Page 18: Advanced DBA – Performance Tuning for MUF Part I

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

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

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

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

22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

“One-time”performancesnapshot– comparison

Page 23: Advanced DBA – Performance Tuning for MUF Part I

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

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

25 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

SamplesfromAutoCollectusedtomaptopeakperiods

Page 26: Advanced DBA – Performance Tuning for MUF Part I

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

27 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

CASYSVIEWreal-timeperformancemonitors

Page 28: Advanced DBA – Performance Tuning for MUF Part I

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

@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

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

31 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Questions?

Page 32: Advanced DBA – Performance Tuning for MUF Part I

32 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

Thankyou.

Stayconnectedatcommunities.ca.com

Page 33: Advanced DBA – Performance Tuning for MUF Part I

33 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD

©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.

Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.

ForInformationalPurposesOnlyTermsofthisPresentation