Solved

Rebuild all indexes

Posted on 2007-11-27
2
804 Views
Last Modified: 2013-12-06
Is there a way do rebuild all damaged indexes from many databases/tables?
0
Comment
Question by:kps_ee
2 Comments
 
LVL 27

Accepted Solution

by:
tliotta earned 250 total points
ID: 20360373
kps_ee:

One problem with damaged anything is that the damage interferes with determining what needs to be fixed.

An index might include three columns and the damage makes one of the column identifiers unreadable. If the index object cannot describe itself properly, it can be impossible to "rebuild". It could only be "recreated".

In short, it's impossible to answer the question accurately without knowing what types of damage happened.

However, "damage" might refer to access paths that are marked as 'Invalid'. These access paths are marked this way when the system ends abnormally while the members are open. Control over rebuilding these access paths is through the EDTRBDAP (Edit Rebuild Access Paths) command.

The options should be fairly obvious once the command displays its list. Rebuilding can be done for any or all APs during IPL, after IPL or when a program opens the AP. You choose how each one should be handled.

Post back and ask for details on elements that you need more info about.

Tom
0
 

Author Comment

by:kps_ee
ID: 20361220
You are correct the damage i was talking about was invalid access paths. Very helpful command.
Thanks Kleandros.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In a recent article here at Experts Exchange (http://www.experts-exchange.com/articles/18880/PaperPort-14-in-Windows-10-A-First-Look.html), I discussed my nine-month sandbox testing of the Windows 10 Technical Preview, specifically with respect to r…
Windows 7 does not have the best desktop search built in. This is something Windows 7 users have struggled with. You type something in, and your search results don’t always match what you are looking for, or it doesn’t actually work at all. There ar…
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.

911 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now