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: how do you know when to add space to tablesapce?

Re: how do you know when to add space to tablesapce?

From: Daniel A. Morgan <Daniel.Morgan_at_attws.com>
Date: Fri, 22 Jun 2001 09:22:57 -0700
Message-ID: <3B3370E1.9762ABDC@attws.com>

Robert Yeh wrote:

> So you guys do not consider how much space within an allocated segment has
> been used either.
> Like what I said earlier, you might have a large extent with no records in
> it. How do you count for that?

By running analyze and then

SELECT avg_row_len * num_rows / 1000000
FROM dba_tables

and comparing that to the allocated blocks. It isn't exact but it close enough for its purposes.

Daniel A. Morgan Received on Fri Jun 22 2001 - 11:22:57 CDT

Original text of this message

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