If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Restore Database ... Tablespace

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-09-05, 15:08
rubystep rubystep is offline
Registered User
 
Join Date: Sep 2003
Posts: 85
Restore Database ... Tablespace

I just want to confirm that assume that one did a full database backup, one still can issue a RESTORE DATABASE ... TABLESPACE from the db backup image and one isn't necessarily required to have separate tablespace backup images.
Ruby
Reply With Quote
  #2 (permalink)  
Old 02-09-05, 16:15
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Your assumption is correct ...

But remember, there are other things (like creation of a table in a tablespace) that could impact the minumum point to which the tablespace can be rolled forward .. Look at the 'Minimum recovery time ' in 'list tablespaces show detail' output ...

HTH

Cheers
Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 02-09-05, 16:31
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
You must also have LOGRETAIN set on when you do the backup. This is probably obvious to most people.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #4 (permalink)  
Old 02-09-05, 16:57
rubystep rubystep is offline
Registered User
 
Join Date: Sep 2003
Posts: 85
Sathyaram,
You wrote that:
"Look at the 'Minimum recovery time ' in 'list tablespaces show detail' output ... " . We're running UDB ESE FP7a and there's no such output as minimum recovery time.
Ruby
Reply With Quote
  #5 (permalink)  
Old 02-09-05, 17:16
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Do you have LOGRETAIN on (set to RECOVERY) for that database?
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390

Last edited by Marcus_A; 02-09-05 at 17:27.
Reply With Quote
  #6 (permalink)  
Old 02-09-05, 18:19
rubystep rubystep is offline
Registered User
 
Join Date: Sep 2003
Posts: 85
Marcus,
LOGRETAIN=RECOVERY is set.
Reply With Quote
  #7 (permalink)  
Old 02-09-05, 23:01
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
According to the DB2 version 8.2 Command Reference, when using the "list tablespaces show detail" command, the Minimum recovery time is displayed (but only if not zero).
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On