Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How Many Cursors are Really Open?

Status
Not open for further replies.

JohnnyProd

Technical User
Sep 25, 2001
12
0
0
US
In determining the number of open cursors at any given time I have come accross two methods that yeild different resluts.

1) Select value from SYS.V_$SYSSTAT where Name='opened cursors current'
- yields 451

2) Select count(*) from sys.v_$open_cursor
- yeilds 397


What is the difference between these two? The best theory I have now is that sys.v_$open_cursor is hiding some open cursors from me. Can anyone confirm or debunk this?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top