======================================
Flashback Data Archive
=====================================
[root@lnx04 ~]# mkdir -p /u02/app/oracle/oradata/orcl
[root@lnx04 ~]# chown -R oracle.oinstall /u02
SYS@orcl>create tablespace fbda1
2 datafile '/u02/app/oracle/oradata/orcl/fbda101a.dbf' size 11256k
3 autoextend on next 10m maxsize unlimited
4 ,'/u02/app/oracle/oradata/orcl/fbda101b.dbf' size 11256k
5 autoextend on next 10m maxsize unlimited;
Tablespace created.
SYS@orcl>create tablespace fbda2
2 datafile '/u02/app/oracle/oradata/orcl/fbda201a.dbf' size 11256k
3 autoextend on next 10m maxsize unlimited,
4 '/u02/app/oracle/oradata/orcl/fbda201.b.dbf' size 11256k
5 autoextend on next 10m maxsize unlimited;
Tablespace created.
FBDAUSER@orcl>grant flashback archive on FLA2 to hr;
Grant succeeded.
FBDAUSER@orcl>conn hr/hr@orcl
Connected.
HR@orcl>alter table hr.employees flashback archive flal ;
Table altered.
HR@orcl>alter table hr.departments
2 flashback archive ;
Table altered.
HR@orcl>!ps -ef | grep fbda | grep -v grep
oracle 30574 1 0 12:39 ? 00:00:00 ora_fbda_orcl
'스터디북' 카테고리의 다른 글
[10/15] system.dbf for corruption (0) | 2015.10.15 |
---|---|
[10/14] 실습 - 4 block corruption recover (0) | 2015.10.14 |
[10/14] 실습 - 2 flashback database (0) | 2015.10.14 |
[10/14] 실습 - 1 Flashback Transaction BACKOUT table (0) | 2015.10.14 |
[10/14] 정리 (0) | 2015.10.14 |