Unix Technical Forum

lock escalation

This is a discussion on lock escalation within the DB2 forums, part of the Database Server Software category; --> I'm getting entries in the windows event log saying "DB2 is performing lock escalation" which of course is followed ...


Go Back   Unix Technical Forum > Database Server Software > DB2

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-27-2008, 02:03 PM
clilush
 
Posts: n/a
Default lock escalation

I'm getting entries in the windows event log saying "DB2 is performing
lock escalation" which of course is followed by another entrie saying
"The escalation of 'xxxx' locks on table 'SYSIBM .SYSCOLDIST' to
lock
intent 'X' was successful."
I'm assuming these are just warnings about the database making it's
own adjustments, but I thought I'd be sure before sweeping them under
the carpet. Any advice? (DB2 8 Workgroup Edition)

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-27-2008, 02:03 PM
Mark A
 
Posts: n/a
Default Re: lock escalation

On Aug 7, 10:44 pm, clilush <bill.shan...@gmail.com> wrote:
> I'm getting entries in the windows event log saying "DB2 is performing
> lock escalation" which of course is followed by another entrie saying
> "The escalation of 'xxxx' locks on table 'SYSIBM .SYSCOLDIST' to
> lock
> intent 'X' was successful."
> I'm assuming these are just warnings about the database making it's
> own adjustments, but I thought I'd be sure before sweeping them under
> the carpet. Any advice? (DB2 8 Workgroup Edition)


To minimize lock escalation, run the following command:

db2 update db cfg using locklist 4096

The make sure all users are disconnected from the database for it to
take effect.

The default of 100 (pages) is way too small for an OLTP database. If
you have a data warehouse, and the locks are read locks (S = share)
then leave it at 100 because lock escalation from row to table level
is actually more efficient since there will not be an contention with
multiple share locks.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:13 PM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com