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 > Tablespace High Water Mark

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-05-09, 09:39
redwolf redwolf is offline
Registered User
 
Join Date: Apr 2004
Posts: 179
Tablespace High Water Mark

Is there a away to lower the hwm for a tablespace which consist of multiple raw device containers? I reorged the tables in this tablespace and the hwm actually increased.

Thanks
Reply With Quote
  #2 (permalink)  
Old 04-05-09, 10:03
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Depending on how your data were arranged originally, you may need to run reorg once more if after the first reorg the used extents accumulated towards the tail end of the tablespace. Use "db2dart /dhwm" to see if there is empty space at the beginning of the tablespace.

PS. Why would you care about the HWM in raw containers?
Reply With Quote
  #3 (permalink)  
Old 04-05-09, 19:36
redwolf redwolf is offline
Registered User
 
Join Date: Apr 2004
Posts: 179
We use the production db in a lot of redirected restores in test environments.
Reply With Quote
  #4 (permalink)  
Old 04-05-09, 22:24
db2girl db2girl is offline
∞∞∞∞∞∞
 
Join Date: Aug 2008
Location: Toronto, Canada
Posts: 1,816
Try db2dart with /lhwm. Please see the following technote:
IBM - Lowering the High-Water Mark of a Tablespace

An offline reorg builds the shadow copy of table in the same tablespace (by default) so it's possible for the HWM to increase.
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