Solved

Rebuild all indexes

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

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…
As the title indicates, I have done this before. It chills me everytime I update the OS on my phone, (http://www.experts-exchange.com/articles/18084/Upgrading-to-Android-5-0-Lollipop.html) because one time I did this and I essentially had a bricked …
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
This video demonstrates how to create an example email signature rule for a department in a company using CodeTwo Exchange Rules. The signature will be inserted beneath users' latest emails in conversations and will be displayed in users' Sent Items…

706 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

20 Experts available now in Live!

Get 1:1 Help Now