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 > Automatic Storage

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-12-08, 13:42
wehrle wehrle is offline
Registered User
 
Join Date: Jul 2005
Posts: 99
Automatic Storage

DB2 v8.2 FixPack 15

The system in question does not use the Automatic Storage System. I understand that the Automatic Storage System must be specified during initial database creation.

Can I drop the database, recreate it with Automatic Storage System enabled, then restore a backup in to it?

Or, will the restored database still be without the Automatic Storage System in place?
Reply With Quote
  #2 (permalink)  
Old 08-12-08, 15:17
akratz akratz is offline
Registered User
 
Join Date: Aug 2002
Posts: 76
Im pretty sure you are limited here to using db2look/db2move to get the data out of the one without auto storage into a db with auto storage

it doesnt mention your exact scenario in documentation but its pretty explicit that once a database has been created the automatic storage setting cannot be changed in any way.

Restoring the way you mention would just overlay this type of attribute for the database because the restore basically erases the new database you created and replaces it with the one from the backup image.

There are redirect scenarios for changing the auto storage but no scenarios on the redirected restore for adding auto storage to a db that previously did not have it.
Reply With Quote
  #3 (permalink)  
Old 08-12-08, 15:26
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
I believe that the restored database will have the same characteristics with regard to automatic storage as the backup. If the backup has automatic storage, you can specify the automatic storage paths on the restore, but you cannot do a normal redirected restore where you specify where each tablespace goes.
__________________
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; 08-12-08 at 15:29.
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