![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
IN follow-up of a performance issue, we received a statspack report, which has "enqueue" as the FIRST top-5 wait event Time duration : 2 hours Enqueue : 62,000 / WaitTime ( CS )15,000,000 / Total % 74% Similar situation for a similar DB for anotehr application for another client. Referring to : http://otn.oracle.com/oramag/oracle/...o13expert.html initrans and maxtrans is set to 1 and 255 respectively. Any suggestions on how the wait-time on enqueue be reduced to minimal or negligible. Your responses are appreciated. Thanks, JK |
#3
| |||
| |||
|
|
If your sessions are waiting on the Enqueue event, then they are waiting for locks to be released before they can continue. So you'll have to revisit the application and see if you can reduce the lock contention. |
#4
| |||
| |||
|
|
"Brian Peasland" <oracle_dba (AT) remove_spam (DOT) peasland.com> wrote in message news:3EF89A3F.4E206DC7 (AT) remove_spam (DOT) peasland.com... If your sessions are waiting on the Enqueue event, then they are waiting for locks to be released before they can continue. So you'll have to revisit the application and see if you can reduce the lock contention. That or possibly depending on how your applications load and subsequently manipulate data, you may have insufficient transaction slots due to your initrans settings. You don't use bitmap indexes by any chance .... |
#5
| |||
| |||
|
|
"Richard Foote" <richard.foote (AT) bigpond (DOT) com> wrote in message news QhKa.1174$p8.42588 (AT) newsfeeds (DOT) bigpond.com..."Brian Peasland" <oracle_dba (AT) remove_spam (DOT) peasland.com> wrote in message news:3EF89A3F.4E206DC7 (AT) remove_spam (DOT) peasland.com... If your sessions are waiting on the Enqueue event, then they are waiting for locks to be released before they can continue. So you'll have to revisit the application and see if you can reduce the lock contention. That or possibly depending on how your applications load and subsequently manipulate data, you may have insufficient transaction slots due to your initrans settings. You don't use bitmap indexes by any chance .... Ooops, forgot to mention try tracing an affected session (10046 level 8/12 event) and suz out what specifically it's waiting on ... Richard |
#6
| |||
| |||
|
|
IN follow-up of a performance issue, we received a statspack report, which has "enqueue" as the FIRST top-5 wait event Time duration : 2 hours Enqueue : 62,000 / WaitTime ( CS )15,000,000 / Total % 74% Similar situation for a similar DB for anotehr application for another client. Referring to : http://otn.oracle.com/oramag/oracle/...o13expert.html initrans and maxtrans is set to 1 and 255 respectively. Any suggestions on how the wait-time on enqueue be reduced to minimal or negligible. Your responses are appreciated. Thanks, JK |
#7
| |||
| |||
|
|
Hi Daniel, Tom Kyte's oft recommended book has an excellent chapter on tracing using SQL_TRACE, TKPROFF and 10046 events. Most entertaining and enlightening. It worked for me. Unfortunately, I'm not withing 20 miles of said book (it's at home) so I can't give you chapter and verse I'm afraid. Cheers, Norman. PS. Its the Oracle 101 book ! PPS. It's on Wrox (-----Original Message----- From: Daniel Morgan [mailto:damorgan (AT) exxesolutions (DOT) com] Posted At: Wednesday, June 25, 2003 5:35 PM Posted To: server Conversation: Statspack and Enqueue wait times Subject: Re: Statspack and Enqueue wait times Looking for a good source I can point my students to with respect to tracing. Something more tutorial with step-by-step than the standard otn documents. Any suggestions will be appreciated. -- Daniel Morgan http://www.outreach.washington.edu/e...ad/oad_crs.asp damorgan@x.washington.edu (replace 'x' with a 'u' to reply) Chapter 10. DBMS_PROFILER is also covered in the same chapter. |
#8
| |||
| |||
|
|
Looking for a good source I can point my students to with respect to tracing. Something more tutorial with step-by-step than the standard otn documents. Any suggestions will be appreciated. |
#9
| |||
| |||
|
#10
| |||
| |||
|
|
Hi Daniel, Tom Kyte's oft recommended book has an excellent chapter on tracing using SQL_TRACE, TKPROFF and 10046 events. Most entertaining and enlightening. It worked for me. Unfortunately, I'm not withing 20 miles of said book (it's at home) so I can't give you chapter and verse I'm afraid. Cheers, Norman. PS. Its the Oracle 101 book ! PPS. It's on Wrox (-----Original Message----- From: Daniel Morgan [mailto:damorgan (AT) exxesolutions (DOT) com] Posted At: Wednesday, June 25, 2003 5:35 PM Posted To: server Conversation: Statspack and Enqueue wait times Subject: Re: Statspack and Enqueue wait times Looking for a good source I can point my students to with respect to tracing. Something more tutorial with step-by-step than the standard otn documents. Any suggestions will be appreciated. -- Daniel Morgan http://www.outreach.washington.edu/e...ad/oad_crs.asp damorgan@x.washington.edu (replace 'x' with a 'u' to reply) |
![]() |
| Thread Tools | |
| Display Modes | |
| |