Upload
ca-technologies
View
578
Download
13
Embed Size (px)
Citation preview
GettingtheMostoutofYourDB2Investment
RonColmone
Mainframe
CATechnologiesSr PrincipalSoftwareArchitectMFX14E
@RonColmone#CAWorld
2 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
Abstract
ThissessionwillfocusonanewmainframeDB2®toolscustomer
oranon-DB2customerinterestedinDB2solutions fromCA
Technologies andhelping themunderstand thevalue
proposition andthereal-lifeusecases(administration, change
management,performanceoptimization,monitoring, etc.)
whereDB2toolshelpcustomersreduceoperational costs,
reducerisksassociatedwithdowntime/availability,improve
servicelevelsandimproveuserproductivity.
Ron Colmone
CATechnologiesSr Principal SoftwareArchitect
3 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
AgendaCLONINGUSINGCARC/MIGRATOR™FORDB2FORZ/OS
DB2REALTIMESTATS(RTS)FORAUTOMATION
TIPSANDHINTSWITHTHETOOLS
PACKAGECOMPAREINTEGRATIONWITHCHANGECONTROL
DETECTORCOLLECTIONANDREPORTINGPROFILES
MANAGEDB2ANALYTICSACCELERATOR(IDAA)
1
2
3
4
6
7
CARC/QUERY®FORDB2FORZ/OSHDDLLINE COMMAND5
4 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
HowdoIdeliveraflawlessexperienceeverytimeanapplicationtouchesthemainframe?
Intheapplicationeconomyit’sallaboutyourcustomers.Youneedtothinkaboutyourmainframereframed.
Connectmobile-to-mainframeapplications
Createmainframeinfrastructureflexibility
forthefuture
Unleashthepowerofdataonthemainframe
5 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
UseCase:CloningusingRC/Migrator(Merger)
6 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
CARC/Migrator(Merger)
§ MoveorCopyTable/IndexSpacesfromoneSubsystemtoanother(couldbesameSSID)
§ SharedDASDrequiredbetweensubsystems
§ Norequirementtounloadandreloadtables
§ CopytheVSAMdatasetsfromsourcesubsystemtotargetincludingcatalogstatistics
§ Flashcopy supportedtoeliminateoutageonsourcesystem
§ OBIDscanbereservedortranslatedinplaceontargetsystem
CloningDatausingCARC/Migrator– MStrategy
7 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
CARC/Migrator(Merger)
§ CustomerinitiallyusedUnload/LoadMigrationprocesstomovedatafromProductiontoTest
§ SecondphasewastoremoveunnecessaryIndexesfromthemoveprocess
§ ThenconvertedMigrationstrategytouseRC/Merger– largereductioninprocessingtime
§ ImplementedFlashCopy Support(RC/MergerR19feature)
Customercasestudy
8 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
CARC/Migrator(Merger)Customerstatisticsmoving fromstandardUnload/Loadmethod toRC/Merger
Note:Cloningprocessisnowhandling 2-3x
thedataoriginallyprocessed
UsingUnload/LoadProcessing
Removedsomeunnecessaryindexes
Converted toRC/Mergerprocess
ImplementedSNAPSHOTwithRC/Merger
9 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
CARC/Migrator(Merger)CloningDatausingCARC/Migrator– MStrategy
SpecifyRC/MergerMove/CopyAnalysisStrategyOptions.
ReserveOBIDS=YwillremoveneedtotranslateOBIDsunlesscollision.
SourceExecutionofReadOnlyensuresconsistentcopy.
10 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
CARC/Migrator(Merger)CloningDatausingCARC/Migrator– MStrategy
GlobalChangesallowobjectattributestobealteredontargetsystem.
CopySourceTablespaces toTargetTablespaces.
11 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
CARC/Migrator(Merger)CloningDatausingCARC/Migrator– MStrategy
RC/MergerwillallocateTargetVSAMdatasetsifrequired.
12 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
CARC/Migrator(Merger)CloningDatausingCARC/Migrator– MStrategy
CallRC/MergertoReserveOBIDsifavailable.
13 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
UseCase:DB2RealTimeStatistics(RTS)forAutomation
14 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
DB2RealTimeStatsforAutomationDatabaseAnalyzer– ObjectSelectionusingRTS
§ DB2ObjectselectionbasedonRTSusingReorgbestpracticeselectioncriteria(DSNACCOXlike)
15 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
DB2RealTimeStatsforAutomationDatabaseAnalyzer– ObjectSelectionusingRTS
§ ExecutionofPDAExtractProceduretogenerateOnlineReorgsJOBsforselectedTablespacestiedtoObjectSelectionProfile
16 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
DB2RealTimeStatsforAutomationDatabaseAnalyzer– ObjectSelectionusingRTS
§ OnlineReorgJCLgeneratedintotargetlibraryforeachobjectselectedbasedonbestpracticeselectioncriteria.
17 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
UseCase:PackageCompareIntegrationWithChangeControl
18 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
PPAPackageCompareIntegrationWithChangeControlIdentifyingAccessPathChanges
19 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
PPAPackageCompareIntegrationWithChangeControl
§ AddBatchProcessstepstoChangeControlprocessinordertodetectSQLperformanceimpactduetoSQLchanges
§ CurrentExplainofPackagecanbeusedtocreatetheBaseline
§ FutureExplainwithComparisontoCurrentExplaintodetectimpactofSQLchanges
§ OptionscanbespecifiedtosetThresholdvalueoncostcomparison
CostCompareanalysis
20 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
PPAPackageCompareIntegrationWithChangeControl
CVCCOPTScontainsoptionsforCostComparereportincludingthresholds.
AddJCLsteptoChangeControlProcesstoComparebaselinetofutureexplaininorder toanalyzeaccesspathchangesofpackage.
21 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
PPAPackageCompareIntegrationWithChangeControl
PackagecompareofOldversusNewpackagecompareresultedin26improvedSQLstatements.
22 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
PPAPackageCompareIntegrationWithChangeControl
CostofSQLstatementwentfrom60to1(ms)sinceAccesstypechangedfromTS_SCNtoIXDATA.
23 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
PPA– NewR19FeaturetoSimplifyCompareProcess
§ RebindCompareAnalysis(RCA)commandtosimplifycomparecurrent/futureaccesspathsforapackage
§ IssuesCurrentExplainofPackage,followedbyFutureExplain
§ ComparesFuturetoCurrentexplainresultsandgeneratestheRebindCompareAnalysisreport
§ ShowonlySQLstatementswhereaccesspathhaschanged
§ RCAcanbeissuedfrommostreportswhereaPackagelineexists
RebindCompareAnalysisReport
24 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
PPARebindCompareAnalysis(RCA)
RCALinecommandcanbeexecutedonmostreportscontainingaPackagedetailline.Current/FutureexplainsfollowingbyComparewithRebindAnalysisReportforSQLwithAccessPathchanges.
25 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
PPARebindCompareAnalysis(RCA)
RebindCompareAnalysisreportshowsacostimprovementfrom44to1(ms)whenrebindingpackageonDB2V10due toColFnE=R(ColumnFunctionevaluatedatdataretrieval)
26 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
UseCase:DetectorReportingandCollectionProfileUsage
27 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
DetectorReportingandCollectionProfileUsageDefineapplicationgroupsusing reporting profiles
Application profilescanbedefined forcollectionsofPLANs,Packages,CorrID,andUserswhichmakeupanapplication.
In thisexample,RTPPLNMNandRTPREGarethecollectionofPLANnamesthatarespecifiedin theprofile thatmakeoftheApplication RTPAPPL.
28 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
DetectorReportingProfileUsageViewingDB2activitybyApplicationReportingProfile
ViewBy‘Prof ’(option F)providesanaggregateviewofallactivityfortheselectedintervalsbyallPLANsdefined inthespecificapplicationprofiles.
In thisexample,RTPAPPL istheapplication IDassociatedwiththeapplicationprofile thataggregatesthecollectionofPLANSthatmakeup theapplication. Allother activityintheintervalisrepresentedby‘*NoProfile*’.
29 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
DetectorReportingProfileUsageDrilldownintoactivitywithintheselectedApplication
Byselectinganapplicationprofilewithan“S”linecommandon theViewByProfiledisplay,activitycanthenbedisplayedforeachPLAN(orprofiletype)individuallywithin theApplication.
FurtherDrilldowntoPrograms,DynamicSQL,orotherKeyscanthenbeselected.
30 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
UseCase:CARC/QueryHDDLLineCommand
31 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
CARC/QueryHDDLLineCommand
§ HDDLLinecommandonaDB2objectwillgenerateDDLfortheobjectalongwithitsParentandDependentObjects.
GenerateDDLforspecifiedobjectalongwithParentandDependent Objects
32 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
UseCase:ManageDB2AnalyticsAccelerator
33 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
ManageDB2AnalyticsAcceleratorUseCARC/QueryforIDAAadministration
AbilitytoStart/Stop/DisplayandPINGAcceleratorfromRC/QAcceleratorList
34 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
ManageDB2AnalyticsAcceleratorUseCARC/QueryforIDAAadministration
RC/QAcceleratorTablelistreportprovidestableleveladministrationofyourIDAA
35 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
ManageDB2AnalyticsAcceleratorUseCARC/QueryforIDAAadministration
IDAATablelevelfunctionsareavailabletoDefine,Alter,Remove,Load,etc.
36 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
ManageDB2AnalyticsAcceleratorUseCARC/QueryforIDAAadministration
§ LoadDB2TableintoIDAA– RC/QALOADCommand
– CanloadrangeofpartitionsorentireTable
– UsesIDAALoaderutility
– MostcommandssuchasALOADareavailableusingBatchProcessorScripts
37 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
DB2AnalyticsAcceleratorCASYSVIEW®PerformanceManagementforDB2
§ Subsystemstatistics:AcceleratorDetails– SYSACDTL:
AcceleratorDetails– HSACCDTL/
HSUACDTL:AcceleratorServerDetails/Summary
38 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
TipsandHintsWithDB2Tools
39 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
DB2Tools
§ “?”– PrimaryandLinecommands
§ Freeze/Unfreeze/Reportcommands
§ QFILEandQPRINTcommands
§ ALLprimarycommandinCARC/Query
§ EQF– ExtendedQueryFacility– TheSQLLinecommand
§ RC/QueryUserDefinedLinecommands
Tips,HintsandUsefulstuff
40 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
DB2Tools– TipsUsingtheISPFInterfaceUseof“?”foravailablePanelandLineCommands
Enter“?”inPrimaryorLinecommandfieldtogetalistofavailable
commands
41 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
DB2Tools– TipsUsingtheISPFInterfaceFreeze,UnfreezeandReportCommands
§ CreateCustomizableReportformatsusingtheReportCommand
§ Freeze/Unfreezecommandsallowforfixingcolumnstoscrollleft/right
§ QPRINT/QFILEcommandstoprint/savereport
42 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
DB2Tools– TipsUsingtheISPFInterfaceALLPrimarycommandinCARC/Query
The“ALL”primarycommandwillpopulateallobjectrowswiththeassociatedLinecommandtoenableaquickmethodofexecutingaspecificcommandforallobject.Linecommandoptionscanthenbeappliedtoallobjects.
43 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
DB2Tools– TipsUsingtheISPFInterfaceEQF– ExtendedQueryFacility
Anyscreenthatcontainsa‘Where=>’fieldcaninvoketheEQFSQLQueryEditor.
Y– CreateorUpdateEQFN– Don’tinvokeEQFS– ExecuteExtendedQuery
44 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
DB2Tools– TipsUsingtheISPFInterfaceEQF– ExtendedQueryFacility
Additional PredicatevaluesandORDERBYcolumnscanbeaddedtothebasequerybeingexecutedwithintheDB2Tools interface.
45 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
DB2Tools– TipsUsingtheISPFInterfaceCARC/Query– UserDefinedcommands
§ UserdefinedRC/QuerycommandsaredefinedviaUSALINEandidentifytheObjecttypetheyareavailabletobeusedon.
§ UsercommandscanbewritteninREXXorasacompiledprogramandLINKEDintothePTLLINELoadModule
USMLINE1 'USER-DEFINED LINE COMMANDS' USMLINE2 LISTCAT,(TS,IX,T,I), *
'IDCAMS Listcat of tablespace/indexspace' USMLINE2 FLDSTAT,(C), *
'Most frequent index column values' USMLINE2 EX,(T,V,C,S,U,P,I,A,VC,SG,DB,TS,BP,DR,CL,PK,DT,R,RI, *
CD,SQ,H,U,SY,L,SC,TG,AC,PM), *'Execute Clist or REXX Exec '
USMLINE2 TESTEX1,(T,V,C,S,U,P,I,A,VC,DT), *'SAMPLE REXX EXEC ',TYPE=R
46 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
DB2Tools– TipsUsingtheISPFInterfaceCARC/Query– UserDefinedcommands
AvailableUserdefinedcommandsforspecifiedDB2ObjectTypearelistedinthePanelwhenenteringa‘?’ Linecommand.
CommandcanbeSelectedorenteredasLinecommand.
SampleREXXcommandisprovided asexample.
47 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
ParticipateinCA’sDB2/IMSManagementCommunity!!communities.ca.com/community/ca-database-management-for-db2-and-ims
48 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
RecommendedSessionsSESSION# TITLE DATE/TIME
MFX04E What'sNewwithDB2Solutions fromCATechnologies—Administration, Performance,Recovery&Analytics
1/17/2015 at11:00amLocation:BreakersH
MFX06S CA'sStrategyandVision forMainframeDataManagementandAnalytics
1/18/2015 at1:00pmLocation:BreakersI
MFX07EPlaceyourvote:Addressing newerMainframeDatabaseManagementNeeds- DataGovernance,AnalyticsandAutonomics, BigDataandothers
1/17/2015 at9:00pmLocation:BreakersH
MFX14E GettingtheMostoutofYourDB2Investment 1/17/2015 at10:00amLocation:BreakersH
MFT05S BigIron+BigData=BIGDEAL!Unlock ThePowerofYourMainframeData
1/18/2015 at2:00pmLocation:MainframeTheater
MFX15S PredictingWhenYourApplicationsWillGoOfftheRails!ManagingDB2Application PerformanceusingAnalytics
1/18/2015 at4:30pmLocation:BreakersI
MFT12T It'sNotaDream—ConquerChaos forYourDB2®forz/OS®OptimizationNightmares
1/18/2015 at3:00pmLocation:TechTalk6
49 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
MustSeeDemos
MaximizeYourDB2ToolsInvestment
DB2Tools
MainframeAreaStation:MNFSE003
UnleashthePowerof
MainframeData
vStorm ConnectDataStreamingforBigData
MainframeAreaStation:MNFSE001
MaximizeYourMainframe
DatabaseValue
CAIDMS/CADatacom
MainframeAreaStation:MNFSE002
PerformanceAnalyticsforDB2
DB2Analytics
MainframeAreaStation:MNFSE004
50 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
FollowOnConversationsAt…
SmartBarDB2Toolsand
PerformanceAnalytics
MainframeAreaonExpoFloor
TechTalksDB2Toolsand
PerformanceAnalytics
MainframeAreaonExpoFloor
51 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
ForInformationalPurposesOnlytermsofthispresentationCopyright©2015CA.Allrightsreserved.Alltrademarksreferencedhereinbelongtotheirrespectivecompanies.ThepresentationprovidedatCAWorld2015isintended forinformationpurposesonlyanddoesnotformanytypeofwarranty.Someofthespecificslideswithcustomerreferencesrelatetocustomer'sspecificuseandexperienceofCAproductsandsolutionssoactualresultsmayvary.
CertaininformationinthispresentationmayoutlineCA’sgeneralproductdirection.Thispresentationshallnot serveto(i)affecttherightsand/orobligationsofCAoritslicenseesunderanyexistingorfuturelicenseagreementor servicesagreementrelatingtoanyCAsoftwareproduct;or(ii)amendanyproductdocumentationorspecificationsforanyCAsoftwareproduct.Thispresentationis basedoncurrentinformationandresourceallocationsasofNovember18,2015,andissubjecttochangeorwithdrawalbyCAatanytimewithoutnotice.Thedevelopment,releaseandtimingofanyfeaturesorfunctionalitydescribedinthispresentationremainat CA’ssolediscretion.
Notwithstandinganythinginthispresentationtothecontrary,upon thegeneralavailabilityofanyfutureCAproduct release referencedinthispresentation,CAmaymakesuchreleaseavailabletonewlicenseesintheformofaregularlyscheduledmajorproduct release.SuchreleasemaybemadeavailabletolicenseesoftheproductwhoareactivesubscriberstoCAmaintenanceandsupport,ona whenandif-availablebasis.Theinformationinthispresentationisnotdeemedtobeincorporatedintoanycontract.
52 ©2015CA.ALLRIGHTSRESERVED.@CAWORLD #CAWORLD
Q&A