reducing tco with datacom compression (presspack)
TRANSCRIPT
World®’16
ReducingTCOwithDatacomCompression(Presspack)KevinShuma,VPProductManagementCATechnologies
MFX94S
MAINFRAMEANDWORKLOADAUTOMATION
2 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
©2016CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.
Thecontentprovidedinthis CAWorld2016presentationisintendedforinformationalpurposesonlyanddoesnotformanytypeofwarranty. The informationprovidedbyaCApartnerand/orCAcustomerhasnotbeenreviewedforaccuracybyCA.
ForInformationalPurposesOnlyTermsofthisPresentation
3 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Abstract
CometothissessiontolearnhowtheCADatacom®PresspackcanreducethetotalcostofownershipforCADatacom®environments.
CADatacom®PresspackisanoptionalcomponentoftheCADatacom®productfamilyandprovideshighperformancecompressionfordatarowsstoredinCADatacom®/DBdatabasetables.
KevinShuma
CATechnologiesVP,ProductManagement
4 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Agenda
WHATARETHEBENEFITS/COSTSOFCOMPRESSION?
NEWONLINECOMPRESSABILITY– TA24
EXAMPLEOFONLINECOMPRESS
BENCHMARKINOURLAB
SUMMARYOFFINDINGS
1
2
3
4
5
5 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Whatarethebenefitsofcompression?
§ Acompresseddatablocktypicallyhassignificantlymorerowswhichmeans– LessblocksonDASDtostorethesamenumberofrows– BetterdatabufferreusewhichreducesIOandimprovesperformance– Lessmemoryrequiredtoplacetablesinmemory(MRDF)– Quickerutilityprocessingforbackupsandloads(lessIO)
WhyshouldIconsidercompression?
6 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Whatarethebenefitsofcompression?
§ Canmakedataless“readable”bynonCADatacom®utilitieslikeTSOBrowse
§ SlowingDASDgrowthandmultipleextentmanagement
SomeotherBenefitsofUsingCompression:
7 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Whatarethecostsofcompression?
§ Requiresadataaccessoutagetoimplement
§ Noteasilyremovedorchanged
§ Hardtoswitchfromonevendortoanother
§ Usesexpensivegeneralpurposeprocessor(GPCPU)instructionstosavecheapDASD
WhyIShouldAvoidUsingCompression
8 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
UsingzIIPforCompression
§ zIIPprocessors– Canbeusedforin-memoryprocessinglikecompression– Canonlybeusedforcodeyouown
§ Cannotbeusedtoprocessimbeddeduser/vendorcode– Example:Non-CAcompressioncodeimbeddedinMUF
§ DatacomcompressionrunsonthezIIPprocessor(s)whilereducingtheIOswhichrunonGeneralPurposeprocessor(s)– EffectivelytradinginexpensivezIIPCPUforexpensiveGPCPU
TippingtheBalanceforUsingCompression
9 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
NewOnlineCompressAbility– TA24
§ Providestheusertheabilitytoalteratable’scompressionalgorithmwithoutinterruptingdataaccess
§ Avoidsacostlydataaccessoutagetoimplementorchangecompression
§ Compression/decompressionactivityrunsinbackgroundinMUF– UtilizeszIIPprocessorsforcompressionprocessing
CapabilitiesWithoutInterruptingUserAccess
10 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
NewOnlineCompressAbility– TA24
§ Fullyrestart-ableacrossfailures(lackofspace,MUForLPAR)– Thepartiallycompresseddataremainsaccessible– Oncethefailureissueisresolved,theOnlineCompresswillbe
restartedandruntocompletion
§ Processcanbestopped(REQABORT)– Allowsusertoreverseorchangecompressionsetting– Newprocesswillruntocompletionandresetallrowstonewselection
FullyRestart-ableandRecoverable
11 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
NewOnlineCompress– DataBlocks
§ Whendecompressingatable– Rowsmaygrowandadditionaldatablockswillbeused
§ Whencompressingatable– Rowswillshrinkmakingmorespaceavailableineachdatablock– Spaceimmediatelyavailableforusebynewrequests
§ Tocompletetheprocessaonlinereorganizationisrecommended– OLREORGREFGROUP=0providesbestresult(DSOP4/5)
§ Mayrequireadataareaextensionifnotenoughemptyblockstogetrolling
DataBlocksin-useWillbeAffected
12 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ExampleofOnlineCompress
§ Sampletablecontaining1millionrows
§ Uncompresseddatarowsfill62Kdatablocks
§ Aftercompression62Kdatablocksstillinusebuteachblockhassignificantfreespace
§ AfterOLREORGREFGROUP=00datablocksaredefragmented
CometoResourceCenterforaLiveDemo
Before62KFullDataBlocks
AfterTA2462KPartiallyData
Blocks
AfterOLREORG24.5KFullDataBlocks
13 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DBUTLTYDATASPReport(BeforeTA24)ShowsDataBlocks,DataBytesandDataRows“IN-USE”
1Mrowsstoredin98%oftheavailablebytesand99%oftheavailabledatablocksinthe5,250trackdataset
62KDataBlocks
14 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
UseDDUPDATEtoUpdateCADatacom®Datadictionary™andTriggerOnlineCompression
Onemillionrowscompressedin2minutes(elapsed)
15 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DBUTLTYDATASPReport(AfterTA24)ShowsDataBytesSignificantlyLess,butDataBlocksandRowstheSame
1Mrowsstoredin39%oftheavailablebytesand99%oftheavailabledatablocksinthe5,250trackdataset
62KPartiallyfullDataBlocks
16 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
UseDBUTLTYOnlineReorganizationTo
Onemillionrowsreorganizedanddefragmentedin5minutes(elapsed)
17 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
DBUTLTYDATASPReport(AfterTA24/OLREORG)ShowsNumberofBlocksin-useDroppedDramatically(Reducedby60%)
Samenumberofrowsstoredin39%ofthebytesand40%ofthedatablocksinthe5,250trackdataset
24.5KFullDataBlocks
18 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
ComparingtheProcessingBefore/AfterTA24+OLREORGSequentialProgramProcessingAll1MRows
Logicalworkisexactlythesame(Requests,LogicalreadsandWrites).
Physicalreadsreducedby64%.
19 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
LabBenchmarkComparingCPU/IOConsumptionREAD1MRowsEach- 10ConsecutiveProcesses
Logicalworkisexactlythesame(Requests,LogicalreadsandWrites).
Smallbufferpool
Largebufferpool
UncompressedDBCompressPresspackWeakPresspackStrongPresspackCustom
UncompressedDBCompressPresspackWeakPresspackStrongPresspackCustom
ReducedElapsed,CPUandIOMuchbetterreductionwithlargebufferpools
20 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
LabBenchmarkComparingCPU/IOConsumptionREAD1MRowsEach- 10ConsecutiveProcesses
Largebufferpoolw/MRDF
UncompressedDBCompressPresspackWeakPresspackStrongPresspackCustom
Logicalworkisexactlythesame(Requests,LogicalreadsandWrites).
ReducedElapsed,CPUandIOBestreductionwithlargebufferpoolsandMRDFcovered
21 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
LabBenchmarkComparingCPU/IOConsumptionUpdate100Kof1MRowsRead- 10ConsecutiveProcesses
Largebufferpool
Largebufferpoolw/MRDF
UncompressedDBCompressPresspackWeakPresspackStrongPresspackCustom
UncompressedDBCompressPresspackWeakPresspackStrongPresspackCustom
Logicalworkisexactlythesame(Requests,LogicalreadsandWrites).
ReducedElapsed,CPUandIOBestreductionwithlargebufferpoolsandMRDFcovered
22 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Smallbuffers
LargeBuffersw/MRDF
CPU/IOConsumptionWithoutazIIP ProcessorREAD1MRowsEach- 10ConsecutiveProcesses
Logicalworkisexactlythesame(Requests,LogicalreadsandWrites).
ReducedIOCPUandElapseddifferencesdependonbufferingBestreductionwithlargebufferpoolsandMRDFcovered
23 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
WhatifThereisa3rd PartyCompression
2
MRDFw/Presspack
MRDFw/3rdpartyJOEPACK Donotuse3rd party
compressionandzIIP(SMPTASKx,x,x,SRB )
24 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
Summary
§ OnlineCompression(TA24)removesseveralofthekeydrawbacksofcompression– Nolongerrequiresadataaccessoutagetoimplement– Canbeeasilyremovedorchanged– Easilyswitchfrom3rd partyvendortoCA
§ Whencompression(Presspack)combinedwithzIIP(SRB)processing,theTCOtipsinfavorofPresspack (CA)compression– UsescheaperzIIP(CPU)instructionsandsavesDASD,IOandmemory
25 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
OneExtraBenefitUncompressedorLightCompressDataisReadable
Uncompressed
DBCompressandPresspackWeak
Readable
26 ©2016CA.ALLRIGHTSRESERVED.@CAWORLD#CAWORLD
OneExtraBenefitStrongandCustomCompressionCanMakeDataUnreadable
PresspackStrong
PresspackCustom
NotReadable
27 ©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
MFX98SUsingCASYSVIEW®tomonitorandmeasureyourCADatacomenvironment– ADandDB
11/17/2016at3:00pm
MFX99S BirdsofaFeather/StumptheTechie! 11/17/2016at3:45pm