December 10, 2010
In the interest of interesting quotes, a quote that I found in the “Oracle Tuning the Definitive Reference Second Edition” book on page 988:
“Production DBA’s spend weekends reorganizing their data structures, returning them back into their original, pristine state, in preparation for the return of the end-users on Monday morning.
Rebuilding high-DML indexes in a schedule can be a DBA best practice under certain conditions:
- You can schedule a job to rebuild and index (and address errors) in just a few minutes. Because most DBA’s are salaried professionals, the DBA cost is negligible.
- During a weekly maintenance window when the server sits idle. Because hardware depreciates rapidly, regardless of use, the cost of rebuilding indexes is essentially zero.”
What, if anything, is wrong with the above quote? Please keep in mind that the focus of this blog is on the technical content, and learning from that technical content. Please stay positive in your responses (before answering, first take a look at page 727 to see if we really need to first determine the candidate indexes for a rebuild).
While my review of the book only provides an in-depth technical review of the first 200 pages of the book, this blog article series will dig into some of the pages that were not specifically included in the review.
The point of blog articles like this one is not to insult authors who have spent thousands of hours carefully constructing an accurate and helpful book, but instead to suggest that readers investigate when something stated does not exactly match what one believes to be true. It could be that the author “took a long walk down a short pier”, or that the author is revealing accurate information which simply cannot be found through other resources (and may in the process be directly contradicting information sources you have used in the past). If you do not investigate in such cases, you may lose an important opportunity to learn something that could prove to be extremely valuable.
Other pages found during a Google search of the phrase: