Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: SHOULD WE ANALYZE 9.2 SYS tables?

RE: SHOULD WE ANALYZE 9.2 SYS tables?

From: Michael Fontana <mfontana_at_verio.net>
Date: Thu, 29 Jul 2004 14:12:31 -0500
Message-ID: <002f01c4759f$ff3108f0$0c0b0a0a@corp.verio.net>


>From Metalink:

"drop the statistics for anything owned by SYS. The data dictionary is optimized for the rules based optimizer and if you put statistics on them and your optimizer mode is choose, it will go to the cost based optimizer, which can cause some serious performance problems in the data dictionary.

>From a privledeged account, you can run this which will give you all the
delete statistics commands. Spool the output to a file and then run it.

SELECT 'ANALYZE TABLE "' || OWNER || '"."' || TABLE_NAME || '" DELETE STATISTICS;'
FROM DBA_TABLES
WHERE OWNER = 'SYS'
;

Please Reference Note 35272.1 for more information as to why you should not analyze the data dictionary tables.

Regards
Tom Villane
Oracle Support Metalink Analyst"

Cheers!

Michael Fontana
Sr. DBA
NTT/Verio

-----Original Message-----
From: oracle-l-bounce_at_freelists.org
[mailto:oracle-l-bounce_at_freelists.org] On Behalf Of Juan Carlos Reyes Pacheco
Sent: Thursday, July 29, 2004 1:42 PM
To: oracle-l_at_freelists.org
Subject: Re: SHOULD WE ANALYZE 9.2 SYS tables?

Hi Larry
SYS schema don't need be analyzed, using tom kyte's word "it's magical" and must not be analyzed if you got statistics in sys, you can ruin it's performance. sys schema don't have to be touched, this means don't create user tables in sys, etc.    

Juan Carlos Reyes Pacheco
OCP
-------Original Message-------  

From: oracle-l_at_freelists.org
Date: 07/29/04 14:25:41
To: 'oracle-l_at_freelists.org'
Subject: SHOULD WE ANALYZE 9.2 SYS tables?  

I had a question about a problem with 9.2 V$ views where a RULE hint helped V$LOCK tremendously.  

Someone suggested Analyzing the SYS tables. IS everyone doing that now or is there considerable reticence? I didn't get a much current information when I searched the FAQ or Google  

Has anyone experienced a downside?  

Is anyone doing some of the tables but not all?  

Thanks
Larry Wolfson      



The information contained in this communication is confidential, is intended only for the use of the recipient named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication is strictly prohibited. If you have received this communication in error, please re-send this communication to the sender and delete the original message or any copy of it from your computer system. Thank You.  

Please see the official ORACLE-L FAQ: http://www.orafaq.com

To unsubscribe send email to: oracle-l-request_at_freelists.org put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request_at_freelists.org put
'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request_at_freelists.org
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
Received on Thu Jul 29 2004 - 14:10:44 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US