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

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-02-04, 04:11
Tank Tank is offline
Registered User
 
Join Date: Feb 2004
Location: Copenhagen
Posts: 220
Question High Water Mark

Hi - AIX 5.2 DB2 8.1.5

Does anyone know how i can get
the database to lower the high
water mark - in order to remove
one of the tablespace containers?

I think I've asked before, but I didn't
get a working reply. Clearly I should be
able to remove a disk (look below).


Tablespace ID = 10
Name = S_LBR
Type = Database managed space
Contents = Any data
State = 0x0000
Detailed explanation:
Normal
Total pages = 10240000
Useable pages = 10239936
Used pages = 2528
Free pages = 10237408
High water mark (pages) = 7936000
Page size (bytes) = 4096
Extent size (pages) = 32
Prefetch size (pages) = 32
Number of containers = 2
__________________
Kristian K. Hansen
Project Supervisor
National Board of Health
Reply With Quote
  #2 (permalink)  
Old 08-02-04, 12:27
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
Visit http://www-306.ibm.com/software/data...b/support.html
and search for
high water mark
in 'Solve a Problem'

The results should help you

Cheers
Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
Reply With Quote
  #3 (permalink)  
Old 08-03-04, 04:56
blom0344 blom0344 is offline
Registered User
 
Join Date: Jan 2003
Location: Zutphen,Netherlands
Posts: 256
SMS purge and shrink databases

Sathyaram,

The link you provided goes into strategies for DMS tablespaces.
I intent to purge data from my datamarts that have SMS tablespaces. Would there be a way to win back space after purging data in an easy way. Or do I need to drop a tablespace and restore a backup to a new tablespace?

I am running very low in diskspace on my tiny datawarehouse server and creating offline backups is becoming a problem too...
__________________
Ties Blom
Senior Application Developer BI
Getronics Healthcare
DB2,ORACLE,Powercenter,BusObj,Access,
SQL, SQL server
Reply With Quote
  #4 (permalink)  
Old 08-04-04, 09:35
sathyaram_s sathyaram_s is offline
Super Moderator
 
Join Date: Aug 2001
Location: UK
Posts: 4,534
There is no concept of HWM in SMS ...

The only way to get rid of unused pages is REORG ...

BTW, if you are using IMPORT ... REPLACE for 'purging' the data, there will not be any unused pages left after the command , ie, all space will be released

HTH

Sathyaram
__________________
Visit the new-look IDUG Website , register to gain access to the excellent content.
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