what exactly you mean "不完全恢复"?
restore and rollforward are totally separate concept. From the name "不完全恢复" it sounds like part of "restore" operation, or are you talking about something like "不完全前滚"?
and how do you define "不完全前滚"? from db2's perspective, once a database is restored, it doesn't know what is the current LSN from the pre-restored version of database, so there's no way to tell what is the expected LSN to be stopped. So when you fire rollforward command to end of logs, it will just search until hitting last valid transaction log and will stop. It's your responsibility (or any DBAs) to validate whether the transaction log is the latest one or not.
the next log extent id will not be reset to 0, instead it will start a new log chain and log extent id will be starting from the last log+1 from your rollforward operation.
原帖由 wangzhonnew 于 2011-8-11 20:53 发表
what exactly you mean "不完全恢复"?
restore and rollforward are totally separate concept. From the name "不完全恢复" it sounds like part of "restore" operation, or are you talking about something like "不完全前滚"?
and how do you define "不完全前滚"? from db2's perspective, once a database is restored, it doesn't know what is the current LSN from the pre-restored version of database, so there's no way to tell what is the expected LSN to be stopped. So when you fire rollforward command to end of logs, it will just search until hitting last valid transaction log and will stop. It's your responsibility (or any DBAs) to validate whether the transaction log is the latest one or not.
the next log extent id will not be reset to 0, instead it will start a new log chain and log extent id will be starting from the last log+1 from your rollforward operation.
as long as you can make sure all log files are copied (by using mirror logging on separate file systems, you can guarantee the log files won't be missed unless someone manually remove them) you won't have integrity issues...
leetaedong , i don't really get what exactly you are talking about, if you still have more concern please open a new post and show the reproduce script and screenshot to explain your concern.