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 > How do you put the tablespace in the offline mode?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-29-03, 11:29
soumil soumil is offline
Registered User
 
Join Date: Jul 2003
Posts: 30
How do you put the tablespace in the offline mode?

How do you change the states of the tablespaces.
How can I put the tablespace in the offline mode ?
What are the implications of doing that?
Reply With Quote
  #2 (permalink)  
Old 10-29-03, 13:34
mixxalot mixxalot is offline
Registered User
 
Join Date: May 2003
Posts: 369
Re: How do you put the tablespace in the offline mode?

Quote:
Originally posted by soumil
How do you change the states of the tablespaces.
How can I put the tablespace in the offline mode ?
What are the implications of doing that?

db2 "alter tablespace tablespace-name switch offline"

to put it back online you would issue the same db2 command but
use the keyword online instead of offline.

Implications-
to perform certain db2 maintenance tasks it is useful to take the tablespace offline depends on what you are trying to do. You will not have access to insert or update data or tables located on the tablespace that you take offline.

Hope this helps
Scott
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