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 > alter tablespace ... begin new stripe

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-08-11, 10:43
wu2nd wu2nd is offline
Registered User
 
Join Date: Apr 2004
Location: Tallahassee, FL
Posts: 6
alter tablespace ... begin new stripe

I'm a little confused about "begin new stripe" option with "alter tablespace" statement. Say I have a DMS tablespace with 3 containers which are not quite full yet (the "Autoresize" is On), however, the file folder for existing containers has almost reached max. And now I add another container to this tablespace using "alter tablespace... begin new stripe set (<new_container_clause>)" on another file folder. My question is: Will the new data added to this tablespace be written ONLY to the new container at the new stripe set, which means the unused space left on original 3 containers will be wasted? Should I wait until the original 3 containers almost full to add a new container with "begin new stripe set"?

I have DB2 UDB V9.5 on Linux.
Reply With Quote
  #2 (permalink)  
Old 11-08-11, 11:43
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Quote:
Originally Posted by wu2nd View Post
My question is: Will the new data added to this tablespace be written ONLY to the new container at the new stripe set, which means the unused space left on original 3 containers will be wasted?
I believe this is correct, and new extents will be allocated from the new stripe set.
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