database takes long time to process

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications database takes long time to process
# 1  
Old 09-18-2012
database takes long time to process

Hi,

we currently having a issue where when we send jobs to the server for the application lawson, it is taking a very long time to complete. here are the last few lines of the database log.

Code:
 
2012-09-18-10.35.55.707279-240 E244403536A576     LEVEL: Warning
PID     : 950492               TID  : 27243       PROC : db2sysc 0
INSTANCE: <INSTANCE>               NODE : 000         DB   : <INSTANCE>D1
APPHDL  : 0-506                APPID: GA65441A.ED3B.120918135356
AUTHID  : <user>
EDUID   : 27243                EDUNAME: db2agent (<INSTANCE>D1) 0
FUNCTION: DB2 UDB, lock manager, sqlpRefillAgentLRBCache, probe:1000
DATA #1 : <preformatted>
Locklist has synchronously grown into overflow memory to avoid lock escalation.
Previous locklist size: 2464
Current locklist size: 2592
2012-09-18-10.35.56.563842-240 E244404113A563     LEVEL: Warning
PID     : 950492               TID  : 27243       PROC : db2sysc 0
INSTANCE: <INSTANCE>               NODE : 000         DB   : <INSTANCE>D1
APPHDL  : 0-506                APPID: GA65441A.ED3B.120918135356
AUTHID  : <USER>
EDUID   : 27243                EDUNAME: db2agent (<INSTANCE>D1) 0
FUNCTION: DB2 UDB, lock manager, sqlpCheckAndDecreaseLocklistOverflowUsag, probe:80
DATA #1 : <preformatted>
Locklist overflow reduced.
Previous locklist size: 4160   New locklist size: 2336
Pages still in overflow: 0
2012-09-18-10.47.25.221334-240 I244404677A513     LEVEL: Info
PID     : 950492               TID  : 119764      PROC : db2sysc 0
INSTANCE: <INSTANCE>               NODE : 000         DB   : <INSTANCE>D1
APPHDL  : 0-11                 APPID: *LOCAL.DB2.120918060823
AUTHID  : <INSTANCE>
EDUID   : 119764               EDUNAME: db2stmm (<INSTANCE>D1) 0
FUNCTION: DB2 UDB, buffer pool services, sqlbAlterBufferPoolAct, probe:90
MESSAGE : Altering bufferpool "BPTAB_4K" From: "14608" <automatic> To: "21912"
          <automatic>
2012-09-18-10.53.52.459546-240 E244405191A576     LEVEL: Warning
PID     : 950492               TID  : 27243       PROC : db2sysc 0
INSTANCE: <INSTANCE>               NODE : 000         DB   : <INSTANCE>D1
APPHDL  : 0-506                APPID: GA65441A.ED3B.120918135356
AUTHID  : <USER>
EDUID   : 27243                EDUNAME: db2agent (<INSTANCE>D1) 0
FUNCTION: DB2 UDB, lock manager, sqlpRefillAgentLRBCache, probe:1000
DATA #1 : <preformatted>
Locklist has synchronously grown into overflow memory to avoid lock escalation.
Previous locklist size: 2464
Current locklist size: 2592
2012-09-18-10.53.53.057578-240 E244405768A563     LEVEL: Warning
PID     : 950492               TID  : 27243       PROC : db2sysc 0
INSTANCE: <INSTANCE>               NODE : 000         DB   : <INSTANCE>D1
APPHDL  : 0-506                APPID: GA65441A.ED3B.120918135356
AUTHID  : <USER>
EDUID   : 27243                EDUNAME: db2agent (<INSTANCE>D1) 0
FUNCTION: DB2 UDB, lock manager, sqlpCheckAndDecreaseLocklistOverflowUsag, probe:80
DATA #1 : <preformatted>
Locklist overflow reduced.
Previous locklist size: 4256   New locklist size: 2336
Pages still in overflow: 0

