![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Below is a iiprtqry.log fragment from eod processing: Log file: Query Response Time: Thu Mar 3 21:27:29 2005 time=54 seconds Query text: commit Query Send Time: Thu Mar 3 21:26:35 2005 Query Response Time: Thu Mar 3 21:27:29 2005 ================================ Log file: Query Response Time: Thu Mar 3 21:28:58 2005 time=81 seconds Query text: commit Query Send Time: Thu Mar 3 21:27:37 2005 Query Response Time: Thu Mar 3 21:28:58 2005 What can be the cause of the commit statement taking so much time? |
#3
| |||
| |||
|
|
Piotr.Wisniewski (AT) breat (DOT) com.pl> wrote in message news:mailman.1109941650.10874.info-ingres (AT) cariboulake (DOT) com... Below is a iiprtqry.log fragment from eod processing: Log file: Query Response Time: Thu Mar 3 21:27:29 2005 time=54 seconds Query text: commit Query Send Time: Thu Mar 3 21:26:35 2005 Query Response Time: Thu Mar 3 21:27:29 2005 ================================ Log file: Query Response Time: Thu Mar 3 21:28:58 2005 time=81 seconds Query text: commit Query Send Time: Thu Mar 3 21:27:37 2005 Query Response Time: Thu Mar 3 21:28:58 2005 What can be the cause of the commit statement taking so much time? Beats me. Is this being logged by a remote client, and is your network busy/saturated? This is WAY beyond what you'd see if it was something like a lack of log writer threads or long locklists. If your network is not busy I'd have to say this looks like a bug. Version? |
#4
| |||
| |||
|
|
Below is a iiprtqry.log fragment from eod processing: Log file: Query Response Time: Thu Mar 3 21:27:29 2005 time=54 seconds Query text: commit Query Send Time: Thu Mar 3 21:26:35 2005 Query Response Time: Thu Mar 3 21:27:29 2005 ================================ Log file: Query Response Time: Thu Mar 3 21:28:58 2005 time=81 seconds Query text: commit Query Send Time: Thu Mar 3 21:27:37 2005 Query Response Time: Thu Mar 3 21:28:58 2005 What can be the cause of the commit statement taking so much time? |
#5
| |||
| |||
|
#6
| |||
| |||
|
|
Below is a iiprtqry.log fragment from eod processing: Log file: Query Response Time: Thu Mar 3 21:27:29 2005 time=54 seconds Query text: commit Query Send Time: Thu Mar 3 21:26:35 2005 Query Response Time: Thu Mar 3 21:27:29 2005 ================================ Log file: Query Response Time: Thu Mar 3 21:28:58 2005 time=81 seconds Query text: commit Query Send Time: Thu Mar 3 21:27:37 2005 Query Response Time: Thu Mar 3 21:28:58 2005 What can be the cause of the commit statement taking so much time? |
#7
| |||
| |||
|
|
There are 4 dbms servers running (one for every db) Fast_commit=ON Log_writer=16 [snip] Log read i/o's 554407 Log write i/o's 560558 Log writes 9391333 Log forces 69833 Log waits 209995 Log split waits 0 Log free waits 0 Log stall waits 19 Log BCP waits 19 Logfull stall waits 0 Log group commit 103039 Log group count 117938 Check commit timer 91182 Timer write 91000 Timer write, time 105 Timer write, idle 90895 Inconsistent db 0 Kbytes written 853651 ii_log_file read 554407 ii_dual_log read 0 write complete 560561 dual write complete 0 All logwriters busy 31101 Max write queue len 3584 Max write queue cnt 1 |
#8
| |||
| |||
|
|
There are 4 dbms servers running (one for every db) Fast_commit=ON Log_writer=16 Ingress version: valid 9915 1 II 2.6/0305 (su4.us5/00) the session runs on the same machine as the server. Logststat: Database add 34128 Database removes 33966 Transaction begins 1102643 Transaction ends 1102419 Log read i/o's 554407 Log write i/o's 560558 Log writes 9391333 Log forces 69833 Log waits 209995 Log split waits 0 Log free waits 0 Log stall waits 19 Log BCP waits 19 Logfull stall waits 0 Log group commit 103039 Log group count 117938 Check commit timer 91182 Timer write 91000 Timer write, time 105 Timer write, idle 90895 Inconsistent db 0 Kbytes written 853651 ii_log_file read 554407 ii_dual_log read 0 write complete 560561 dual write complete 0 All logwriters busy 31101 Max write queue len 3584 Max write queue cnt 1 -- |
#9
| |||
| |||
|
|
Logststat: Database add 34128 Database removes 33966** Transaction begins 1102643 Transaction ends 1102419** Log read i/o's 554407 Log write i/o's 560558** Log writes 9391333 Log forces 69833** Log waits 209995 Log split waits 0** Log free waits 0 Log stall waits 19** Log BCP waits 19 Logfull stall waits 0** Log group commit 103039 Log group count 117938** Check commit timer 91182 Timer write 91000** Timer write, time 105 Timer write, idle 90895** Inconsistent db 0 Kbytes written 853651** ii_log_file read 554407 ii_dual_log read 0** write complete 560561 dual write complete 0** All logwriters busy 31101 Max write queue len 3584 Max write queue cnt 1** |
#10
| |||
| |||
|
|
Hi Piotr, That looks pretty good. You clearly have a lot of buffers configured. At least 3584 and have only managed to use that many once. 16 log writer threads may be a bit small for that number of buffers. It might be worthwhile trying to increase that value substantially given the number of times we see 'All logwriters busy'. You might like to check how many threads your allowed to start first. |
|
Also is the log file coooked or raw? Have you checked for any errrors on the log disk itself? Can you tie the long commit to a specific query or is it general? Marty |
![]() |
| Thread Tools | |
| Display Modes | |
| |