1. 程式人生 > >怎麼檢視oracle資料庫資料量大小?

怎麼檢視oracle資料庫資料量大小?

                 1、檢視所有表空間及表空間大小:  select tablespace_name ,sum(bytes) / 1024 / 1024 as MB from dba_data_files group by tablespace_name;  2、檢視所有表空間對應的資料檔案:  select tablespace_name,file_name from dba_data_files;  3、修改資料檔案大小:  alter database datafile 'H:\ORACLE\PRODUCT\10.1.0\ORADATA\ORACLE\USERS01.DBF' RESIZE 10240M;