AWR S SYS> desc dba_hist_snapshot Name Null? Type ----------------------------------------------------------- -------- ---------------------------------------- SNAP_ID NOT NULL NUMBER DBID NOT NULL NUMBER INSTANCE_NUMBER NOT NULL NUMBER STARTUP_TIME NOT NULL TIMESTAMP(3) BEGIN_INTERVAL_TIME NOT NULL TIMESTAMP(3) END_INTERVAL_TIME NOT NULL TIMESTAMP(3) FLUSH_ELAPSED INTERVAL DAY(5) TO SECOND(1) S..
ASMM 좋으나 증상기반 메모리값 변경이어서 느려진후에야 설정 바꿈. Buff Cache S SYS> show parameter db_block NAME TYPE VALUE ------------------------------------ ----------- ------------------------------ db_block_buffers integer 0 db_block_checking string FALSE db_block_checksum string TRUE db_block_size integer 8192 S SYS> show parameter cache_size NAME TYPE VALUE ------------------------------------ ----------- --------..
논리적 => index rebuild 물리적 => BMR (Block Media Recovery) -- tablespace 옮기기. S SCOTT> select table_name,tablespace_name from user_tables where table_name='EMP'; TABLE_NAME TABLESPACE_NAME ------------------------------ ------------------------------ EMP USERS S SCOTT> alter table emp move tablespace example; Table altered. S SCOTT> select table_name,tablespace_name from user_tables where table_name..
Database drop table query version query transaction query Restoring tables from the Recycle Bin --Rename S SCOTT> create table emp18 as select * from emp; Table created. S SCOTT> drop table emp18; Table dropped. S SCOTT> create table emp18 as select * from emp; Table created. S SCOTT> show recyclebin ORIGINAL NAME RECYCLEBIN NAME OBJECT TYPE DROP TIME ---------------- ---------------------------..