|
日志切换也有增量检查点:
- Archived Log entry 124 added for thread 1 sequence 132 ID 0x501b221c dest 1:
- Thu Nov 15 19:44:12 2018
- Thread 1 cannot allocate new log, sequence 134
- Checkpoint not complete
- Current log# 1 seq# 133 mem# 0: +DATA/orcl/onlinelog/group_1.261.816169635
- Current log# 1 seq# 133 mem# 1: +FRA/orcl/onlinelog/group_1.257.816169637
- Thu Nov 15 19:44:13 2018
- Completed checkpoint up to RBA [0x85.2.10], SCN: 2503762
- Completed checkpoint up to RBA [0x84.2.10], SCN: 2503734
- Thread 1 cannot allocate new log, sequence 134
- Private strand flush not complete
- Current log# 1 seq# 133 mem# 0: +DATA/orcl/onlinelog/group_1.261.816169635
- Current log# 1 seq# 133 mem# 1: +FRA/orcl/onlinelog/group_1.257.816169637
- Beginning log switch checkpoint up to RBA [0x86.2.10], SCN: 2503855
- Thread 1 advanced to log sequence 134 (LGWR switch)
- Current log# 2 seq# 134 mem# 0: +DATA/orcl/onlinelog/group_2.262.816169639
- Current log# 2 seq# 134 mem# 1: +FRA/orcl/onlinelog/group_2.258.816169639
- Thu Nov 15 19:44:13 2018
- Archived Log entry 125 added for thread 1 sequence 133 ID 0x501b221c dest 1:
- Thu Nov 15 19:44:57 2018
复制代码- select d.RESETLOGS_CHANGE#,
- d.CHECKPOINT_CHANGE#,
- d.CURRENT_SCN
- from v_$database d;
-
- select name , checkpoint_change#
- from v_$datafile df;
-
- alter system checkpoint;
-
- alter system switch logfile;
-
- alter tablespace example offline;
-
- alter tablespace example online;
-
- select log_mode from v$database;
-
- alter tablespace users begin backup;
-
-
- alter tablespace users end backup;
-
-
-
复制代码
- select * from v$thread;
- select * from v$log;
- alter system switch logfile;
- alter system checkpoint;
- alter database add logfile group 4 size 52428800 ;
- select * from v$logfile;
- alter database add logfile member '+fra' to group 2;
- alter database drop logfile member '+FRA/orcl/onlinelog/group_2.301.992295853';
复制代码
上完1Z0-052第1章(14/40),1Z0-053第1章(15/40)
|
|