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

Schema analysis took much longer on new server

We recently migrated an Oracle 9i database to Oracle 10g. We analyzed the schema and it took 13 hours to complete. But my 9i database just took 4.5 hours. What went wrong?

We have recently migrated an Oracle 9i ( database from Sunfire 4800 to Oracle 10g ( on a new Sunfire e2900 server (two-node RAC), each with eight CPUs and 16GB RAM, which is double the previous configuration. We have analyzed the schema using execute dbms_utility.analyze_schema('ETMS','COMPUTE'); It took 13 hours to complete. But my 9i database just took 4.5 hours. Kindly suggest what went wrong.
In Oracle 10g, use the DBMS_STATS utility instead of the DBMS_UTILITY supplied package. This will help your cause greatly. And then look into letting Oracle automatically determine the sample size to compute statistics with (DBMS_STATS.AUTO_SAMPLE_SIZE). This document describes the DBMS_STATS package in more detail.
This was last published in January 2007

Dig Deeper on Oracle database backup and recovery

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.