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 > Altering High Water mark for DMS tablespace

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-10-06, 14:31
Nageswaran Nageswaran is offline
Registered User
 
Join Date: Jul 2002
Posts: 48
Question Altering High Water mark for DMS tablespace

Hello all

I am working on DB2 UDB Verion 8.2.1. I have added more space to the tablespace. Now i have to reduce the size. But it's not allowing me to reduce the size below highwater mark.
Is there any way to reduce the size of the container?
Is there any way to change the highwater mark without any outage.

Thanks
Nageswaran
Reply With Quote
  #2 (permalink)  
Old 02-10-06, 14:38
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
db2dart /LHWM will suggest the ways of lowering the high watermark.
Reply With Quote
  #3 (permalink)  
Old 02-10-06, 14:49
Nageswaran Nageswaran is offline
Registered User
 
Join Date: Jul 2002
Posts: 48
Whether we have to take the database down....thanks
Reply With Quote
  #4 (permalink)  
Old 02-12-06, 19:30
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
IIRC, yes ...

Having a look at the documentation will definitely help

Cheers
Sathyaram

Quote:
Originally Posted by Nageswaran
Whether we have to take the database down....thanks
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #5 (permalink)  
Old 04-03-08, 10:04
Cougar8000 Cougar8000 is offline
Registered User
 
Join Date: Nov 2005
Location: IL
Posts: 554
I know I am bringing dead to life, but I figured it might help someone. I just spent a good amount of time on this so others don't have to.

We have DMS tbs where HWM is seriously out of reality with current data. Db2dart in this case was suggesting >>>> => EXPORT all data from table, drop the table, disconnect, reconnect, recreate the table, and LOAD the data back into the table.<<< as the only option. I know there are times where it tells you to reorg/deactivate and then possibly rebuild indexes. This was not the case.

Touching data should be the last thing on anyone’s mind. I have dropped and rebuild indexes and HWM were right were it should be.

In the cases where it told to do a reorg first, I have found no benefit of doing reorg what so ever. The only feasible and useful option is to rebuild indexes regardless what db2dart says.
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows

DB2 v9.1.0.2 os 5.3.0.0
Reply With Quote
  #6 (permalink)  
Old 04-03-08, 15:46
SuperKuper SuperKuper is offline
Registered User
 
Join Date: Apr 2008
Posts: 51
Rebuilding indices may help if they are in the same tablespace as data, which often is not the case. The official response from IBM on this subject: "We are aware of the problem. There is no documented way to affect HWM. We are working on a solution."
__________________
db2topgun.com
Reply With Quote
  #7 (permalink)  
Old 04-04-08, 11:07
Cougar8000 Cougar8000 is offline
Registered User
 
Join Date: Nov 2005
Location: IL
Posts: 554
Quote:
Originally Posted by SuperKuper
Rebuilding indices may help if they are in the same tablespace as data, which often is not the case. The official response from IBM on this subject: "We are aware of the problem. There is no documented way to affect HWM. We are working on a solution."
Great to see you here Gene.

Thanks for the responce.
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows

DB2 v9.1.0.2 os 5.3.0.0
Reply With Quote
  #8 (permalink)  
Old 10-14-08, 16:06
Cougar8000 Cougar8000 is offline
Registered User
 
Join Date: Nov 2005
Location: IL
Posts: 554
Well, it seams that dropping table and indexes does not lower HWM either. Gene, have you heard anything from IBM on this? Anyone else were able to lower HWM? I really do no feel like dropping and rebuilding 77 tables.

Thank you.
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows

DB2 v9.1.0.2 os 5.3.0.0
Reply With Quote
  #9 (permalink)  
Old 10-14-08, 16:15
SuperKuper SuperKuper is offline
Registered User
 
Join Date: Apr 2008
Posts: 51
Have not heard anything on this lately. I recall reading somewhere that this is taken care of in 9.1 or 9.5 - not sure.
__________________
db2topgun.com
Reply With Quote
  #10 (permalink)  
Old 10-14-08, 16:49
Cougar8000 Cougar8000 is offline
Registered User
 
Join Date: Nov 2005
Location: IL
Posts: 554
Great. until then I have to let 40GB get dusted.

Thanks.

btw.I am sick working from home. Lunch next week?
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows

DB2 v9.1.0.2 os 5.3.0.0
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