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 > db2relocatedb anyone?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-18-04, 22:25
cchattoraj cchattoraj is offline
Registered User
 
Join Date: Mar 2003
Posts: 343
Question db2relocatedb anyone?

V8.1 fp 5

Has anyone used this command to move dbdirs or change the instance to which a database belongs?

Surprisingly, documentation says authorisation none. Also, it does not mention whether the db should be active or deactive.
Reply With Quote
  #2 (permalink)  
Old 05-19-04, 09:25
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
Quote:
Originally Posted by cchattoraj
V8.1 fp 5

Has anyone used this command to move dbdirs or change the instance to which a database belongs?

Surprisingly, documentation says authorisation none. Also, it does not mention whether the db should be active or deactive.
Shouldn't be active.

Not sure why authorization says none, I believe it has to be run as the instance owner.

There have been significant changes to the docs since GA, Google for "db2relocatedb":
http://publib.boulder.ibm.com/infoce...e/r0004500.htm
__________________
--
Jonathan Petruk
DB2 Database Consultant
Reply With Quote
  #3 (permalink)  
Old 05-19-04, 09:27
J Petruk J Petruk is offline
Registered User
 
Join Date: Mar 2004
Location: Toronto, ON, Canada
Posts: 513
Quote:
Originally Posted by J Petruk
Shouldn't be active.

Not sure why authorization says none, I believe it has to be run as the instance owner.

There have been significant changes to the docs since GA, Google for "db2relocatedb":
http://publib.boulder.ibm.com/infoce...e/r0004500.htm
I was just browsing those docs, it tells you what to run as in what situations.

I believe it says "authorization none" since it operates directly on files, bypassing any database security you've set up...
__________________
--
Jonathan Petruk
DB2 Database Consultant
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