Presentation is loading. Please wait.

Presentation is loading. Please wait.

CA IDMS r17.0 Indexing Enhancements

Similar presentations


Presentation on theme: "CA IDMS r17.0 Indexing Enhancements"— Presentation transcript:

1 CA IDMS r17.0 Indexing Enhancements
January 22, 2009 Dick Weiland Greg Beedy Good day. My name is Greg Beedy. Sr. Principal Product Manager, CA IDMS

2 Abstract This presentation will discuss the enhancements made to the PRINT INDEX and TUNE INDEX utility statements for CA IDMS Release The material will cover the new functionality of these utilities, how they impact index usage, and environmental considerations related to their execution. Review abstract. State high-level benefits relating to DBA workload and productivity, availability: better runtime if TUNE index is used (because you can tune the index more frequently b/c do it online), ease of use (online), no downtime (do it while system is running) January 22, Copyright © 2009 CA, Inc. All rights reserved.

3 Topics Benefits of Release 17.0 indexing enhancements PRINT INDEX
TUNE INDEX Summary These are the topics that we’ll cover today … first the challenges r17 indexing enhancements are designed to address and the benefits of these enhancements, then Dick will cover the specifics of PRINT INDEX and TUNE INDEX. Then we’’ll have a summary <do poll> <now over to Dick – on benefits slide> January 22, Copyright © 2009 CA, Inc. All rights reserved.

4 Poll What are your plans for implementing CA IDMS r17?
Already in production Production by April 1, 2009 Production by July 1, 2009 Production by January 1, 2010 Production during 2010 After 2010 No plans March 25, [Enter presentation title in footer] Copyright © 2008 CA

5 Benefits of Release 17.0 Indexing Enhancements
Ability to obtain performance related statistics on a per index basis Provides the DBA with the information needed to proactively tune their environment Cleans up orphans within intermediate level SR8 records Reduces processing overhead within the index Non-orphan related tuning of an index can be performed while the index is online Gives the DBA greater flexibility over when index structures are tuned Reduces database downtime January 22, Copyright © 2009 CA, Inc. All rights reserved.

6 PRINT INDEX REC6-INDEX1 SEGMENT ISPDSMAL USING ISPDSUB SUMMARY;
PRINT INDEX may still be run using either the batch command facility (IDMSBCF) or the online command facility (OCF) The PRINT INDEX utility has been expanded to include reports describing the performance characteristics of an index structure The new reports are invoked using the new SUMMARY parameter of the PRINT INDEX utility statement PRINT INDEX REC6-INDEX1 SEGMENT ISPDSMAL USING ISPDSUB SUMMARY; January 22, Copyright © 2009 CA, Inc. All rights reserved.

7 PRINT INDEX The SUMMARY parameter produces a report summarizing the target index The summary report consists of 3 parts Part 1 (header) provides general information on the index definition Part 2 (main body) provides information on index owner occurrence(s) Part 3 (index overview) provides global statistical information for a user-owned index only A summary report on a system-owned index consists of parts 1 and 2 (the ONLY/DETAILED options are ignored) A summary report for a user-owned index consists of parts 1 and 3 if ONLY (the default) has been specified Specifying DETAILED for a user-owned index causes the summary report to contain parts 1, 2, and 3 January 22, Copyright © 2009 CA, Inc. All rights reserved.

8 PRINT INDEX Summary report part 1
PRINT INDEX REC6-INDEX1 SEGMENT ISPDSMAL USING ISPDSUB SUMMARY; SET Name: REC6-INDEX1 IBC Displacement Sort option SORTED SYM DSC Key length Duplicates DBKey Compression No OWNER: SR7 AREA ISPDSMAL.INDEX-AREA2 Low Page (SUB Page size High page AREA) MEMBER: ISP-RECORD Set membership Mandatory Automatic Located VIA index Yes Displ‘t 0 Index is Linked AREA ISPDSMAL.AREA Low page Page size High page January 22, Copyright © 2009 CA, Inc. All rights reserved.

9 PRINT INDEX Summary report part 2 OWNER X'04BD0401' on page 310532
Top level SR8 on page utilization 80.0% Intermediate Level Nr of SR8s Minimum Nr of pages with SR8s Minimum Nr of displaced SR8s % Nr of entries in use % Nr of Orphans % Total size of all SR8s Bottom Level Nr of SR8s Minimum Nr of pages with SR8s Minimum Nr of displaced SR8s % Nr of entries in use % Nr of Orphans % Total size of all SR8s January 22, Copyright © 2009 CA, Inc. All rights reserved.

10 PRINT INDEX Summary report part 2 (continued) Index occurrence totals
Nr of members Nr of levels Minimum Size of largest SR Nr of SR8s Minimum Nr of pages with SR8s Minimum Nr of displaced % Nr of entries in use % Nr of Orphans % Total size of all SR8s Nr of Buffers versus Estimated IOs for Sequential Bottom Level access January 22, Copyright © 2009 CA, Inc. All rights reserved.

