![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
#3
| |||
| |||
|
|
Hi Jackie, Only those journals taken since the checkpoint you started the incremental recovery from are required. So if you have checkpoint N on your recovery host but are at checkpoint N+5 on your source host then the recovery host still needs the journals taken since N. Note that there have been bugs in incremental recovery which will preventyou recovering through a checkpoint boundary...these have been fixed but you will need to check your patch level. There have also been bugs which make the recovered database single user. Otherwise I have found it to be extremely useful, very easy to set up andscript around plus very robust. Have fun. Martin Bowes -----Original Message----- From: jm [mailto:jackie_mclel... (AT) talk21 (DOT) com] Sent: 08 September 2011 11:51 To: info-ing... (AT) kettleriverconsulting (DOT) com Subject: [Info-Ingres] Implementing Incremental Rollforwards I've just started looking at setting up incremental rollforwards for a client and I have a question: The documentation says that all journals since the first rollforwarddb -incremental have to be present before running the final rollforwarddb -rollback. If you take daily checkpoints, then presumably only those journals created since the checkpoint are necessary (as a new journal is created with a checkpoint). Does anyone know if this is the case? I'm running Ingres 9.2. Thanks _______________________________________________ Info-Ingres mailing list Info-Ing... (AT) kettleriverconsulting (DOT) comhttp://ext-cando.kettleriverconsulting.com/mailman/listinfo/info-ingres |
#4
| |||
| |||
|
#5
| |||
| |||
|
|
If you have correctly copied checkpoint N+5 along with associated dump, cnf and all journals after N+5, then you can disregard journals for checkpoints prior to N+5. You just need to re-initialise the by clearing data, copy the latest cnf to the data directory then re-start the rollforward sequence. I do this each day to get around the occasional problem to which Marty refers. Paul -----Original Message----- From: info-ingres-boun... (AT) kettleriverconsulting (DOT) com [mailto:info-ingres-boun... (AT) kettleriverconsulting (DOT) com] On Behalf Of Martin Bowes Sent: Thursday, 8 September 2011 9:30 PM To: Ingres and related product discussion forum Cc: jm Subject: Re: [Info-Ingres] Implementing Incremental Rollforwards Hi Jackie, Only those journals taken since the checkpoint you started the incremental recovery from are required. So if you have checkpoint N on your recovery host but are at checkpoint N+5 on your source host then the recovery host still needs the journals taken since N. Note that there have been bugs in incremental recovery which will prevent you recovering through a checkpoint boundary...these have been fixed but you will need to check your patch level. There have also been bugs which make the recovered database single user. Otherwise I have found it to be extremely useful, very easy to set up and script around plus very robust. Have fun. Martin Bowes -----Original Message----- From: jm [mailto:jackie_mclel... (AT) talk21 (DOT) com] Sent: 08 September 2011 11:51 To: info-ing... (AT) kettleriverconsulting (DOT) com Subject: [Info-Ingres] Implementing Incremental Rollforwards I've just started looking at setting up incremental rollforwards for a client and I have a question: The documentation says that all journals since the first rollforwarddb -incremental have to be present before running the final rollforwarddb -rollback. If you take daily checkpoints, then presumably only those journals created since the checkpoint are necessary (as a new journal is created with a checkpoint). Does anyone know if this is the case? I'm running Ingres 9.2. Thanks _______________________________________________ Info-Ingres mailing list Info-Ing... (AT) kettleriverconsulting (DOT) comhttp://ext-cando.kettleriverconsulting.com/mailman/listinfo/info-ingres _______________________________________________ Info-Ingres mailing list Info-Ing... (AT) kettleriverconsulting (DOT) comhttp://ext-cando.kettleriverconsulting.com/mailman/listinfo/info-ingres |
#6
| |||
| |||
|
|
On Sep 8, 1:33 pm, "Paul White" <shift7soluti... (AT) gmail (DOT) com> wrote: If you have correctly copied checkpoint N+5 along with associated dump, cnf and all journals after N+5, then you can disregard journals for checkpoints prior to N+5. You just need to re-initialise the by clearing data, copy the latest cnf to the data directory then re-start the rollforward sequence. I do this each day to get around the occasional problem to which Marty refers. Paul -----Original Message----- From: info-ingres-boun... (AT) kettleriverconsulting (DOT) com [mailto:info-ingres-boun... (AT) kettleriverconsulting (DOT) com] On Behalf Of Martin Bowes Sent: Thursday, 8 September 2011 9:30 PM To: Ingres and related product discussion forum Cc: jm Subject: Re: [Info-Ingres] Implementing Incremental Rollforwards Hi Jackie, Only those journals taken since the checkpoint you started the incremental recovery from are required. So if you have checkpoint N on your recovery host but are at checkpoint N+5 on your source host then the recovery host still needs the journals taken since N. Note that there have been bugs in incremental recovery which will prevent you recovering through a checkpoint boundary...these have been fixed but you will need to check your patch level. There have also been bugs which make the recovered database single user. Otherwise I have found it to be extremely useful, very easy to set up and script around plus very robust. Have fun. Martin Bowes -----Original Message----- From: jm [mailto:jackie_mclel... (AT) talk21 (DOT) com] Sent: 08 September 2011 11:51 To: info-ing... (AT) kettleriverconsulting (DOT) com Subject: [Info-Ingres] Implementing Incremental Rollforwards I've just started looking at setting up incremental rollforwards for a client and I have a question: The documentation says that all journals since the first rollforwarddb -incremental have to be present before running the final rollforwarddb -rollback. If you take daily checkpoints, then presumably only those journals created since the checkpoint are necessary (as a new journal is created with a checkpoint). Does anyone know if this is the case? I'm running Ingres 9.2. Thanks _______________________________________________ Info-Ingres mailing list Info-Ing... (AT) kettleriverconsulting (DOT) comhttp://ext-cando.kettleriverconsulting.com/mailman/listinfo/info-ingres _______________________________________________ Info-Ingres mailing list Info-Ing... (AT) kettleriverconsulting (DOT) comhttp://ext-cando.kettleriverconsulting.com/mailman/listinfo/info-ingres Hi Paul, But if I copy the cnf file to the default database location any time after starting the first incremental rollforward, won't the database status be incorrect - not INCR_RFP - which would prevent it processing the journals incrementally? Jackie _______________________________________________ Info-Ingres mailing list Info-Ingres (AT) kettleriverconsulting (DOT) com http://ext-cando.kettleriverconsulti...fo/info-ingres |
#7
| |||
| |||
|
|
Thanks for the swift reply, but can you explain why the rollfrward needs the earlier journals. Once it's applied them, surely it won't look at them again when we run the final rollforward. I know that all the transactions have been committed because we are running an offline checkpoint. |
![]() |
| Thread Tools | |
| Display Modes | |
| |