select sum(bytes)/(1024*1024) as free_space,tablespace_name 
from dba_free_space
group by tablespace_name;

解决方案 »

  1.   

    SELECT tablespace_name, initial_extent, next_extent, min_extents, max_extents, pct_increase,
    min_extlen, status, contents, 
    LOGGING, extent_management, -- Columns not available in v8.0.x 
    allocation_type, -- Remove these columns if running 
    plugged_in--, -- against a v8.0.x database 
    --SEGMENT_SPACE_MANAGEMENT --use only in v9.2.x or later 
    FROM dba_tablespaces 
    ORDER BY tablespace_name;
      

  2.   

    connect internal/oracle
    select * from user_free_space;