473,770 Members | 1,870 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 =
0x0079000000000 000000000006F
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 = 0x0000011300000 0010001BE0056
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 = 0x53514C5546453 0374A18812441
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 = 0x53514C5543453 0346DE2A8B441
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 = 0x000000630015D 7065CE9F80043
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 = 0x53514C5542453 0339226891241
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 = 0x000000630015D 7060000000052
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 = 0x0000010F00000 0010001A00056
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 = 0x53514C554B453 037C632454441
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 = 0x53514C554F453 0303504B43841
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 = 0x53514C4445464 C540763DD2841
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 = 0x0000000200000 0000000000054
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 = 0x0079031300000 0000000000054
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_BAL1 7
Mode = Z

Lock Name = 0x0000000E00000 0000000000054
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 = 0x0000006300000 0000000000054
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 4908
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
5596
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
3360
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 > -- --- ------------------ ---- --- ------------ ------------ -------------- > B D 20040217102712001 N D S0000194.LOG S0000196.LOG > ---------------------------------------------------------------------------- and:
4
9477
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 that the online backup includes the necessary log files. Is there a reason why I would need or want to go through the hassle of getting exclusive control of a db for an offline backup?
5
1942
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 database it will be in rollforward pending state........ when i am rollforwarding it is saying cannot rollforward........ can anyone tell me how to bring the database back again........
3
2518
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 question. I need to perform the full database backup for at least these two goals: - to restore data onto developers' database system. - to ensure disaster recovery
10
3177
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... what can I do with "online backup", really ? What is it needed for ? I do not see any possibility to use this backup. Please, share your knowledge, if you can. Yes, I've read that since version 8.2 there is an option "INCLUDE LOSG" for "online...
4
5488
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 I ran: db2 backup DB <DBNAMEonline the command ran successful, I ran db2ckbkp on the backup, result is successful.
4
20499
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 backup and no more, then bringing the DB online. I do not want to use a userexit to try and retrieve additional logs - I only want to roll forward the logs in the backup. (In case you haven't guessed, I am restoring a test version of my
6
7721
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 db BPEDB online to / var/tmp During the backup the application hangs on just one table
0
9617
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9453
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10099
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10036
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8929
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7451
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6710
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5481
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3607
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.