In general, you don't need to know the rowcounts
if you know the typical size of a row and the total
space usage for a table/index.  An analyze will
get you these figures as a starting point.

After that, you need only track the object's
high water mark using the dbms_space package
to track growth on a frequent, but low-cost basis.
(there are some samples on my website).



Jonathan Lewis

Host to The Co-Operative Oracle Users' FAQ
http://www.jlcomp.demon.co.uk/faq/ind_faq.html

Author of:
Practical Oracle 8i: Building Efficient Databases
See http://www.jlcomp.demon.co.uk/book_rev.html

For latest news of public appearances
See http://www.jlcomp.demon.co.uk

Screen saver or Life saver: http://www.ud.com
Use spare CPU to assist in cancer research.




-----Original Message-----
To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
Date: 27 August 2001 23:23


|Hi DBA's
|
|Does an Oracle Stored Procedure or function exist that returns the
row count
|by table in each tablespace?
|I've observed that one of our production tablespaces is has only 8%
free
|space. Perhaps it could be fragmented. I'll have to find a script
that can
|provide these statistics. I know I'll need to add another datafile to
the
|tablespace soon.
|However, I'd like to find out which are the active tables in each
tablespace
|and track the row insert growth on a daily basis.
|


-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jonathan Lewis
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to