does anything here look odd?
# 2  
Old 09-18-2012
I do not know db2 that well, but you appear to have excessive lock contention.
This means a lot of processes are trying to select/insert/execute (pick one) a single database object. It probably means one process is sitting inactive on the object for a long time.

Users who login, then start DB work, but take a break can cause this. Their process can have a lock which does not get released until they complete the transaction they started. We have users who do not log off overnight and leave screens open. We kill off processes like that to prevent lock contention.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Transfer file from a server takes long time

It takes 6 hrs for a 90 GB zip file that i am copying / transferring from serverA onto serverB. scp user1@serverA:/opt/setup/cash.zip . Output: cash.zip 21% 19GB 4.7MB/s 4:11:46 ETA uname -a SunOS serverB 5.11 11.2 sun4v sparc sun4vCan you please suggest if i could do... (11 Replies)
Discussion started by: mohtashims
11 Replies

2. Shell Programming and Scripting

Wget takes a long time to complete

Hi, I wish to check the return value for wget $url. However, some urls are designed to take 45 minutes or more to return. All i need to check if the URL can be reached or not using wget. How can i get wget to return the value in a few seconds ? (8 Replies)
Discussion started by: mohtashims
8 Replies

3. Shell Programming and Scripting

sort takes a long time

Dear experts I have a 200MG text file in this format: text \tab number I try to sort using options -fd and it takes very long! is that normal or I can speed it up in some ways? I dont want to split the file since this one is already splitted. I use this command: sort -fd file >... (12 Replies)
Discussion started by: voolek
12 Replies

4. UNIX for Dummies Questions & Answers

Changing Password process takes a long time

We are running unix. After a reboot of the server we have found that changing password takes a long time. if type in passwd "username" you can type in the 1st instance of the password , press enter , then it will wait for about 3 minutes before bringing up the confirm password line typing it in... (4 Replies)
Discussion started by: AIXlewis
4 Replies

5. UNIX for Dummies Questions & Answers

time how long it takes to load a module

Hello, like the title says, how can i measure the time it takes to load a module in Linux, and how how can i measure the time it takes to load a statically compiled module. /Best Regards Olle ---------- Post updated at 01:13 PM ---------- Previous update was at 11:54 AM ---------- For... (0 Replies)
Discussion started by: ollebanan
0 Replies

6. Linux

it takes long time to login on server

Hi, I am trying to login using ssh on Red Hat Linux 5 server, The password appears immediately but after I enter the password it takes about 90 seconds to login completely. Please suggest what changes require? Regards, Manoj (4 Replies)
Discussion started by: manoj.solaris
4 Replies

7. Shell Programming and Scripting

shell script takes long time to complete

Hi all, I wrote this shell script to validate filed numbers for input file. But it take forever to complete validation on a file. The average speed is like 9mins/MB. Can anyone tell me how to improve the performance of a shell script? Thanks (12 Replies)
Discussion started by: ozzman
12 Replies

8. Shell Programming and Scripting

Killing a process that takes too long

Hello, I have a C program that takes anywhere from 5 to 100 arguments and I'd like to run it from a script that makes sure it doesnt take too long to execute. If the C program takes more than 5 seconds to execute, i would like the shell script to kill it and return a short message to the user. ... (3 Replies)
Discussion started by: WeezelDs
3 Replies

9. UNIX for Advanced & Expert Users

Interrupt signal Control C takes too long to terminate a process

I have a process to terminate, and when keying Control C/ kill -int , it takes 15 minutes to half an hour to terminate the process. I've tried using kill -2, or keying control c twice, however the process seem to be killed abruptly, without writing into the log file. So the only way in order to... (8 Replies)
Discussion started by: paqui
8 Replies

10. Programming

fwrite takes extremely long time

After my previous thread, I think I found out what causes the long delays. I run this program on several Linux computers, and the sometimes (after the file with the arrays becomes big) the fwrite takes between 100 ms to 900 ms. This is very bad for me, as I want a timer to halt each 30 ms.... ... (5 Replies)
Discussion started by: inna
5 Replies
Login or Register to Ask a Question