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 > System freeze during online backup

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-06-04, 12:13
dollar489 dollar489 is offline
Registered User
 
Join Date: Sep 2002
Posts: 456
System freeze during online backup

DB: DB2 UDB V7 FP9
OS: MS Windows 2000

Hi guys:

Is there any known problem with taking online backup of a database which has all SMS tablespaces? We have one database around 10G and everytime we take backup it uses up all the system resources.

I have been recently asked to investigate the issue so I haven't seen this behaviour myself but I don't have the go ahead to take the backup and caue diruption to our prod systems. So please suggest any log file to look etc.

Thanks in advance.

dollar
Reply With Quote
  #2 (permalink)  
Old 01-06-04, 13:10
cchattoraj cchattoraj is offline
Registered User
 
Join Date: Mar 2003
Posts: 343
Don't know about windows, but on aix we have a multi-TB system with all SMS tablespaces which backs up online every weekend.

Some things which come to mind are :
a] It would help to know what exactly maxes out - memory? CPU? And what happens - dos th backup fail?
b] What is the backup statement?
c] What are you backing up to (disk, vendor, TSM?)
d] What is the util_heap for this database set to?
Reply With Quote
  #3 (permalink)  
Old 01-06-04, 13:17
dollar489 dollar489 is offline
Registered User
 
Join Date: Sep 2002
Posts: 456
Thanks for the quick response and here are some of the answers you seeking:

a. Backup does not fail, but it just takes long and does not allow other applications to do anything, even though it's online.
b. Backup statement is: db2 backup database xxxx user test using test online to \\xx.xx.xx.xx\backup\
c. We are backing up to a network drive
d. Utility heap size is set to 5000 4k pages.

Other thing is, we have many columns with BLOB datatype, could that affect the backup?

dollar


Quote:
Originally posted by cchattoraj
Don't know about windows, but on aix we have a multi-TB system with all SMS tablespaces which backs up online every weekend.

Some things which come to mind are :
a] It would help to know what exactly maxes out - memory? CPU? And what happens - dos th backup fail?
b] What is the backup statement?
c] What are you backing up to (disk, vendor, TSM?)
d] What is the util_heap for this database set to?
Reply With Quote
  #4 (permalink)  
Old 01-06-04, 13:41
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,198
Is the BLOB defined with the LOGGED option?
__________________
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
  #5 (permalink)  
Old 01-06-04, 13:56
dollar489 dollar489 is offline
Registered User
 
Join Date: Sep 2002
Posts: 456
Yes, all the BLOB columns are defined with LOGGED option. Why does it matter?

dollar

Quote:
Originally posted by Marcus_A
Is the BLOB defined with the LOGGED option?
Reply With Quote
  #6 (permalink)  
Old 01-06-04, 18:13
cchattoraj cchattoraj is offline
Registered User
 
Join Date: Mar 2003
Posts: 343
I do not know the implications of BLOBs on online backups.

Some things which come to mind are
a] Try playing with the num buffers and buffersize parms in conjuntion with the util_heap
b] Since the backup is going to a networked drive I would check on the network and how well it is utilized and tuned for this kind of use.

What really stumps me is the fact that other applications cannot connect during the online backup.
Reply With Quote
  #7 (permalink)  
Old 01-06-04, 18:24
dollar489 dollar489 is offline
Registered User
 
Join Date: Sep 2002
Posts: 456
Sorry, if I wasn't clear earlier but other applications can connect but are not able to do anything. I don't have any log or snapshot information to investigate to make matter worse.

The purpose of my posting was to find out if anybody else out there have witnessed the same problem with V7 FP3 or FP9.

dollar

Quote:
Originally posted by cchattoraj
I do not know the implications of BLOBs on online backups.

Some things which come to mind are
a] Try playing with the num buffers and buffersize parms in conjuntion with the util_heap
b] Since the backup is going to a networked drive I would check on the network and how well it is utilized and tuned for this kind of use.

What really stumps me is the fact that other applications cannot connect during the online backup.
Reply With Quote
  #8 (permalink)  
Old 01-07-04, 10:16
jsander jsander is offline
Registered User
 
Join Date: Apr 2003
Posts: 191
Hi,

online backup locks tables with blobs until after backup. This holds for not logged blobs, at least. Don't know if this is different if they are logged.

Johann

Quote:
Originally posted by dollar489
Yes, all the BLOB columns are defined with LOGGED option. Why does it matter?

dollar
Reply With Quote
  #9 (permalink)  
Old 01-07-04, 10:27
dollar489 dollar489 is offline
Registered User
 
Join Date: Sep 2002
Posts: 456
Yes, you are right. I found this piece in DB2 documentation as well:

DB2BACKUP_ONLINE
Online allows database access by other applications while the backup operation occurs.

Note:
An online backup operation may appear to hang if users are holding locks on SMS LOB data.


I think we need to somehow figure a way to minimize the disruption caused by the backup or alter the columns with NOT LOGGED option.

Thanks.

dollar

Quote:
Originally posted by jsander
Hi,

online backup locks tables with blobs until after backup. This holds for not logged blobs, at least. Don't know if this is different if they are logged.

Johann
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