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 Backup Size

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 09-16-09, 10:48
db2udbgirl db2udbgirl is offline
Registered User
 
Join Date: Mar 2006
Location: Tuticorin, India
Posts: 100
Tablespace Backup Size

Env: DB2 8.2/AIX 5.3

A DMS tablespace size is 150 GB but only 1 GB is used. HWM and Pages used remains the same.

If a backup is taken, will it backup all 150 GB of tablespace or only 1 GB of the used space( or HWM whichever is high) ?
Reply With Quote
  #2 (permalink)  
Old 09-16-09, 11:07
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
It will not backup all 150 GB that is allocated if HWM is 1 GB. But you should use the compression option on the backup command anyway. However, I am not sure if the backup will have to read the entire allocated space to find out if there are any pages to backup.
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 09-16-09, 12:31
db2udbgirl db2udbgirl is offline
Registered User
 
Join Date: Mar 2006
Location: Tuticorin, India
Posts: 100
Thanks.

I did a quick test and it backs up only 1 GB. I increased the HWM level of tablespace and noticed that backup size/time increase proporionately.

I think the backup uses the HWM to find out how many pages to backup instead of reading all allocated space.
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