Programming/Database
Oracle 각종 잡 정보 알아보기 - 개인용 -
cancelmind
2009. 3. 19. 05:04
일단 sqlplus의 너비 및 page 크기를 늘려놓자..
SQL> set linesize 120
SQL> set pagesize 40
SGA (System Global Area) 정보 알아보기
SQL> show sga;
Oracle 버전 정보 알아보기
SQL> select * from v$version;
Oracle Home 경로 알아보기
SQL> select file_spec from dba_libraries where library_name = 'DBMS_SUMADV_LIB';
ARCHIVE 확인 ( as sysdba 필요 )
SQL> archive log list
REDO log file 경로 알아보기
SQL> select * from v$logfile;
control file 경로 알아보기
SQL> select * from v$controlfile;
각종 parameter 값 알아보기
SQL> show parameter xxxxx;
TableSpace 내용 알아보기
SQL> select file_name, tablespace, bytes, status from dba_data_files;
접속한 계정이 사용중인 TableSpace 알아보기
SQL> select distinct tablespace_name from user_tables;
접속한 계정이 사용중인 TableSpace의 Table 알아보기
SQL> select tablespace_name, table_name from user_tables;
SQL> set linesize 120
SQL> set pagesize 40
SGA (System Global Area) 정보 알아보기
SQL> show sga;
Oracle 버전 정보 알아보기
SQL> select * from v$version;
Oracle Home 경로 알아보기
SQL> select file_spec from dba_libraries where library_name = 'DBMS_SUMADV_LIB';
ARCHIVE 확인 ( as sysdba 필요 )
SQL> archive log list
REDO log file 경로 알아보기
SQL> select * from v$logfile;
control file 경로 알아보기
SQL> select * from v$controlfile;
각종 parameter 값 알아보기
SQL> show parameter xxxxx;
TableSpace 내용 알아보기
SQL> select file_name, tablespace, bytes, status from dba_data_files;
접속한 계정이 사용중인 TableSpace 알아보기
SQL> select distinct tablespace_name from user_tables;
접속한 계정이 사용중인 TableSpace의 Table 알아보기
SQL> select tablespace_name, table_name from user_tables;