Solved

Rebuild all indexes

Posted on 2007-11-27
2
805 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

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

Occasionally Windows/Microsoft Updates will fail to update. We have found a code that will delete all temporary files and re-register all dll's related to Windows/Microsoft Updates! This works 99% of the time to get the updates working again! The…
I use more than 1 computer in my office for various reasons. Multiple keyboards and mice take up more than just extra space, they make working a little more complicated. Using one mouse and keyboard for all of my computers makes life easier. This co…
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.

816 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

11 Experts available now in Live!

Get 1:1 Help Now