Connecting Tech Pros Worldwide Help | Site Map
 
 
LinkBack Thread Tools Search this Thread
  #1  
Old November 12th, 2005, 11:38 AM
bughunter@ru
Guest
 
Posts: n/a
Default locks_held_top - Maximum Number of Locks Held monitor element

Description
The maximum number of locks held during this transaction.


It's not true. :-( When I tried found longest transactions I see
next picture:

uow_start_time T1, uow_stop T2, locks_held_top > 0

In monitor for statements

- connect
- declare/open/fetch
- close cursor (isolation CS or UR, readonly)
(T1) - commit
(T2) - commit

Between T1 and T2 no activities. But Locks_held_top > 0.

Bug or feature?

Andy

  #2  
Old November 12th, 2005, 11:38 AM
Sean McKeough
Guest
 
Posts: n/a
Default Re: locks_held_top - Maximum Number of Locks Held monitor element

How do you know you don't have catalog table or package locks? Get a
lock snapshot snapshot for the application to see what locks you're holding.

bughunter@ru wrote:[color=blue]
> Description
> The maximum number of locks held during this transaction.
>
>
> It's not true. :-( When I tried found longest transactions I see
> next picture:
>
> uow_start_time T1, uow_stop T2, locks_held_top > 0
>
> In monitor for statements
>
> - connect
> - declare/open/fetch
> - close cursor (isolation CS or UR, readonly)
> (T1) - commit
> (T2) - commit
>
> Between T1 and T2 no activities. But Locks_held_top > 0.
>
> Bug or feature?
>
> Andy
>[/color]
  #3  
Old November 12th, 2005, 11:38 AM
bughunter@ru
Guest
 
Posts: n/a
Default Re: locks_held_top - Maximum Number of Locks Held monitor element

It's not possible and not interested AFTER T2. I need get snapshot
between T1 and T2. I will try catch this situation through periodical
snapshot.

  #4  
Old November 12th, 2005, 11:40 AM
bughunter@ru
Guest
 
Posts: n/a
Default Re: locks_held_top - Maximum Number of Locks Held monitor element

I catch and see for applications

By monitor: locks_help_top - 18

By snapshot for locks:

Application idle time = 5 hours 52 minutes 1
second
Locks held by application = 0
Number of SQL requests since last commit = 0
UOW completion status = Committed - Commit
Statement
Statement type = Static SQL Statement
Statement = Static Commit

No locks in this transaction :-(

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 205,174 network members.