![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a database that was cloned a bit ago. *I was looking at v $log_history on the Data Guard side of things and found some wierd stuff. * * *RECID * * *STAMP * *THREAD# *SEQUENCE# FIRST_CHANGE# FIRST_TIM NEXT_CHANGE# RESETLOGS_CHANGE# RESETLOGS ---------- ---------- ---------- ---------- ------------- --------- ------------ ----------------- --------- * * * * *1 *697091099 * * * * *1 * * *51477 * *2.5076E+10 08-SEP-09 2.5076E+10 * * * * * * * * 1 08-AUG-00 * * * * *2 *697091109 * * * * *1 * * *51478 * *2.5076E+10 08-SEP-09 2.5077E+10 * * * * * * * * 1 08-AUG-00 * * * * *3 *697091310 * * * * *1 * * * * *1 * *2.5089E+10 09-SEP-09 2.5089E+10 * * * *2.5089E+10 09-SEP-09 * * * * *4 *697092131 * * * * *1 * * * * *2 * *2.5089E+10 09-SEP-09 2.5089E+10 * * * *2.5089E+10 09-SEP-09 * * * * *5 *697092803 * * * * *1 * * * * *3 * *2.5089E+10 09-SEP-09 2.5090E+10 * * * *2.5089E+10 09-SEP-09 . . . * * * 2518 *704544170 * * * * *1 * * * 2516 * *2.6956E+10 02-DEC-09 2.6956E+10 * * * *2.5089E+10 09-SEP-09 * * * 2519 *704544171 * * * * *1 * * * 2517 * *2.6956E+10 02-DEC-09 2.6956E+10 * * * *2.5089E+10 09-SEP-09 * * * 2520 *704544203 * * * * *1 * * * 2518 * *2.6956E+10 02-DEC-09 2.6956E+10 * * * *2.5089E+10 09-SEP-09 2520 rows selected. So when I go to see the last log that was applied I see 51478 and NOT 2520. So, how can I do any of the following: (a) remove the erroneous records from v$log_history (b) set up a query so I get the correct result (ie 2520) Thanks! Vince |
![]() |
| Thread Tools | |
| Display Modes | |
| |