Problem solve Get help with specific problems with your technologies, process and projects.

Analyzing stagnant databases

If the database has been sitting around, and no access to it has been granted for over five months, would it still...

need to be analyzed if I return on the sixth month and run query, and it takes forever, and I notice that it has not been analyzed during its stagnant time?

If the database has truly been idle (that's what I'm assuming you mean by stagnant) and no activity has occurred during that time, then the statistics should still be current. For example, if you had a "read only" database that was periodically loaded with data, you'd only need to run statistics after the load and not again until the next load. This is because nothing is changing. Statistics need to be generated as data changes (inserts/updates/deletes). If those things are not happening, statistics won't change.

For More Information

This was last published in April 2003

Dig Deeper on Oracle database design and architecture

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.