11 PRINT INDEX Summary report part 1 (user-owned index)
PRINT INDEX REC1-REC3 SEGMENT ISPDSMAL USING ISPDSUB SUMMARY; SET Name: REC1-REC3 IBC Displacement 0 Sort option SORTED SYM ASC Key length 14 Duplicates not allowed Compression No OWNER: ISP-RECORD1 AREA ISPDSMAL.AREA-1 Low page Page size High page MEMBER: ISP-RECORD Set membership Mandatory Automatic Located VIA index No Index is Linked AREA ISPDSMAL.AREA-2 Low page Page size High page January 22, Copyright © 2009 CA, Inc. All rights reserved.

12 PRINT INDEX Summary report part 3 Index overview
Nr of owner occurrences Nr of empty owners % Nr of displaced top level SR8s % Nr of SR8s: Total Average Highest Owner X'04BAF803' Min. nr of SR8s: Total Average Highest Owner X'04BAF201' Nr of levels: Average Highest Owner X'04BAF803' Min. nr of levels: Average Highest Owner X'04BAF201' Nr of pages: Average Highest Owner X'04BAF803' Min. nr of pages: Average Highest Owner X'04BAF803’ Nr of occurrences with orphans Nr of Orphans: Total % Highest Owner X'04BAF803' Total size of all SR8s Size of largest SR January 22, Copyright © 2009 CA, Inc. All rights reserved.

13 PRINT INDEX Summary report 3 (continued) Distribution of Index Levels
3+ | % 2 | % 1 |************************************************ % 0 |* % Distribution of Minimum Index Levels 2+ | % 1 |************************************************* % 0 |* % Distribution of Number of SR8s 4+ | % 3 | % 2 | % 1 |************************************************ % 0 |* % Distribution of Number of Index Members 6+ | % 5 |*** % 4 |***************** % 3 |******************** % 2 |** % 1 |***** % 0 |* % January 22, Copyright © 2009 CA, Inc. All rights reserved.

14 TUNE INDEX Adopts orphans at all levels of the index structure
Moves the top level SR8 to its optimal location Optionally rebalances the index structure Optionally resequences the index structure January 22, Copyright © 2009 CA, Inc. All rights reserved.

15 TUNE INDEX Orphan Adoption OWNER SR8 C FERRO WEST SR8 B SR8 A INNIS
CARR FERRO CARR FERRO WEST INNIS January 22, Copyright © 2009 CA, Inc. All rights reserved.

16 TUNE INDEX Orphan Adoption OWNER SR8 C FERRO WEST SR8 B SR8 A INNIS
CARR FERRO CARR FERRO WEST INNIS January 22, Copyright © 2009 CA, Inc. All rights reserved.

17 Top Level SR8 Relocation
TUNE INDEX Top Level SR8 Relocation OWNER OWNER SR8 A INNIS WEST SR8 DB-KEY POINTERS SR8 C INNIS FERRO SR8 B CARR ACCESS VIA SR8 PREFIX NESLON STUART WEST SR8 D SR8 E SR8 F SR8 G SR8 H SR8 I ADAMS1 ADAMS1 CARR DAVIS EAST FERRO GREY HALL INNIS JONES LONG NESLON STUART UPTON WEST ADAMS CARR DAVIS FERRO GREY INNIS JONES NELSON STUART UPTON WEST ADAMS EAST HALL LONG January 22, Copyright © 2009 CA, Inc. All rights reserved.

18 TUNE INDEX Rebalance OWNER OWNER SR8 A INNIS WEST SR8 DB-KEY POINTERS
SR8 C INNIS FERRO SR8 B CARR ACCESS VIA SR8 PREFIX NESLON STUART WEST SR8 D SR8 E SR8 F SR8 G SR8 H SR8 I CARR FERRO GREY HALL INNIS JONES LONG NESLON STUART UPTON WEST CARR FERRO GREY INNIS JONES NELSON STUART UPTON WEST HALL LONG January 22, Copyright © 2009 CA, Inc. All rights reserved.

19 TUNE INDEX Rebalance OWNER OWNER SR8 A WEST SR8 DB-KEY POINTERS SR8 C
JONES WEST SR8 DB-KEY POINTERS SR8 C JONES SR8 B GREY ACCESS VIA SR8 PREFIX STUART WEST SR8 D SR8 E SR8 F SR8 G CARR FERRO GREY HALL INNIS JONES LONG NESLON STUART UPTON WEST CARR GREY HALL JONES LONG STUART UPTON WEST FERRO INNIS NELSON January 22, Copyright © 2009 CA, Inc. All rights reserved.

