Unix Technical Forum

Tablespace restore...

This is a discussion on Tablespace restore... within the DB2 forums, part of the Database Server Software category; --> According to the manual: If you have created a new log sequence after recovery, any tablespace backup images on ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-26-2008, 05:59 PM
Raquel
 
Posts: n/a
Default Tablespace restore...

According to the manual: If you have created a new log sequence after
recovery, any tablespace backup images on the old log sequence are
invalid. This is usually recognized at restore time.

Could someone let me know 'how' this is recognized at restore time?

TIA
Raquel.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-26-2008, 05:59 PM
David Mooney
 
Posts: n/a
Default Re: Tablespace restore...

Raquel <raquel_rodriguezus@yahoo.com> wrote:
> According to the manual: If you have created a new log sequence after
> recovery, any tablespace backup images on the old log sequence are
> invalid. This is usually recognized at restore time.
>
> Could someone let me know 'how' this is recognized at restore time?


In the header of each log file, there is information that uniquely
indentifies which log chain it belongs to. This way you can't take a
log from one chain and replay it as part of a rollforward along a
different chain.

Similarly, when a backup is taken, it stores information about what log
chain is current at the time. If you use this backup in a tablespace
restore, db2 will verify that the same log chain is active as was active
at backup time.

dave
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-26-2008, 05:59 PM
Raquel
 
Posts: n/a
Default Re: Tablespace restore...

Thanks David. Didn't find this piece of information in any IBM Manual.
If there is some place where IBM has documented this, could you let me
know because it might have many other answers to my naive doubts.

Regards,
Raquel.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-26-2008, 06:00 PM
David Mooney
 
Posts: n/a
Default Re: Tablespace restore...

Raquel <raquel_rodriguezus@yahoo.com> wrote:
> Thanks David. Didn't find this piece of information in any IBM Manual.
> If there is some place where IBM has documented this, could you let me
> know because it might have many other answers to my naive doubts.


The documentation tends to describe how features work from the db admin's
point of view. Internal details about how the features work are generally
not documented. Some of this stuff is dicussed in white papers and at
conferences, though.

dave
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 04:54 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com