Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

CA IDMS Performance and Tuning

1,055 views

Published on

CA IDMS Performance and Tuning
MFX69E

Published in: Technology
  • Be the first to comment

CA IDMS Performance and Tuning

  1. 1. 1 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD World® ’16 CA IDMS™ Performance and Tuning John Siraco, Director, Software Engineering CA Technologies MFX69E MAINFRAME AND WORKLOAD AUTOMATION
  2. 2. 2 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Abstract After completing this course you will be able to identify the components within an IDMS system, identify and take corrective actions to deal with performance issues. You will also be familiar with the tools available for monitoring and tuning as well as develop monitoring procedures. John Siraco CA Technologies Director, Software Engineering
  3. 3. 3 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Agenda IDENTIFY THE COMPONENTS WITHIN AN IDMS CENTRAL VERSION DEAL WITH PERFORMANCE ISSUES TAKE CORRECTIVE ACTIONS IDENTIFY AVAILABLE TOOLS FOR MONITORING AND TUNING IDENTIFY POTENTIAL SCARCE RESOURCES ESTABLISH MONITORING PROCEDURES 1 2 3 4 5 6
  4. 4. 4 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Functions of Monitoring and Tuning § System monitoring is the process of measuring system performance and resource consumption § System tuning should be undertaken only when: – System monitoring indicates that performance goals are not being met – A change in the system workload for existing applications is anticipated – A change to the total system workload is anticipated – Hardware modifications are being introduced
  5. 5. 5 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Steps in the Monitoring and Tuning Process 1. Identify the components within an IDMS Central Version 2. Deal with Performance Issues 3. Identify the available tools for Monitoring and Tuning 4. Identify potential scarce resources 5. Establish monitoring procedures 6. Take corrective action
  6. 6. Identify the Components within an IDMS Central Version
  7. 7. 7 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Components within an IDMS Central Version § An IDMS Central Version (“Region” / “DC/UCF System”) consists of: – System-related entities – Database-related entities
  8. 8. 8 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System-Related Entities § Startup Module and IDMS Nucleus Modules § Storage Pools § Program Pools § Storage for maintaining (database) lock related information § System Areas (Log – Scratch – Queue) § Data Communication (DC) Components: – Line Drivers – Communications Lines with Logical and Physical terminals
  9. 9. 9 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System-Related Entities Continued § System Run Unit tasks § External Run Unit tasks § User Tasks (applications)
  10. 10. 10 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database-Related Entities § Dictionaries and Databases § Database Buffers § Journals
  11. 11. Deal with Performance Issues
  12. 12. 12 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Types of Performance Issues Within an IDMS Central Version, two types of performance issues can arise: § System Performance issues § Database Performance issues
  13. 13. 13 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Introduction to System Performance Issues § Identify critical resources that affect system performance § Identify factors that control and limit the availability of those resources
  14. 14. 14 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Storage Pools § Storage Pools are found – Below the line / 24-bit storage / nonXA storage (numbers 0 – 127) – Above the line / 31-bit storage / XA storage (numbers 128 – 255) § Two types of storage – SYSTEM type: System, Terminal, Database – USER type: User, User Kept, Shared, Shared Kept § Storage Pools 0 and 255 are required § Storage Pool 255 contains SYSTEM type storage only § Storage Pool 0 contains SYSTEM type and eventually other types
  15. 15. 15 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Storage Pools Continued § Defined in SYSGEN § Storage pools 0 and 255 defined in SYSTEM statement: – ADD SYSTEM nnn STORAGE POOL XA STORAGE POOL
  16. 16. 16 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Storage Pools Continued § Other storage pools that are defined in individual statements: – Below the line: § ADD STORAGE POOL nn (01 <= nn <= 127) – Above the line: § ADD XA STORAGE POOL nn (128 <= nn <= 254)
  17. 17. 17 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Storage Pools Continued § If a request (Get Storage) for XA storage is done, but: – No XA storage pool for that type exists, or – XA storage pool for that type exists, but no space is available in it, then – Storage is allocated out of: § a nonXA pool which contains that type, or § If not existing, out of storage pool 0 § This applies for a nonXA storage request too
  18. 18. 18 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Storage Pools Continued § Define extra pools to separate SYSTEM from USER storage. (required for Storage Protection) § Option flag 193 can be used to reduce CPU usage
  19. 19. 19 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Storage Pools Continued § Example of SYSGEN definition statements:
  20. 20. 20 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Storage Pools Continued § Short on Storage (SOS) Conditions can have a major impact on performance. Two types can occur: – Short on storage condition (condition 0) – Storage not available condition (condition 1) § Message DC015007 is written to the Operator Console:
  21. 21. 21 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Storage Pools Continued § In case of Short On Storage conditions – Determine whether needless or excessive storage allocations are made – Use Storage Limits to limit storage utilization per task – If a non-XA storage pool is SOS, check for tasks with LOC=BELOW and if possible, change into LOC=ANY – If an XA storage pool is SOS, may need to increase that pool – Eventually reduce MAXTASKS
  22. 22. 22 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Storage Pools Continued § Monitor Storage utilization with: – DCMT DIS ALL STORAGE POOLS § Second pool 255 contains runtime DMCL, and A non-zero value in Times SOS is a red flag
  23. 23. 23 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Storage Pools Continued § DCMT DIS ACTIVE STORAGE
  24. 24. 24 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Storage Pools Continued § OPER WATCH SP A non-zero value is a red flag
  25. 25. 25 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Storage for Database Locks § Short on storage often is caused by lock overflow § At startup, storage for database locks is preallocated in a kind of “storage pool” outside of the “numbered” storage pools § Size is based on the SYSLOCKS parameter (SYSGEN, SYSTEM statement)
  26. 26. 26 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Storage for Database Locks § In case of lock overflow, database locks “overflow” in storage pool 255, which increases the possibility for SOS conditions § Lock overflow can degrade system performance § Most often caused by long running programs without COMMITs (batch programs running in Central Mode)
  27. 27. 27 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Storage for Database Locks Continued § Monitor Locking storage with: – The LOCKMON task (STATUS command) Non-zero overflow values are a red flag
  28. 28. 28 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Storage for Database Locks Continued § DCMT DISPLAY LOCK STATISTICS
  29. 29. 29 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Program Pools § Area of storage that is used to load programs that must be executed within the Central Version: – CA ADS dialogs – Maps – Subschemas – Edit/Code Tables – Access Modules – Cobol, Assembler, Pl/I programs – Database procedures
  30. 30. 30 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Program Pools Continued § Types of Program Pools: – 24-bit program pool – 24-bit reentrant program pool – 31-bit program pool – 31-bit reentrant program pool § Make Program Pools large enough so that each program is only loaded once
  31. 31. 31 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Program Pools Continued § Example of SYSGEN definition statements:
  32. 32. 32 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Program Pools Continued § Increase size of Program Pools if: – Active programs are overlaid by other programs – You experience waits for program pool space
  33. 33. 33 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Program Pools Continued § Monitor Program Pool utilization with: – DCMT DIS ALL PROGRAM POOLS
  34. 34. 34 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Program Pools Continued § DCMT DIS ACTIVE XA REENTRANT PROGRAM Values > 1 are an indication of a potential pool size problem Check for values > 0
  35. 35. 35 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Program Pools Continued § OPER WATCH PR
  36. 36. 36 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Scratch Area § Contains temporary data that are used by online tasks § Can be allocated on DASD or memory § Recommended to use memory – Size equals to SYSGEN definition or size of scratch area § Defined in SYSGEN – SYSTEM statement “SCRATCH In STOrage is YES” § Can be located in XA or 64-bit storage if available § Significantly improves runtime performance
  37. 37. 37 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Scratch Area Continued § Check scratch allocations with DCMT DISPLAY SCRATCH
  38. 38. 38 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Tasks § A TASK is the basic unit of work within a Central Version § Consists of execution of one or more programs § Maximum number of tasks that are determined by: – MAXIMUM TASKS / MAXIMUM ERUS in SYSTEM statement – Number of predefined SYSTEM RUNUNITS – Number of lines – Deadlock Detection Task – Printer Task – Other miscellaneous system functions
  39. 39. 39 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Tasks Continued § Monitor the number of active tasks with: – DCMT DISPLAY ACTIVE TASK
  40. 40. 40 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Tasks Continued § OPER WATCH ACTIVE TASK
  41. 41. 41 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Tasks Continued § Maximum number of concurrent tasks has a direct influence on system performance § Strategy: – In SYSGEN, specify high MAXIMUM TASK and/or MAXIMUM ERUS – Immediately after startup, use DCMT VARY MAX TASK to set value to a relatively low number – Observe system performance – Use DCMT to increase/decrease MAXTASKS value
  42. 42. 42 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Tasks Continued § Indicators to decrease MAX TASK – System experiences short on resources – PMRM (Real-Time Performance Monitor) shows long/excessive wait times – Frequent deadlocks for a system resource are experienced § Indicators to increase MAX TASK – If the Central Version encounters a MAX TASK condition and no shortage on resources nor long wait times are experienced
  43. 43. 43 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Tasks Continued § Use DCMT DISPLAY STATISTICS SYSTEM to check MAX TASK
  44. 44. 44 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues System Run Units § Are predefined run units to provide standard services for: – Signon processing – Message processing – Program Loading processing – Queue processing – Security processing § Defined in SYSGEN (SYSTEM statement, via RUNUNITS FOR xxx clauses)
  45. 45. 45 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues System Run Units § Started during startup processing § Remain active until shutdown
  46. 46. 46 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues System Run Units Continued § Monitor system run units with: – DCMT DISPLAY RUNUNIT
  47. 47. 47 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues System Run Units Continued § PMRM – System Run Unit Summary
  48. 48. 48 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues System Run Units Continued § Adjusting the number of predefined run units can improve system performance § Considerations: – Insufficient predefined run units causes overflow run units – Each overflow run unit causes extra overhead
  49. 49. 49 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues External Run Units § Online task that is initiated within a Central Version to service database requests from an external user session (ERUs) § Originates from: – A batch application – Another Central Version – Another TP monitor such as CICS
  50. 50. 50 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues External Run Units § Can have following runtime characteristics: – Limits for I/Os, record locks, storage – Inactive and external wait times – Dispatch priority – Area acquisition threshold and retry counts
  51. 51. 51 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues External Run Units Continued § Needs to have a corresponding TASK definition to apply these characteristics § If no task is found, RHDCNP3S is used
  52. 52. 52 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Resource Management § Fine-tuning how a Central Version controls resources can improve task execution § Task resources are managed by: – Resource control elements (RCEs) – Resource link elements (RLEs) – Deadlock prevention elements (DPEs) § If TIMES THRESHOLD EXCEEDED is high, improve performance by allocating more of the indicated elements
  53. 53. 53 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Resource Management Continued § DCMT DISPLAY STATISTICS SYSTEM
  54. 54. 54 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Resource Management – Deadlock Detection § A deadlock is an unresolvable contention for a resource § A resource is either a: • System resource • Database resource
  55. 55. 55 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Resource Management – Deadlock Detection § Detected by the deadlock detector (RHDCDEAD) § DEADLOCK DETECTION INTERVAL defines the frequency with which the system checks for deadlocks § Option flag 189 can be used to specify a subsecond interval
  56. 56. 56 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Resource Management – Deadlock Detection Continued § Check this interval with: – DCMT DISPLAY DEADLOCK – The interval is expressed in seconds
  57. 57. 57 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Resource Management – Limits § Resource limits specify the maximum amount of specific resources a given task can use at runtime § Resources that can be limited per task are: – CALL (number of service calls) – DBIO (number of I/Os) – Locks (number of locks) – Storage (size of storage)
  58. 58. 58 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Resource Management – Limits § Limits can be defined at SYSTEM level for Online and/or ERUS tasks (global) and/or TASK level (individual)
  59. 59. 59 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Resource Management – Limits Continued § Monitor global limits with: – DCMT DISPLAY LIMIT
  60. 60. 60 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Resource Management – Limits Continued § Monitor individual limits with: – DCMT DISPLAY TASK taskcode
  61. 61. 61 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Abend Detection and Timed Functions § System performance can be improved if abended tasks, looping tasks and other abnormal processing conditions are detected promptly § The sooner detected, the sooner resources that are held by these tasks can be freed and made available for other tasks
  62. 62. 62 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Abend Detection and Timed Functions § Following parameters and timers can be defined in SYSGEN, SYSTEM statement: – CHKUSER tasks – DEADLOCK DETECTION INTERVAL – EXTERNAL WAIT – INACTIVE INTERVAL – RESOURCE TIMEOUT INTERVAL – RUNAWAY INTERVAL – TICKER INTERVAL
  63. 63. 63 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Abend Detection and Timed Functions Continued § Ticker Interval is the most important one because it specifies how often a Central Version checks for occurrences of timer- related events (default is 1 second) § If the Ticker Interval is set to 60 then Deadlock Detection runs at 60 seconds, set time start task can not start a task in less then 60 seconds. Many implications.
  64. 64. 64 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Multitasking § Running a Central Version in multitasking can be considered if: – Lpar has free CPU cycles – Lpar consists of multiple processors § Easy to activate – MT=Y, SUBT=n and MTQDEPTH=n parameters in PARM string of EXEC card
  65. 65. 65 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Multitasking § Increased throughput and reduced response time § The cost is a CPU increase that varies from site to site
  66. 66. 66 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Multitasking Continued § Monitor Multitasking with following DCMT commands: – DCMT DISPLAY SUBTASK – DCMT DISPLAY SUBTASK EFFECTIVENESS – DCMT DISPLAY MPMODE – DCMT DISPLAY MT QUEUE DEPTH
  67. 67. 67 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Multitasking Continued § DCMT DISPLAY SUBTASK
  68. 68. 68 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Multitasking Continued § DCMT DISPLAY SUBTASK EFFECTIVENESS
  69. 69. 69 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues zIIP Exploitation § An IDMS Central Version can exploit zIIP processors on the z9 series and above for the z/OS operating system § Enables offloading computing cycles to zIIPs, thereby increasing overall CPU throughput at lower operational costs
  70. 70. 70 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues zIIP Exploitation § Apply PTFs RO63129 (18.0) and RO63736 (18.5) § Most CA IDMS system code is eligible to run on zIIP
  71. 71. 71 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues zIIP Exploitation Continued § zIIP support is implemented as follows: – z/OS software feature HBB7709 is required to use zIIP – Add ZIIP=Y as startup parameter in Central Version startup jcl
  72. 72. 72 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues zIIP Exploitation Continued § Following rules for load modules need to be met: – Startup module (RHDCOMVS) must be in an authorized STEPLIB library – CA IDMS Nucleus modules (including all line drivers and service drivers) must be in an authorized library in the CDMSLIB concatenation – The IBM language library (CEE.SCEERUN) must be authorized if included in CDMSLIB concatenation – z/OS Callable Services library (SYS1.CSSLIB) must be in linklist or must be authorized if in the STEPLIB concatenation
  73. 73. 73 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues zIIP Exploitation Continued § Check if Central Version runs with zIIP with DCPROFIL task
  74. 74. 74 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues zIIP Exploitation Continued § Monitor the CPU time offloaded to zIIP with: – DCMT DISPLAY SUBTASK EFFECTIVENESS
  75. 75. 75 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Exception Response § Reduce terminal I/O overhead by assigning VTAM Exception response protocol to certain tasks or lines § Reduces CPU time because terminals are not required to respond with completion status § Defined in the LINE and TASK definitions in SYSGEN
  76. 76. 76 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD System Performance Issues Operating System Recommendations § For optimum performance, an IDMS Central Version should always be run non-swappable § Award an IDMS Central Version the highest reasonable dispatching priority § Avoid that the operating system would need to do paging
  77. 77. 77 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Introduction to Database Performance Issues § Identify the major types of resources bottlenecks that are related to accessing a database that affects system performance and perform environmental tuning § Pro-active tuning starts with database and application design § Poor performance can be caused by: – Excessive I/O activity – Too much work being required (CPU) – Resource Contention
  78. 78. 78 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Information Gathering § What applications are involved? – Online applications – Batch programs running in Central Mode § How do they access the database? – Area sweeps – Random access – Walking chains – Index processing – Retrieval or Update
  79. 79. 79 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Information Gathering Continued § The DBMS collects a number of statistics on a run unit or SQL transaction level § Are categorized as basic and extended statistics – Basic statistics
  80. 80. 80 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Information Gathering Continued § Extended statistics
  81. 81. 81 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Information Gathering Continued § Database Statistics are accumulated on run unit level § Can be accessed through: – JREPORTS – ACCEPT STATISTICS DML / GET STATISTICS SQL commands – SREPORTS – PMARPTs – DCMT DISPLAY TRANSACTION
  82. 82. 82 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Information Gathering Continued § Fields in Database Statistics to watch: – PAGES READ – PAGES WRITTEN – PAGES REQUESTED – OVERFLOW – NO OVERFLOW – RECORDS REQUESTED – RECORDS CURRENT
  83. 83. 83 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Information Gathering Continued § Often used “ratios” based on database statistics: – PAGES-REQUESTED / PAGES-READ – RECORDS-REQUESTED / PAGES-READ – RECORDS-REQUESTED / RECORDS-CURRENT – NO OVERFLOW / (OVERFLOW + NO OVERFLOW)
  84. 84. 84 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Information Gathering Continued § DCMT DISPLAY TRANSACTION
  85. 85. 85 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Information Gathering Continued § JREPORT8 for same transaction/run-unit
  86. 86. 86 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Excessive I/O Activity § Overall performance can degrade due to excessive I/O – On Database files (Database I/O) – On Journal files (Journal I/O)
  87. 87. 87 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Database I/O § Factors influencing Database I/O are: – Number of Pages accessed § Database Pages over 70% full § Calc and Via overflow § Fragmentation of compressed/variable length records § Index levels/orphans increasing § Increase of logically deleted and/or relocated records – Buffer contention – Use of Prefetch – Use of File Caching – DASD characteristics and Data Set Placement
  88. 88. 88 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Database I/O Continued § Tools to monitor Database conditions: – PRINT SPACE utility (runs in batch and online) – PRINT INDEX utility (runs in batch and online) – IDMSDBAN utility (batch only)
  89. 89. 89 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Database I/O Continued § PRINT SPACE utility
  90. 90. 90 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Database I/O Continued § PRINT INDEX utility: SUMMARY report
  91. 91. 91 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Database I/O Continued § IDMSDBAN utility: Report 3 – Set Analysis
  92. 92. 92 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Database I/O Continued § IDMSDBAN utility: Report 5 – Set Analysis – Chain Length
  93. 93. 93 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Database I/O Continued § IDMSDBAN utility: Report 5 – Set Analysis – Page Change
  94. 94. 94 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Buffer Contention § Buffer contention can exist if there are fewer buffer pages than database pages mapping to the buffer § Can increase number of I/Os because: – The DBMS must re-use buffer pages – It may force redundant reads and writes
  95. 95. 95 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Buffer Contention § Recommendations to reduce buffer contention – assign frequently used files and sequentially accessed files to separate buffers – Define one large buffer for randomly accessed areas
  96. 96. 96 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Buffer Contention Continued § Monitor Buffer utilization to check: – The buffer utilization ratio – Buffer waits – Which files are accessed most often § By means of: – DCMT DISPLAY STATISTICS BUFFER – Real Time Performance Monitor (PMRM) – JREPORTs 03 – SREPORTs 03 – 07 - 09
  97. 97. 97 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Buffer Utilization Ratio § Is the Number of Pages requested / Number of Pages read § Ratio of 2 or higher means effective buffer § Ratio lower than 2 indicates too few pages in buffer
  98. 98. 98 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Buffer Info Examples § DCMT DISPLAY STATISTICS BUFFER
  99. 99. 99 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Buffer Info Examples Continued § PMRM Buffer I/O Summary
  100. 100. 100 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Buffer Info Examples Continued § PMRM Buffer I/O Summary Continued
  101. 101. 101 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Prefetch § Prefetch (or chained reads): read multiple blocks from disk with a single I/O request § Enabled by default, can be disabled § Within a Central Version: two tracks are read with 1 I/O
  102. 102. 102 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Prefetch § Reduces: – I/Os if nearby pages are also accessed – I/O Waits for benefiting applications § Increases: – Duration of an I/O – Buffer contention
  103. 103. 103 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Prefetch Continued § Impact of Prefetch depends upon buffer size
  104. 104. 104 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Prefetch Continued § Prefetch can be controlled with: – The PREFETCH parameter in SYSIDMS (default is ON) – The PREFETCH option in DCMT VARY DMCL, AREA, FILE, BUFFER § The default prefetch limit of 500 pages can be overridden by: – PREFETCH_BUF SYSIDMS parameter – DCMT VARY BUFFER name PREFETCH limit
  105. 105. 105 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Prefetch Continued § Use DCMT DISPLAY BUFFER to check if prefetch is enabled
  106. 106. 106 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Prefetch Continued § Monitor Prefetch effectiveness with OPER WATCH DB IO
  107. 107. 107 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD 107 Database Performance Issues File Caching § How it works Advantage CA IDMS CV/Local Buffer Cache On a read: – look in cache – if found, move to buffer – if not found, read from file, copy to cache On a write: – copy to cache – write to file
  108. 108. 108 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Data Set Placement § Guidelines to establish a DASD configuration for an IDMS Central Version: – Isolate high-activity datasets as much as possible – Datasets accessed by IDMS Central Versions must be isolated from those accessed by batch jobs – The goal is to achieve path isolation – Online datasets should be isolated by path and should be stored on the fastest devices possible – Place files on Parallel Access Devices (PAV) to allow concurrent I/Os against the same disk unit
  109. 109. 109 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Data Set Placement Continued § Isolate journal files § Do not place CA IDMS files with the following: – Paging, spool, or SYSRES datasets – Heavily used partitioned datasets – Non-CA IDMS VSAM files of catalogs § Isolate the log, scratch, and queue files if heavy CA-ADS development or high OLQ usage occurs § Isolate dictionary areas for development systems
  110. 110. 110 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Journal I/O § Factors influencing performance: – Journal page size – Journal buffer size – Journal transaction level
  111. 111. 111 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Journal I/O - Page Size § If Journal page size is too small – More pages that are needed to hold images – More journal writes issued § If journal page size too large – May waste journal space
  112. 112. 112 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Journal I/O - Page Size § Recommended minimum page size – 2 * largest-record-size (up to 32K) § Monitor ARCHIVE JOURNAL report – Lower page size if most journal blocks near empty – Increase if most journal blocks are full
  113. 113. 113 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Journal I/O - Buffer Size § Multiple journal buffer pages – Enable overlapped filling and writing of journal blocks § Reduced wait times for journaling – May avoid journal I/O during recovery § Faster recovery § Less interference with normal activity
  114. 114. 114 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Journal I/O - Buffer Size § Minimum five pages § Systems with lots of abends…much larger number of pages
  115. 115. 115 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Journal I/O - Buffer SizeContinued § DCMT DISPLAY BUFFER # of buffer waits. If > 0, increase Buffer size # recovery I/Os If large, increase Buffer size
  116. 116. 116 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Journal I/O - Journal Transaction Level § Enables deferring journal write until block is full – Fewer journal blocks written – Fewer journal I/Os – Better journal file utilization § While # of update transaction exceeds journal transaction level – CV defers write of journal block until it fills
  117. 117. 117 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Database Performance Issues Journal I/O - Journal Transaction Level Continued § Journal transaction level should be: – 0 (no deferral occurs) – Greater than 3 – If too large...no benefit § Defined in SYSGEN - SYSTEM statement § Can be changed at runtime with DCMT VARY JOURNAL TRANSACTION LEVEL n § Monitor ARCHIVE JOURNAL report
  118. 118. 118 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD 0 5000 10000 15000 20000 25000 # of Journal Blocks JTL=4 JTL=5 JTL=0 or 10 Journal Block Utilization Database Performance Issues Journal I/O - Journal Transaction Level Continued
  119. 119. Identify the Available Tools for Monitoring and Tuning
  120. 120. 120 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools § Interactive (real-time) tools – DCMT and OPER tasks, Performance Monitor (PMRM, PMAM, PMRM) § Post processing tools
  121. 121. 121 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Continued § CA IDMS tools to aid monitoring and tuning process: – DC/UCF statistics – DC/UCF log messages – DC/UCF journals – Online facilities – Reports – CA IDMS/DB Performance Monitor – CA IDMS/Visual DBA
  122. 122. 122 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools DC/UCF Statistics § System(-wide) statistics - always collected § Task and external request unit statistics - optional § Transaction statistics - optional § CA-ADS dialog statistics - optional § Histograms - optional § User-written statistics - optional
  123. 123. 123 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools System Statistics § System-wide statistics are written to the DC/UCF system log: – Automatically at normal system shutdown – At the statistics interval that is specified in the system generation SYSTEM statement, parameter STATISTICS INTERVAL time – At the statistics interval roll that is specified in the system generation SYSTEM statement, parameter STATISTICS ROLL TIME interval-roll-time FREQUENCY day-frequency – On explicit request with a DCMT WRITE STATISTICS or DCMT WRITE STATISTICS ROLL command
  124. 124. 124 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools System Statistics Continued § Example of System Statistics as found in a PRINT LOG output
  125. 125. 125 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Other Statistics § Task and external request statistics § Transaction statistics § CA-ADS dialog statistics
  126. 126. 126 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Histograms § Histograms track the frequency of specific events § Accumulated in system control blocks at runtime, and written to the DC/UCF Log at the following times: – Normal system shutdown – The statistics interval that is established by the STATISTICS parameter (SYSGEN) – Explicit request with DCMT WRITE STATISTICS
  127. 127. 127 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Histograms § Three types of histograms: – System-wide histograms (always collected) – Task histograms (optional) – Line histograms (optional)
  128. 128. 128 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools User-Written Statistics § Implemented via user exits § Allows to gain control at selected points in the statistics-writing process § Examples: – IDMSSVCX (SVC exit) – Exit 5 (Task termination exit 1) – Exit 9 (System statistics exit) – Exit 15 (VIB statistics exit)
  129. 129. 129 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools DC/UCF Log § DC/UCF Log messages – Useful in detecting abends
  130. 130. 130 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools DC/UCF Log Continued § Example of Task Photo in the DC/UCF after a task abend
  131. 131. 131 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools DC/UCF Log Continued § Example of Task Photo in the DC/UCF after a task abend
  132. 132. 132 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools DC/UCF Log Continued § Example of Task Photo in the DC/UCF after a task abend
  133. 133. 133 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Journals § DC/UCF Journals – Vital component for database recovery – Source of database activity statistics – The archived journals can be used as input for our JREPORTs Central Version Archive Journal Disk Journals Archived Journal Report Tool Jreport
  134. 134. 134 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Journal Reports § Example of Journal Report 1 – Transaction Summary
  135. 135. 135 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Journal Reports Continued § Example of Journal Report 2 – Program Termination statistics
  136. 136. 136 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Journal Reports Continued § Example of Journal Report 4 – Program Summary
  137. 137. 137 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Journal Reports Continued § Example of Journal Report 8 – Formatted dump
  138. 138. 138 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Journal Reports Continued § Example of Journal Report 8 – Formatted dump (part 2)
  139. 139. 139 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Online Facilities § Online Print Log utility (OLP) § Master Terminal facility (DCMT) § Operator facility (OPER) § DC Profile (DCPROFIL) § Look facility (LOOK) § Lock Monitor (LOCKMON) § CA IDMS Performance Monitor (optional)
  140. 140. 140 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Online Facilities Continued § Online Print Log utility (OLP)
  141. 141. 141 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Online Facilities Continued § DCMT command to show all of its sub-commands
  142. 142. 142 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Online Facilities Continued § DCMT HELP SEGMENT command
  143. 143. 143 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Online Facilities Continued § OPER Task
  144. 144. 144 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Online Facilities Continued § OPER Task with WATCH CPU sub-command
  145. 145. 145 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Online Facilities Continued § OPER Task with WATCH CRITICAL RESOURCES sub-command
  146. 146. 146 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Online Facilities Continued § DCPROFIL Task
  147. 147. 147 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Online Facilities Continued § DCPROFIL Task Continued
  148. 148. 148 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Online Facilities Continued § LOOK task
  149. 149. 149 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Online Facilities Continued § LOOK task Continued
  150. 150. 150 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Online Facilities Continued § LOCKMON task
  151. 151. 151 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Online Facilities Continued § LOCKMON task Continued
  152. 152. 152 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Reports § Database Utilities – PRINT SPACE – PRINT INDEX – IDMSDBAN § Database Activity – JREPORTs § System Activity – SREPORTs § CA IDMS Performance Monitor
  153. 153. 153 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Performance Monitor § Overview – Performance Monitor is a performance and tuning tool that you can use to monitor hardware and software resources that are used in an IDMS Central Version § Benefits of using CA IDMS Performance Monitor include: – Ease of use – Windowing facility – Application and database monitoring – Online and batch reporting tools
  154. 154. 154 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Performance Monitor Continued § Perfmon statistics are written to – The DC/UCF log (DDLDCLOG area of the system dictionary) – The SMF job accounting file (z/OS only) § Online components of CA IDMS/Performance Monitor: – The Real-time Monitor – The Interval Monitor – The Application Monitor § Batch components (reports) are added as modules in the SYSDIRL dictionary during installation of the product
  155. 155. 155 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Performance Monitor Continued § The Real-time Monitor initial screen
  156. 156. 156 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Performance Monitor Continued § The Real-time Monitor System Run Unit Summary screen
  157. 157. 157 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Performance Monitor Continued § The Real-time Monitor Active User Task Detail screen
  158. 158. 158 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Performance Monitor Continued § The Real-time Monitor Example of online help facility
  159. 159. 159 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Performance Monitor Continued § The Interval Monitor initial screen
  160. 160. 160 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Performance Monitor Continued § The Interval Monitor Storage Detail screen
  161. 161. 161 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Performance Monitor Continued § The Application Monitor initial screen
  162. 162. 162 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Performance Monitor Continued § The Application Monitor Entity Selection screen
  163. 163. 163 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Performance Monitor Continued § The Application Monitor Entity List screen
  164. 164. 164 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Performance Monitor Continued § The Application Monitor General Stastics screen
  165. 165. 165 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Performance Monitor Continued § The Application Monitor DC Statistics screen
  166. 166. 166 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Performance Monitor Continued § The Application Monitor DB and Wait Statistics screens
  167. 167. 167 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Batch Components of CA IDMS Performance Monitor § Interval Monitor Reports § Application Monitor Reports § Consist of a number of standard CA Culprit modules that are delivered during installation § Can be run using the statistics that are found in – An archived log (if logging to the DC/UCF log) – An extraction from the SMF job account file (using PMSMFEX)
  168. 168. 168 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Batch Components of CA IDMS Performance Monitor Continued § Example of PMIRPT04 – Summary Wait Detail Report
  169. 169. 169 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Batch Components of CA IDMS Performance Monitor Continued § Example of PMIRPT11 – I/O By Area Summary Report
  170. 170. 170 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Batch Components of CA IDMS Performance Monitor Continued § Example of PMIRPT13 – Buffer Summary Report
  171. 171. 171 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Batch Components of CA IDMS Performance Monitor Continued § Example of PMIRPT18 – Storage Pool Summary Report
  172. 172. 172 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Batch Components of CA IDMS Performance Monitor Continued § Example of PMARPT02 – Task Summary Report
  173. 173. 173 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Batch Components of CA IDMS Performance Monitor Continued § Example of PMARPT17 – Database Detail Report
  174. 174. 174 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools Batch Components of CA IDMS Performance Monitor Continued § Example of PMARPT18 – Database Summary Report
  175. 175. 175 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Visual DBA § Overview – Easy to use graphical user interface (GUI) tool for performing: § Database administration and monitoring § System administration and monitoring
  176. 176. 176 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Visual DBA § Benefits of using CA IDMS/Visual DBA include: – Ease of use § No JCL or syntax knowledge required § Contains extensive help system – Reduces the learning curve for a new DBA – Increases the productivity of an experienced DBA § Available to all CA IDMS clients at no charge
  177. 177. 177 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Visual DBA Continued § Uses CA IDMS/Server to communicate with one or more Central Versions § Connections with Central Versions are made based on ODBC Datasources § Allows to connect to multiple Central Versions simultaneously
  178. 178. 178 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Visual DBA Continued § Uses many Windows features such as: – Drill-down and pop-up menus – Tear-out Windows to customize a view – Drag-and-drop and cut-and-paste ability – Tab bar to quickly access a window and others
  179. 179. 179 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Visual DBA Continued § Manages almost all known Central Version entities as objects
  180. 180. 180 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Visual DBA Continued § Initial view after being connected with a Central Version
  181. 181. 181 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Visual DBA Continued § Example of Database Space Monitoring (classic chart)
  182. 182. 182 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Visual DBA Continued § Example of Database Space Monitoring (pie chart)
  183. 183. 183 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Visual DBA Continued § Example of Database Buffer Monitoring (bar chart)
  184. 184. 184 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Visual DBA Continued § Example of Storage Pool Monitoring (pie chart)
  185. 185. 185 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Monitoring Tools CA IDMS/Visual DBA Continued § Example of Program Pool Monitoring (pie chart)
  186. 186. Identify Potential Scarce Resources
  187. 187. 187 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Identify Potential Scarce Resources § Identify scarce resources – Reduce demand for those resources – Increase the amount of those resources in the system
  188. 188. 188 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Resources § Categories of system resources: – CPU – DASD § Storage space § Access to stored data (I/O) – Memory § Real storage § Virtual storage
  189. 189. 189 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Resources Continued § Database-related resources: – DB-key locks – Area locks – Buffers – Journals
  190. 190. Establish Monitoring Procedures
  191. 191. 191 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Guidelines for Establishing Monitoring Procedures § Three areas of performance monitoring: – Routine monitoring procedures – Monitoring for performance troubleshooting – Application testing and monitoring
  192. 192. 192 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Routine Monitoring Procedures § Operating system statistics § Online monitoring § Shutdown or interval statistics § Journal reports § PRINT SPACE Utility report
  193. 193. 193 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Routine Monitoring Procedures § PRINT SPACE Utility report § PRINT INDEX SUMMARY report § Database Analysis Utility reports (IDMSDBAN) § Performance Monitor reports
  194. 194. 194 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Monitoring for Performance Troubleshooting § OPER W CRIT LOG RCA § DCMT Display STATistics SYSTEM § DCMT Display ACTive TASK § DCMT Display TRansaction § OPER Watch DB § OPER Watch TIme § OLP
  195. 195. 195 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Guidelines for Analyzing CPU Usage Changes § The major areas to be examined are: – Changes to the DC/UCF system configuration – Changes to existing applications – Addition of new applications – DMCL changes – Increase in task abends – Changes to hardware or software environment – Database bottlenecks or increase in other resource contention
  196. 196. 196 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Analyzing DC/UCF System Configuration Changes § The following types of changes are most likely to cause an increase in CPU usage: – Increase in statistics collection – Storage protection – JOURNAL RETRIEVAL – Increase in number of terminals – Increase in MAX ERUS / MAX TASK – Addition of security resources checked – Compression routines (RBBs, LINES, and DBPROCs)
  197. 197. 197 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Analyzing Application Changes 1. Application changes coincidental with increase in CPU usage 2. Frequency with which applications are executed 3. Determine whether the changes involve additional work 4. Continue the examination using application monitoring and tuning techniques
  198. 198. 198 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD New Applications § Identify all new applications whose addition to system coincides with increase in CPU § Examine program statistics § Examine the system-impact testing results § Follow up with application-level monitoring and tuning techniques
  199. 199. 199 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD DMCL Changes § Types of changes most likely to increase CPU usage: – Decrease the number of buffers for heavy-use pool – Assign extra files to existing pool § To tune buffer pools, you can adopt either of the following strategies: – Increase number of buffers within existing pools – Change file to buffer mapping configuration
  200. 200. Take Corrective Actions
  201. 201. 201 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Expanding the Database § Expansion choices: – EXPAND PAGE (increase page size) – EXTEND SPACE (add pages to end of area) – Unloading and reloading (page size and number of pages) § UNLOAD/RELOAD § REORG
  202. 202. 202 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Integrated Indexes § PRINT INDEX with SUMMARY option § Check the Orphan Counts and index levels § TUNE INDEX § MAINTAIN INDEX
  203. 203. 203 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Proactive Performance and Tuning § Stay Current on GENLEVEL – Maintenance level: § Aggregate Maintenance (ended December 2013) § CA Recommended Services (CA RS) § Utilize CA Support Online – Check CA IDMS Product Page – Keyword searches with ‘PERFORMANCE’ ‘CPU‘ ‘STORAGE’ and operating system ids like ‘MVS’ ‘OS’ ‘z/OS’ ‘VSE’ ‘z/VSE’
  204. 204. 204 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Proactive Performance and Tuning § Periodic Monitoring and Tuning Checkups § New Hardware/Op Sys exploitation
  205. 205. 205 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Optional Product Performance Considerations § CA IDMS-DC § CA IDMS SQL OPTION § CA IDMS Server
  206. 206. 206 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS/DC Performance Considerations § VTAM-type lines best options are: – Compacting – Permanent Read Buffers – Exception Protocol – RPL COUNT = 20% of physical terminals + 1 per printer
  207. 207. 207 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS SQL Option Performance Considerations § Single database strategy § Optimizer § NON-SQL access § EXPLAIN facility § UPDATE STATISTICS
  208. 208. 208 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD CA IDMS Server Performance Considerations § ODBC/JDBC API § TCP/IP Versus CAICCI § IDMS/Server r17 provides ODBC Wire protocol for ODBC-type Connections (Improved Performance)
  209. 209. 209 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Reference Materials (all from Release 18.5.00, except when mentioned otherwise) § CA IDMS Database Design Guide § CA IDMS Database Administration Guide § CA IDMS Best Practices Guide § CA IDMS System Operations Guide § CA IDMS System Generation Guide § CA IDMS Utilities Guide
  210. 210. 210 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Reference Materials (all from Release 18.5.00, except when mentioned otherwise) § CA IDMS Server r17 User Guide § CA IDMS Visual DBA Version 18.0.00 User Guide § CA IDMS Performance Monitor Administration Guide § CA IDMS Performance Monitor User Guide
  211. 211. 211 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Course Summary § You should now be able to: – Identify the components within an IDMS Central Version – Deal with performance issues – Identify the available tools for monitoring and tuning – Identify potential scarce resources – Establish monitoring procedures – Take corrective actions
  212. 212. @CAWORLD #CAWORLD © 2016 CA. All RIGHTS RESERVED.212 @CAWORLD #CAWORLD © 2016 CA. All RIGHTS RESERVED. 21 2 Mainframe and Workload Automation For more information on Mainframe and Workload Automation, please visit: http://cainc.to/9GQ2JI
  213. 213. 213 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Recommended Sessions SESSION # TITLE DATE/TIME MFX100S Strategy and Vision for CA IDMS 11/16/2016 at 12:45 pm MFX101S Legacy is not a Dirty Word 11/16/2016 at 1:45 pm MFX102S CA IDMS 19.0 Web Services for Modernization 11/16/2016 at 3:00 pm MFX103S CA IDMS 19.0 SQL Enhancements for Modernization 11/16/2016 at 3:30 pm MFX104S Java Access to CA-IDMS Data at BT (British Telecom) 11/16/2016 at 4:45 pm MFX105S Implementation and Use of Generic VTAM Resources with Parallel SYSPLEX Features (CA and CAXIA) 11/17/2016 at 12:45 pm MFX106S CA IDMS Buffer Tuning 11/17/2016 at 1:45 pm MFX107S M3A Services Monitor, Measure, Manage and Alert 11/17/2016 at 3:00 pm MFX108S Birds of a Feather/Stump the Techie! 11/17/2016 at 3:45 pm
  214. 214. 214 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Must See Demos Demo Name Product X Theater # location Demo Name Services Y Theater # location Demo Name Solution Y Theater # location Demo Name Product X Theater # location
  215. 215. 215 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Questions?
  216. 216. 216 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD Thank you. Stay connected at communities.ca.com
  217. 217. 217 © 2016 CA. ALL RIGHTS RESERVED.@CAWORLD #CAWORLD © 2016 CA. All rights reserved. All trademarks referenced herein belong to their respective companies. The content provided in this CA World 2016 presentation is intended for informational purposes only and does not form any type of warranty. The information provided by a CA partner and/or CA customer has not been reviewed for accuracy by CA. For Informational Purposes Only Terms of this Presentation

×