Gather Statistics for Oracle

Oralce requires that you periodically gather statistics on the queries you are running. The following command will do that for your local schema. It can be run as the schema owner or sysdba


exec dbms_stats.gather_schema_stats(ownname=> '<schema name, upper case>', cascade => true)

This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Spam Protection by WP-SpamFree