1, we first check the occupancy of table space, use sql as follows:
the SELECT Upper (f.tablespace_name) "table space", d.tot_grootte_mb "table space (M)", d.tot_grootte_mb - f.total_bytes "used space (M)", the TO_CHAR ( round ((d.tot_grootte_mb - f.total_bytes) / d.tot_grootte_mb * 100 , 2 ), ' 990.99 ' ) "use than", f.total_bytes "free space (M)", f.max_bytes "maximum block (M)" from ( SELECT tablespace_name, round(sum(bytes) / (1024 * 1024), 2) total_bytes, round(max(bytes) / (1024 * 1024), 2) max_bytes from sys.dba_free_space group by tablespace_name) f, (select dd.tablespace_name, round(sum(dd.bytes) / (1024 * 1024), 2) tot_grootte_mb from sys.dba_data_files dd group by dd.tablespace_name) d where d.tablespace_name = f.tablespace_name order by 4 desc;
2, the table space query data path using sql follows:
select t.* from sys.dba_data_files t where t.tablespace_name ='PACS31';