473,388 Members | 1,177 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

Online backup locking out processes...........

I thought that an online backup could always be run while other
processes with the database went about their business. However today I
noticed that certain processes in my production database were in a
lock-wait state because of the online backup. Why is this happening? I
had to kill the online backup to free up about six other processes
that were blocked.

Application handle = 508
Application ID = *LOCAL.hrprod.
081117142526
Sequence number = 0024
Application name = psae
CONNECT Authorization ID = DB2DBO
Application status = Lock-wait
Status change time = Not Collected
Application code page = 1208
Locks held = 14
Total wait time (ms) = 1779179

ID of agent holding lock = 223
Application ID holding lock = *LOCAL.hrprod.
081117121523
Lock name =
0x0079000000000000000000006F
Lock attributes = 0x00000000
Release flags = 0x40000000
Lock object type = Internal Online Backup
Lock
Lock mode = Exclusive Lock (X)
Lock mode requested = Share Lock (S)
Name of tablespace holding lock = TLAPP
Lock wait start timestamp = Not Collected

List Of Locks
Lock Name = 0x00000113000000010001BE0056
Lock Attributes = 0x00000000
Release Flags = 0x40000000
Lock Count = 1
Hold Count = 0
Lock Object Name = 0
Object Type = Internal Variation Lock
Mode = S

Lock Name = 0x53514C55464530374A18812441
Lock Attributes = 0x00000000
Release Flags = 0x40000000
Lock Count = 1
Hold Count = 0
Lock Object Name = 0
Object Type = Internal Plan Lock
Mode = S

Lock Name = 0x53514C55434530346DE2A8B441
Lock Attributes = 0x00000000
Release Flags = 0x40000000
Lock Count = 1
Hold Count = 0
Lock Object Name = 0
Object Type = Internal Plan Lock
Mode = S

Lock Name = 0x000000630015D7065CE9F80043
Lock Attributes = 0x00000000
Release Flags = 0x40000000
Lock Count = 3
Hold Count = 0
Lock Object Name = 0
Object Type = Internal Catalog Cache Lock
Mode = S

Lock Name = 0x53514C55424530339226891241
Lock Attributes = 0x00000000
Release Flags = 0x40000000
Lock Count = 1
Hold Count = 0
Lock Object Name = 0
Object Type = Internal Plan Lock
Mode = S

Lock Name = 0x000000630015D7060000000052
Lock Attributes = 0x00000000
Release Flags = 0x40000054
Lock Count = 10
Hold Count = 0
Lock Object Name = 1431302
Object Type = Row
Tablespace Name = SYSCATSPACE
Table Schema = SYSIBM
Table Name = SYSTABLES
Mode = NS

Lock Name = 0x0000010F000000010001A00056
Lock Attributes = 0x00000000
Release Flags = 0x40000000
Lock Count = 1
Hold Count = 0
Lock Object Name = 0
Object Type = Internal Variation Lock
Mode = S

Lock Name = 0x53514C554B453037C632454441
Lock Attributes = 0x00000000
Release Flags = 0x40000000
Lock Count = 1
Hold Count = 0
Lock Object Name = 0
Object Type = Internal Plan Lock
Mode = S

Lock Name = 0x53514C554F4530303504B43841
Lock Attributes = 0x00000000
Release Flags = 0x40000000
Lock Count = 1
Hold Count = 0
Lock Object Name = 0
Object Type = Internal Plan Lock
Mode = S

Lock Name = 0x53514C4445464C540763DD2841
Lock Attributes = 0x00000000
Release Flags = 0x40000000
Lock Count = 1
Hold Count = 0
Lock Object Name = 0
Object Type = Internal Plan Lock
Mode = S

Lock Name = 0x00000002000000000000000054
Lock Attributes = 0x00000000
Release Flags = 0x00000020
Lock Count = 1
Hold Count = 0
Lock Object Name = 2
Object Type = Table
Tablespace Name = SYSCATSPACE
Table Schema = SYSIBM
Table Name = SYSCOLUMNS
Mode = IS

