DBMS_STATS.GATHER_SCHEMA_STATS - Suggestion [message #221129] |
Sat, 24 February 2007 03:01 |
Brayan
Messages: 315 Registered: June 2002
|
Senior Member |
|
|
Hi,
I need suggestion regarding DBMS_STATS.GATHER_SCHEMA_STATS.
DB Version - 9.2
Datawarehouse Environment
DB Size - 300 GB.
First we load the OLTP data then we Transform data. The activity of transforming takes around 2-3 days(not continuous). The frequency of loading is 15 days.
I run the DBMS_STATS.GATHER_SCHEMA_STATS once in a every week. Is it better to gather stats soon after loading OLTP data. Usually I gather stats only after finishng the transformation.
I tried both, but performancewise there is not much difference.
Please suggest..
Brian.
|
|
|
|
Re: DBMS_STATS.GATHER_SCHEMA_STATS - Suggestion [message #221159 is a reply to message #221129] |
Sat, 24 February 2007 09:18 |
|
Mahesh Rajendran
Messages: 10708 Registered: March 2002 Location: oracleDocoVille
|
Senior Member Account Moderator |
|
|
You mean performance of the database?
Collecting statistics does not magically make your database perform better. It will just lay a good/standard base for CBO to do its job as intended. I would isolate the problem and work on it.
|
|
|