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 > redirected restore - config new db parameters?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-12-08, 15:17
slimshadie slimshadie is offline
Registered User
 
Join Date: Sep 2008
Posts: 3
redirected restore - config new db parameters?

hello, we are doing a redirected restore from a prod db to a test db...the problem is the prod db server has 16gb RAM and the test server has 2gb RAM...

we want the 50gb prod db put on the 50gb test db...the test server will have only 1 or 2 users to investigate issues, so performance is not an issue...

the prod db used the 'config advisor' and is sized to use 10gb out of 16gb - this sets several parameters with very high numbers of pages...

when we do the redirected restore, we get this message -
[IBM][CLI Driver] SQL1084C Shared memory segments cannot be allocated. SQLSTATE=57019

1. how to configure the target db to use lower config values on redirected restore?

2. or, how to restore from LARGE db config values to smaller config values?

3. or, how to configure a target db that does not yet exist, but will once the redirected restore is completed?

thanks for any insight!
Reply With Quote
  #2 (permalink)  
Old 09-12-08, 15:20
ARWinner ARWinner is offline
Registered User
 
Join Date: Jan 2003
Posts: 3,575
I would guess that you do the restore, then before you use the restored DB, you change the values of the various config parameters and bufferpool sizes as needed to fit into the smaller space.

Andy
Reply With Quote
  #3 (permalink)  
Old 09-12-08, 16:16
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Try setting the DB2_OVERRIDE_BPF registry variable to a value that is suitable for the environment. This will activate the database with smaller bufferpools, not the ones defined in your production environment.
Reply With Quote
  #4 (permalink)  
Old 09-15-08, 12:31
slimshadie slimshadie is offline
Registered User
 
Join Date: Sep 2008
Posts: 3
the DB2_OVERRIDE_BPF was a good idea but didnt work (prod bp is 256000 and set DB2_OVERRIDE_BPF to 12500)...

prod - 16gb - 4cpu:
instance_memory - auto(3600000)

db config:
appl_memory - auto(40000)
database_memory - auto(1250000)
dbheap - auto(25600)
pckcachesz = auto (96000)
bufferpool = 256000 (4k pages)


test - 2gb - 2 cpu:
instance_memory - auto(390000)

db config - how to set these lower or any other ideas to get to restore then change after redirected restore????
Reply With Quote
  #5 (permalink)  
Old 09-15-08, 16:05
slimshadie slimshadie is offline
Registered User
 
Join Date: Sep 2008
Posts: 3
nevermind - just spoke with ibm tech support - they said it can't be done...

note: they are working on this ability to change db config parms in an upcoming release
Reply With Quote
  #6 (permalink)  
Old 09-15-08, 16:28
koganti koganti is offline
Registered User
 
Join Date: Jul 2002
Location: ATL
Posts: 170
Reduce the size of Production bufferpool before the backup and change them back after the backup is complete.
Reply With Quote
  #7 (permalink)  
Old 09-15-08, 16:31
koganti koganti is offline
Registered User
 
Join Date: Jul 2002
Location: ATL
Posts: 170
If the database is not too big use db2move to transfer the data and grab the objects (views , triggers , udfs etc) and create them in non production
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