Solved

Rebuild all indexes

Posted on 2007-11-27
2
807 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
#Citrix #POC #XenDesktop #vCenter #VMware #ESX
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.

756 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