현재 데이터베이스의 데이터 파일과 테이블스페이스 상태 조회
[oracle@ghost]$ sqlplus / as sysdba
SQL*Plus: Release 10.2.0.1.0 - Production on Sat Feb 27 20:37:46 2010
Copyright (c) 1982, 2005, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 285212672 bytes
Fixed Size 1218992 bytes
Variable Size 88082000 bytes
Database Buffers 192937984 bytes
Redo Buffers 2973696 bytes
Database mounted.
Database opened.
SQL> set line 200
SQL> col tablespace_name format a16
SQL> col file_name format a50
SQL> select tablespace_name, status, contents, extent_management, segment_space_management
2 from dba_tablespaces;
TABLESPACE_NAME STATUS CONTENTS EXTENT_MAN SEGMEN
---------------- --------- --------- ---------- ------
SYSTEM ONLINE PERMANENT LOCAL MANUAL
UNDOTBS1 ONLINE UNDO LOCAL MANUAL
SYSAUX ONLINE PERMANENT LOCAL AUTO
TEMP ONLINE TEMPORARY LOCAL MANUAL
USERS ONLINE PERMANENT LOCAL AUTO
EXAMPLE ONLINE PERMANENT LOCAL AUTO
6 rows selected.
SQL> select tablespace_name, bytes, file_name from dba_data_files;
TABLESPACE_NAME BYTES FILE_NAME
---------------- ---------- --------------------------------------------------
USERS 5242880 /home/oracle/oradata/testdb/users01.dbf
SYSAUX 251658240 /home/oracle/oradata/testdb/sysaux01.dbf
UNDOTBS1 36700160 /home/oracle/oradata/testdb/undotbs01.dbf
SYSTEM 503316480 /home/oracle/oradata/testdb/system01.dbf
EXAMPLE 104857600 /home/oracle/oradata/testdb/example01.dbf
SQL> select tablespace_name, bytes, file_name from dba_temp_files;
TABLESPACE_NAME BYTES FILE_NAME
---------------- ---------- --------------------------------------------------
TEMP 20971520 /home/oracle/oradata/testdb/temp01.dbf
SQL>
'Oracle 10g > 10g - 실습' 카테고리의 다른 글
Tablespace 실습 #3 (0) | 2010.02.27 |
---|---|
Tablespace 실습 #2 (0) | 2010.02.27 |
Redo log group 변경 두 번째! (3그룹 2멤버) (0) | 2010.02.24 |
Redo log group 변경 (디렉토리, 사이즈) (0) | 2010.02.24 |
Redo log group & member 추가/삭제 (0) | 2010.02.24 |