Å×ÀÌºí½ºÆäÀ̽º Á¤º¸º¸±â-2
ÀÛ¼ºÀÚ °ü¸®ÀÚ ÀÛ¼º½Ã°£ 2003-07-23 16:31:53
 

col tablespace_name format a20
col file_name format a40
set linesize 123
set echo on
select t.name tablespace_name, f.name file_name, f.status, f.enabled
from v$tablespace t, v$datafile f
where t.ts# = f.ts#;
set echo off
clear col

SQL> @LABS/tbsinfo2
SQL> select t.name tablespace_name, f.name file_name, f.status, f.enabled
  2  from v$tablespace t, v$datafile f
  3  where t.ts# = f.ts#;

TABLESPACE_NAME      FILE_NAME                                STATUS  ENABLED
-------------------- ---------------------------------------- ------- ----------
SYSTEM              /home/human/oradata/HUMAN/system01.dbf  SYSTEM  READ WRITE
UNDOTBS1            /home/human/oradata/HUMAN/undotbs01.dbf  ONLINE  READ WRITE
CWMLITE              /home/human/oradata/HUMAN/cwmlite01.dbf  ONLINE  READ WRITE


¸ñ·Ï | ÀÔ·Â | ¼öÁ¤ | ´äº¯ | »èÁ¦