Presentation is loading. Please wait.

Presentation is loading. Please wait.

CA IDMS r17.0 Indexing Enhancements January 22, 2009 Dick Weiland Greg Beedy.

Similar presentations


Presentation on theme: "CA IDMS r17.0 Indexing Enhancements January 22, 2009 Dick Weiland Greg Beedy."— Presentation transcript:

1 CA IDMS r17.0 Indexing Enhancements January 22, 2009 Dick Weiland Greg Beedy

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. 2 January 22, Copyright © 2009 CA, Inc. All rights reserved.

3 Topics >Benefits of Release 17.0 indexing enhancements >PRINT INDEX >TUNE INDEX >Summary 3 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 4January 3, 2014 [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 5 January 22, Copyright © 2009 CA, Inc. All rights reserved.

6 PRINT INDEX >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 6 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 7 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 10 Displacement 10 Sort option SORTED SYM DSC Key length 10 Duplicates DBKey Compression No OWNER: SR7 AREA ISPDSMAL.INDEX-AREA2 Low Page (SUB Page size 4276 High page AREA) MEMBER: ISP-RECORD6 Set membership Mandatory Automatic Located VIA index Yes Displt 0Index is Linked AREA ISPDSMAL.AREA-2 Low page Page size 4276 High page January 22, Copyright © 2009 CA, Inc. All rights reserved.

9 PRINT INDEX >Summary report part 2 9 OWNER X'04BD0401' on page Top level SR8 on page utilization80.0% Intermediate Level Nr of SR8s Minimum Nr of pages with SR8s 6 3 Minimum Nr of displaced SR8s 0 0.0% 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 0 0.0% 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 3111 Nr of levels 4 4 Minimum Size of largest SR8 276 Nr of SR8s Minimum Nr of pages with SR8s Minimum Nr of displaced 0 0.0% 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) 11 PRINT INDEX REC1-REC3 SEGMENT ISPDSMAL USING ISPDSUB SUMMARY; SET Name: REC1-REC3 IBC 8 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 4276 High page MEMBER: ISP-RECORD3 Set membership Mandatory Automatic Located VIA index No Index is Linked AREA ISPDSMAL.AREA-2 Low page Page size 4276 High page January 22, Copyright © 2009 CA, Inc. All rights reserved.

12 PRINT INDEX >Summary report part 3 Index overview Nr of owner occurrences 250 Nr of empty owners 5 2.0% Nr of displaced top level SR8s % Nr of SR8s: Total 247 Average 0.9 Highest 3 Owner X'04BAF803' Min. nr of SR8s: Total 245 Average 0.9 Highest 1 Owner X'04BAF201' Nr of levels: Average 0.9 Highest 2 Owner X'04BAF803' Min. nr of levels: Average 0.9 Highest 1 Owner X'04BAF201' Nr of pages: Average 0.9 Highest 3 Owner X'04BAF803' Min. nr of pages: Average 0.9 Highest 1 Owner X'04BAF803 Nr of occurrences with orphans 1 Nr of Orphans: Total 3 0.3% Highest 3 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 | 0 0.0% 2 | % 1 |************************************************ % 0 |* 5 2.0% Distribution of Minimum Index Levels | 0 0.0% 1 |************************************************* % 0 |* 5 2.0% Distribution of Number of SR8s | 0 0.0% 3 | % 2 | 0 0.0% 1 |************************************************ % 0 |* 5 2.0% Distribution of Number of Index Members | 0 0.0% 5 |*** % 4 |***************** % 3 |******************** % 2 |** % 1 |***** % 0 |* 5 2.0% January 22, Copyright © 2009 CA, Inc. All rights reserved. 13

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 14 January 22, Copyright © 2009 CA, Inc. All rights reserved.

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

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

17 TUNE INDEX SR8 H STUART INNIS WEST OWNER SR8 A INNIS FERRO SR8 B CARR WEST SR8 C NESLON ADAMS CARRDAVIS EAST FERRO SR8 DSR8 ESR8 FSR8 G STUART UPTON GREY HALL INNISJONES LONG NELSON STUARTUPTONWESTLONGJONESNESLONHALL INNIS GREYFERRODAVISEASTADAMS1CARRADAMS1 SR8 DB-KEY POINTERS ACCESS VIA SR8 PREFIX WEST SR8 I OWNER Top Level SR8 Relocation 17 January 22, Copyright © 2009 CA, Inc. All rights reserved.

18 TUNE INDEX SR8 H STUART INNIS WEST OWNER SR8 A INNIS FERRO SR8 B CARR WEST SR8 C NESLON CARRFERRO SR8 DSR8 ESR8 FSR8 G STUART UPTON GREY HALL INNISJONES LONG NELSON STUARTUPTONWESTLONGJONESNESLONHALL INNIS GREYFERROCARR SR8 DB-KEY POINTERS ACCESS VIA SR8 PREFIX WEST SR8 I OWNER Rebalance 18 January 22, Copyright © 2009 CA, Inc. All rights reserved.

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

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 ; 20 January 22, Copyright © 2009 CA, Inc. All rights reserved.

21 TUNE INDEX SR8 H STUART INNIS WEST OWNER SR8 A INNIS FERRO SR8 B CARR WEST SR8 C NESLON ADAMS CARRDAVIS EAST FERRO SR8 DSR8 ESR8 FSR8 G STUART UPTON GREY HALL INNISJONES LONG NELSON STUARTUPTONWESTLONGJONESNESLONHALL INNIS GREYFERRODAVISEASTADAMS1CARRADAMS1 SR8 DB-KEY POINTERS ACCESS VIA SR8 PREFIX WEST SR8 I OWNER RESEQUENCE 21 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 24 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 indexs 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 25 January 22, Copyright © 2009 CA, Inc. All rights reserved.

26 BTs Beta Testing : Tune Index BeforeCA IDMS r17 Disp Top SR8s39,4300 # SR8s1,884,7001,862,859 # Levels54 # Orphans January 22, Copyright © 2009 CA, Inc. All rights reserved.

27 For More Information >ca.com/support 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, … 27

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

29 Questions & Answers Thank you


Download ppt "CA IDMS r17.0 Indexing Enhancements January 22, 2009 Dick Weiland Greg Beedy."

Similar presentations


Ads by Google