dbTalk Databases Forums  

What db params get overwritten with a db restore

comp.databases.ibm-db2 comp.databases.ibm-db2


Discuss What db params get overwritten with a db restore in the comp.databases.ibm-db2 forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Richard
 
Posts: n/a

Default What db params get overwritten with a db restore - 11-17-2010 , 10:50 AM






I thought that dbm cfg parameters would stay the same when a database
is restored, but that the db cfg parameters would get overwritten by
params in the backup. This doesn't appear to be the case becuase I
restored a backup into a database where the STMTHEAP was 32768. I
restored a backup into that database that came from a database that
had STMTHEAP at 4096. I thought that after the restore that the 32768
would have gotten overwritten to 4096, but that didn't happen.

Can someone explain what db config parameters, if any, will get
overwritten by a restore?

Thanks for enlightening me. :-)

Reply With Quote
  #2  
Old   
Frederik Engelen
 
Posts: n/a

Default Re: What db params get overwritten with a db restore - 11-17-2010 , 11:01 AM






On Nov 17, 5:50*pm, Richard <rmcgor... (AT) gmail (DOT) com> wrote:
Quote:
I thought that dbm cfg parameters would stay the same when a database
is restored, but that the db cfg parameters would get overwritten by
params in the backup. *This doesn't appear to be the case becuase I
restored a backup into a database where the STMTHEAP was 32768. *I
restored a backup into that database that came from a database that
had STMTHEAP at 4096. *I thought that after the restore that the 32768
would have gotten overwritten to 4096, but that didn't happen.

Can someone explain what db config parameters, if any, will get
overwritten by a restore?

Thanks for enlightening me. :-)
I'm pretty sure everything is kept, except what you change explicitely
(storage paths, logpath, ...). If you want to use the values from the
backup, you need to drop the db first.

--
Frederik Engelen

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



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.