논리적 => 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 ---------------- ---------------------------..
불완전 복구. DB 전체의 datafile만 restore하고(control file 과 redo는 제외) Archive 와 redo를 일부만 적용시켜 과거버전으로 복구 함. User_managed Incomplete Recovery -- 시간 알아내기. S SYS> create table hr.emp2 as select * from scott.emp; Table created. S SYS> select systimestamp from dual; SYSTIMESTAMP --------------------------------------------------------------------------- 22-JUN-09 03.00.23.411459 PM +09:00 S SYS> !date Mon Jun ..
--모든 current redolog 그룹 멤버가 손실된 경우.(데이터 lose는 존재함.) but 인스턴스는 open 할 수 있음. S SYS> select group# from v$log where status='CURRENT'; GROUP# ---------- 2 S SYS> select member from v$logfile where group#=2; MEMBER -------------------------------------------------------------------------------- ------------------------------ /u01/app/oracle/oradata/ORCL/onlinelog/o1_mf_2_50sxsbt9_.log /u01/app/oracle..
- Total
- Today
- Yesterday
- 오라클
- iOS5
- 갤럭시S
- parameter
- 독도
- recovery
- oracle
- PL/SQL
- 출시일
- linux
- 아이폰4
- Flashback
- index
- 아이폰
- 윈도우
- tablespace
- 리눅스
- SQLPlus
- PostgreSQL
- 투싼
- 인덱스
- Backup
- query 잘림
- MS-SQL
- 한글
- postgresql jsonb index
- iPhone
- Managing Schema Objects
- postgresql jsonb
- postgresql pg_stat_activity