source DB: 5 nodes RAC
Clone DB: 1 node
I cloned the database and trying to figure out estimated time to roll forward the database for future for management.
I applied a snapshot that completed on 4/4/2016 at 9:20. So, the clone DB is mounted and needed to roll forward from 04/04/2016 - 9:20 a.m. to 4/5/2016 - 03:40 a.m. How would I figure out how many logs the recovery process will apply?
The recovery process shows the following:
1. Arch files catalogued from snapshot = 838
- 2. Total archived log applied to roll forward = 588
from gv$log_history
GROUP by to_char(first_time,'YYYY-MON-DD'), to_date(first_time)
order by to_date(first_time)
Hourly archived logs:
DAY | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 |
4/3/2016 | 420 | 441 | 49 | 133 | 203 | 56 | 385 | 7 | 42 | 0 | 63 | 112 | 28 | 91 | 49 | 77 | 7 | 98 | 7 | 63 | 0 | 49 | 0 | 126 |
4/4/2016 | 238 | 301 | 49 | 273 | 154 | 63 | 427 | 7 | 140 | 217 | 133 | 147 | 140 | 63 | 217 | 203 | 154 | 168 | 175 | 126 | 126 | 98 | 56 | 91 |
4/5/2016 | 546 | 259 | 105 | 882 | 196 | 63 | 385 | 49 | 7 | 140 | 175 | 133 | 140 | 154 | 126 | 140 | 147 | 105 | 168 | 91 | 126 | 49 | 28 | 119 |