Mike Yearwood
Toronto, Ontario, Canada
Hi Mike.
>Maybe we need a new SET command. SET INTEGRITY ON? With SET INTEGRITY ON, would it be reasonable to update the index with the data from the table when there is a mismatch?
I did some testing several years ago and found that trying to detect index errors just aren't worth it. Because there are so many things that can wrong with an index, it isn't possible to detect some types of damage (asking a damaged index to identify problems in itself is like asking the police or politicians to investigate their own bad conduct <g>). Also, even searching for the kinds of errors we can detect takes way longer than simply rebuilding the indexes. So, my rule of thumb is that if you think there's a problem, recreate the indexes.
Doug
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only