473,395 Members | 1,458 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,395 software developers and data experts.

Online backup fails with sql0911

Occasionally, regular online backup fails with sql0911 reason 68,
"lock-timeout" seconds after the command is issued.
Normally a second try is successfull. The database is always in use.

Can someone technically explain why this happens, which locks (type,
scope) prevent a backup to start, and maybe, is there a workaround
(not affecting the applications).

db is on a 8.2 fp11 level, userexit on, i am backuping online to tsm.

Regards,
AF

Oct 25 '07 #1
5 2268
On Oct 24, 10:58 pm, andrejf <andrej.furla...@gmail.comwrote:
Occasionally, regular online backup fails with sql0911 reason 68,
"lock-timeout" seconds after the command is issued.
Normally a second try is successfull. The database is always in use.

Can someone technically explain why this happens, which locks (type,
scope) prevent a backup to start, and maybe, is there a workaround
(not affecting the applications).

db is on a 8.2 fp11 level, userexit on, i am backuping online to tsm.

Regards,
AF

You must have somebody exclusive locked some table/row, backup wait
until itself timeout.
try set the LOCKTIMEOUT higher, so that backup will wait longer for
your other application to finish its work.

Oct 25 '07 #2

but that value is set at DB CFG level. It will be applicable across
application, or am I missing something?

rgds,
dotyet

On Oct 25, 10:06 am, shenan...@gmail.com wrote:
On Oct 24, 10:58 pm, andrejf <andrej.furla...@gmail.comwrote:
Occasionally, regular online backup fails with sql0911 reason 68,
"lock-timeout" seconds after the command is issued.
Normally a second try is successfull. The database is always in use.
Can someone technically explain why this happens, which locks (type,
scope) prevent a backup to start, and maybe, is there a workaround
(not affecting the applications).
db is on a 8.2 fp11 level, userexit on, i am backuping online to tsm.
Regards,
AF

You must have somebody exclusive locked some table/row, backup wait
until itself timeout.
try set the LOCKTIMEOUT higher, so that backup will wait longer for
your other application to finish its work.

Oct 25 '07 #3
On Oct 24, 7:58 pm, andrejf <andrej.furla...@gmail.comwrote:
Occasionally, regular online backup fails with sql0911 reason 68,
"lock-timeout" seconds after the command is issued.
Normally a second try is successfull. The database is always in use.
Does the table have xLOBs in it?

Oct 27 '07 #4
On 27 okt., 04:46, "dean.cochr...@gmail.com" <dean.cochr...@gmail.com>
wrote:
On Oct 24, 7:58 pm, andrejf <andrej.furla...@gmail.comwrote:
Occasionally, regular online backup fails with sql0911 reason 68,
"lock-timeout" seconds after the command is issued.
Normally a second try is successfull. The database is always in use.

Does the table have xLOBs in it?
Not in user tables (there are some in sysibm.*). But we use some long
varchars...

Oct 29 '07 #5
Does the table have xLOBs in it?
>
Not in user tables (there are some in sysibm.*). But we use some long
varchars...
I don't think it's the same issue, then, sadly. We had a number of
clients with this issue. There are cases where locks will be held in
tables with LOBs in them in SMS tablespaces, and these can cause
online backups to fail. I understand that this has been fixed in 9.x,
but is still an issue in 8.x. This is not an issue if you are using
DMS tablespaces.

Oct 29 '07 #6

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
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...
1
by: Najm | last post by:
Hi All, I am facing this issue very frist time. I add a logical device as following: USE master GO EXEC sp_addumpdevice 'disk', 'AdvWorksData',
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......
0
by: Massimiliano Campagnoli | last post by:
I am trying to backup sample database to network drive J:\ which maps to a SAMBA share. The first time the backup is successfull but the the next time fails. I've to delete J:\sample.0 if I want...
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...
2
by: alex250374 | last post by:
Hi all, db2 9.1 fixpak 0 aix 5.3 I have a big problem every time I start an online backup with include logs via veritas comes out an error!!! The db2diag shows:...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
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...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.