20 TUNE INDEX When executing a REBALANCE run the TUNE INDEX utility provides syntax to use a reduced IBC and a PAGE RESERVE without requiring a special schema and subschema. TUNE INDEX FOR DBNAME EMPDEMO SUBSCHEMA EMPSS1 SET (EMP-NAME-NDX) REBALANCE YES RESEQUENCE YES TEMPORARY INDEX UTILIZATION IS 8 % TEMPORARY PAGE RESERVE IS 15 ; January 22, Copyright © 2009 CA, Inc. All rights reserved.

21 TUNE INDEX RESEQUENCE OWNER OWNER SR8 A INNIS WEST SR8 DB-KEY POINTERS
SR8 C INNIS FERRO SR8 B CARR ACCESS VIA SR8 PREFIX NESLON STUART WEST SR8 D SR8 E SR8 F SR8 G SR8 H SR8 I ADAMS1 ADAMS1 CARR DAVIS EAST FERRO GREY HALL INNIS JONES LONG NESLON STUART UPTON WEST ADAMS CARR DAVIS FERRO GREY INNIS JONES NELSON STUART UPTON WEST ADAMS EAST HALL LONG January 22, Copyright © 2009 CA, Inc. All rights reserved.

22 TUNE INDEX Summary report for an index prior to a RESEQUENCE run
Nr of Buffers versus Estimated IOs for Sequential Bottom Level access January 22, Copyright © 2009 CA, Inc. All rights reserved.

23 TUNE INDEX Summary report for the same index following a RESEQUENCE run Nr of Buffers versus Estimated IOs for Sequential Bottom Level access January 22, Copyright © 2009 CA, Inc. All rights reserved.

24 TUNE INDEX TUNE INDEX can be run as a batch local job, batch CV job, or internally to the CV (OCF) When tuning is run by a CV, TUNE INDEX tries to minimize its impact on other tasks as follows For record lock conflicts, TUNE INDEX will commit any uncommitted work For area lock conflicts, TUNE INDEX will finish its DB session and start a new session TUNE INDEX will lower its CV dispatching priority by one from the priority that would be normally assigned so that it will have a higher probability of being the task aborted should a deadlock occur TUNE INDEX can recover from a deadlock by restarting the tuning process of the current index occurrence January 22, Copyright © 2009 CA, Inc. All rights reserved.

25 SUMMARY Benefits provided by Release 17.0 changes to the PRINT INDEX and TUNE INDEX utilities Index specific performance reports give the DBA the information needed to proactively tune his database Cleanup of orphans in an index’s intermediate SR8 records reduces processing overhead The ability to tune indexes while the database is online gives the DBA more flexibility when tuning operations are required and reduces database downtime Dick does this slide… then back to Greg January 22, Copyright © 2009 CA, Inc. All rights reserved.

26 BT’s Beta Testing : Tune Index
Before CA IDMS r17 Disp Top SR8s 39,430 # SR8s 1,884,700 1,862,859 # Levels 5 4 # Orphans 3452 Just want to add some a case study - experience gained by Iain Robertson at BT during the beta testing program for CA IDMS r17. These represents the results of those tests – showing the number of displaced top SR8s before TUNE INDEX – about 40 thousand, and after TUNE INDEX… 0. The number or SR8s decreased slightly and the # of levels went from 5 to 4 and the number of orphans went from about 3500 to 0. * These tests were Jobs were run in batch against CV, using a copy of a production area – so they represent production type data. * I tried all permutations of the options. Best results were with either Rebalance Yes, Resequence Yes, or both, which drastically reduced the number of SR8s. Even with Rebalance & Resequence No, all orphans got adopted. Didn't experiment with the IBC values. The results compared very favourably with our home written index tuner, which simply adopts bottom level orphans. January 22, Copyright © 2009 CA, Inc. All rights reserved.

27 For More Information ca.com/support ca.com/idms Download Center
Product: installation files Documentation/manuals CA IDMS support home page CA IDMS roadmap, recorded webcasts, tech documents, … ca.com/idms CA IDMS r17 Product Brief, success stories, press releases, analyst reports, event announcements, … (Old ESD files will be on some other server). For more information on IDMS and on IDMS r17, please see these sites. First on ca.com/IDMS, today we are posting a brand new IDMS r17 product brief, which has a large section on the topics we discussed today, WHATS NEW in r17. ca.com/idms will also have the link to our press release on Thursday, plus analyst reports, white papers, and is one of the places where we announce events like webcasts. Ca.com/support (also support.ca.com) is where you will be able to download IDMS r17 for z/OS when it becomes generally available on Thursday Oct Go to the DOWNLOAD CENTER, select product:installation files or documentation/manuals. This is also the location of the support home page, IDMS roadmap (to be updated soon), recorded webcasts, tech documents and a lot of other useful information.

28 Upcoming Webcasts February 12, 2009 11 AM ET
The zIIP Advantage for CA IDMS Web Services February 24, AM ET CA Endevor/DB for CA IDMS Overview

29 Questions & Answers Thank you
Now operator, open for ???


Download ppt "CA IDMS r17.0 Indexing Enhancements"

Similar presentations


Ads by Google