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 > Viper2, Alter reduce and HWM

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-27-08, 20:26
meehange meehange is offline
Registered User
 
Join Date: Jul 2004
Posts: 256
Viper2, Alter reduce and HWM

Hey all,

On reading Chris Eaton's blog on Viper 2 and the Reduce option in Alter Tablespace and reading the manuals I'm a bit confused.

Does the reduce option perform the lower High Water Mark actions that we used to have to perform with db2dart when it's used on existing DMS tablespaces, and if so...why can't I get it to work? :P

Anyone?
Reply With Quote
  #2 (permalink)  
Old 03-28-08, 01:54
meehange meehange is offline
Registered User
 
Join Date: Jul 2004
Posts: 256
by the by db2dart has this to say
Code:
Highwater Mark:  11776008 pages, 1472001 extents (extents #0 - 1472000)


Lower highwater mark processing - phase start.
     Current highwater mark:                     1472000
     Desired highwater mark:                     0
     Number of used extents in tablespace:       597408
     Number of free extents below original HWM:  874593
     Number of free extents below desired HWM:   0
     Number of free extents below current HWM:   874593


Final highwater mark:  Extent #1472000 (1472001 extents, 11776008 pages).

** The highwater mark is held by a SMP extent which can be removed by
   ALTER TABLESPACE REDUCE command.
Yet when I try an "alter tablespace <name> reduce" I get a syntax error and when I try "alter tablespace <name> reduce (all 100m)" I get told there's not enough space with the reason code "1" message.

Last edited by meehange; 03-28-08 at 01:57. Reason: adding detail
Reply With Quote
  #3 (permalink)  
Old 03-31-08, 20:10
meehange meehange is offline
Registered User
 
Join Date: Jul 2004
Posts: 256
Nobody have ideas?
Reply With Quote
  #4 (permalink)  
Old 05-06-08, 02:07
meehange meehange is offline
Registered User
 
Join Date: Jul 2004
Posts: 256
Still trying to figure this one out :/
Reply With Quote
  #5 (permalink)  
Old 05-06-08, 07:20
n_i n_i is offline
:-)
 
Join Date: Jun 2003
Location: Toronto, Canada
Posts: 4,449
Is your database partitioned?
Reply With Quote
  #6 (permalink)  
Old 05-07-08, 02:55
meehange meehange is offline
Registered User
 
Join Date: Jul 2004
Posts: 256
Nope, nice and simple :P
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