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

Home -> Community -> Usenet -> c.d.o.server -> Re: freelists and dba_free_space

Re: freelists and dba_free_space

From: Sybrand Bakker <postbus_at_sybrandb.demon.nl>
Date: Wed, 15 Feb 2006 19:59:15 +0100
Message-ID: <4bu6v15ubj5b3gmvjm99pem266i1qi8a66@4ax.com>


On 15 Feb 2006 08:42:28 -0800, "Ben" <balvey_at_comcast.net> wrote:

>So, I won't ever be able to see any of that available space from the
>purge, until that table is analyzed will I?
>

apart from using dbms_space, no.

>I know that analyze is obsolete but until I can get it tested out I
>can't switch to dbms_stats.gather_stats. Currently we are running a
>procedure every weekend dbms_utility.analyze_schema, it starts at 1pm
>on Saturday and runs until around 6 am Monday for a 330Gb schema.
>Should I expect about the same runtime from gather_stats?

No. You can limit the number of tables being analyzed by making sure all tables are set to monitoring. If you run dbms_stats with the 'gather stale' option, it will analyze only those tables which have changed for more than 10 percent. Also dbms_stats supports using multiple cpu's and analyze doesn't.

--
Sybrand Bakker, Senior Oracle DBA
Received on Wed Feb 15 2006 - 12:59:15 CST

Original text of this message

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