Lock Name = 0x00790313000000000000000054
Lock Attributes = 0x00000000
Release Flags = 0x40000000
Lock Count = 255
Hold Count = 0
Lock Object Name = 787
Object Type = Table
Tablespace Name = TLAPP
Table Schema = DB2DBO
Table Name = PS_TL_COMP_BAL17
Mode = Z

Lock Name = 0x0000000E000000000000000054
Lock Attributes = 0x00000000
Release Flags = 0x00000010
Lock Count = 1
Hold Count = 0
Lock Object Name = 14
Object Type = Table
Tablespace Name = SYSCATSPACE
Table Schema = SYSIBM
Table Name = SYSRELS
Mode = IS

Lock Name = 0x00000063000000000000000054
Lock Attributes = 0x00000000
Release Flags = 0x40000054
Lock Count = 13
Hold Count = 0
Lock Object Name = 99
Object Type = Table
Tablespace Name = SYSCATSPACE
Table Schema = SYSIBM
Table Name = SYSTABLES
Mode = IS
Nov 17 '08 #1
2 4855
heyzulu59 wrote:
I thought that an online backup could always be run while other
processes with the database went about their business. However today I
noticed that certain processes in my production database were in a
lock-wait state because of the online backup. Why is this happening?
Do you have tables with LOB (BLOB/CLOB) columns stored in SMS tablespace
(s)? - If so, search for the description of "ONLINE" at http://
publib.boulder.ibm.com/infocenter/db2luw/v9r5/topic/
com.ibm.db2.luw.admin.cmd.doc/doc/r0001933.html

--
Troels

Nov 17 '08 #2
Jef
On Nov 17, 11:07*am, heyzul...@gmail.com wrote:
I thought that an online backup could always be run while other
processes with the database went about their business. However today I
noticed that certain processes in my production database were in a
lock-wait state because of the online backup. Why is this happening?
Other utilities such as RUNSTATS can also prevent online backup from
acquiring a lock.
Nov 18 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Arijit Chatterjee | last post by:
Dear Friends, I don't know anybody has asked this question before or not.But I need a support urgently.How to take online backup in MS Sql server 2000. Thanks Arijit Chatterjee
3
by: Almund Sebi | last post by:
(Using UDB 7.2 FP11). Given this output from LIST BACKUP HISTORY FOR MYDB: (It's an online backup image) > Op Obj Timestamp+Sequence Type Dev Earliest Log Current Log Backup ID > -- ---...
4
by: manwiththeaxe.70 | last post by:
I have recently begun to migrate our DB2 UDB v7.2 enterprise databases up to DB2 UDB v8.2. One question I can't seem to understand is why would I want to run an offline backup for a database now...
5
by: Gladiator | last post by:
Hai..... I have a database............ i took an online backup for tht..... After tht mistakenly i dropped the database.......... now i dont have the logs also....... now after i restore the...
3
by: Konstantin Andreev | last post by:
Hello, everybody. I've spent a lot of time reading "DB2 Information Center" and Raul Chong's book "Understanding DB2. Learning Visually with Examples", but still unable to answer this simple...
10
by: Konstantin Andreev | last post by:
Hello. Some time ago I asked in this conference, - How to use an ONLINE BACKUP to restore database onto another system? - but got no answers. Therefore I can conclude it is not possible. But......
4
by: Al | last post by:
We have a production DB that is running DB2 v8 fix pak 8. Some of configuration parameter on the primary DB config file is: Logretain = NO Userexit = NO Logarchmeth1 = Disk:/aa/bb/ccc/ when...
4
by: aj | last post by:
DB2 LUW v8.2 FP 14 RHAS 2.1 I have a DB2 online DB backup that was done w/ the INCLUDE LOGS option. I am interested in restoring that backup, and rolling forward ONLY the logs contained in the...
6
by: michael.spoden | last post by:
Hi, how can I fix lock-waits during an online backup? Is an online backup in DB2 V8.2 not realy online? I'm using DB2 V8.2 Fixpak 15 on Linux. The command to perform the backup is: db2 backup...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.