Ask the Expert

Schema analysis took much longer on new server

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.

    Requires Free Membership to View

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 first published in January 2007

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
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
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: