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: dbms_space incorrect output

Re: dbms_space incorrect output

From: Jared Still <jkstill_at_cybcon.com>
Date: Tue, 03 Sep 2002 13:34:41 -0800
Message-ID: <F001.004C6914.20020903133441@fatcity.com>

Check out note # 116565.1 on MetaLink.

It should clear it up.

Jared

On Saturday 31 August 2002 02:28, kommareddy sreenivasa wrote:
> Hello all,
>
> DB: 8i
> OS: soalris 2.8
>
> why DBMS_SPACE.FREE_BLOCKS is not giving correct
> status:
>
> create table ram1 (a number);
>
> analyze table ram1 compute statistics;
>
> select table_name, blocks,empty_blocks
> from dba_tables
> where table_name = 'RAM1';
>
> TABLE_NAME BLOCKS EMPTY_BLOCKS
>
> RAM1 0 4
>
> Using dbms_space.free_space:
>
> set serveroutput on
> declare
> free number;
> begin
> dbms_space.free_blocks('SYS','RAM1','TABLE',0,free);
> dbms_output.put_line('Free blocks '||free);
> end;
> /
>
> > Free blocks 0
> >
> > PL/SQL procedure successfully completed.
>
> am I missing something ?
>
> regards,
> srinivas
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Finance - Get real-time stock quotes
> http://finance.yahoo.com

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jared Still
  INET: jkstill_at_cybcon.com

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: ListGuru_at_fatcity.com (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).
Received on Tue Sep 03 2002 - 16:34:41 CDT

Original text of this message

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