Home > Ask the AS/400 Experts > Questions & Answers > Finding duplicate access paths
Ask The iSeries 400 Expert: Questions & Answers
EMAIL THIS

Finding duplicate access paths

Kent Milligan EXPERT RESPONSE FROM: Kent Milligan

Pose a Question
Other iSeries 400 Categories
Meet all iSeries 400 Experts
Become an Expert for this site
>
QUESTION POSED ON: 10 February 2004
How might I go about finding all duplicate access paths on a given file or set of files? Many of these files have over 10-12 keys and 10-30 logicals each, which makes it difficult to do this manually.

>
Yes, that can be difficult process. The good news is that DB2 automatically shares the underlying OS/400 index object across access paths (i.e., logical files or indexes) that have the exact same key fields. So even though logically access paths have been duplicated, physically there's only one copy of the access path object that's being shared across all the duplicates.

If you want to try and graphically display/compare the access path definitions, then you could use the Database Navigator function of iSeries Navigator to draw a picture of the access paths related to a file. Queries can also be run against the system data dictionaries to output a list of the access paths just giving the object name and key fields names. There's an example utility using this approach on the ##DB2 UDB for iSeries Web site|http://www.iseries.ibm.com/db2/indexlist.htm ##

==================================
MORE INFORMATION ON THIS TOPIC
==================================

Search400.com's targeted search engine: Get relevant information on DB2/400.

The Best Web Links: tips, tutorials and more.

Check out this Search400.com Featured Topic: Database issues resolved


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



iSeries Networking - Printing, Remote Access, TCP/IP
HomeNewsTopicsITKnowledge ExchangeTipsBlogsAsk the ExpertsMultimediaWhite PapersProducts
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 1999 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts