V$SESSION_CURSOR_CACHE
displays information on cursor usage for the current session.
Column | Datatype | Description |
|
| Maximum number of cursors to cache. Once you hit this number, some cursors will need to be closed in order to open more. The value in this column is derived from the initialization parameter |
|
| Current number of cursors (whether they are in use or not) |
|
| Cumulative total of cursor opens minus one. This is because the cursor that is currently open and being used for this query is not counted in the |
|
| Cumulative total of cursor open hits |
|
| Ratio of the number of times an open cursor was found divided by the number of times a cursor was sought |
Note:
1. The V$SESSION_CURSOR_CACHE
view is not a measure of the effectiveness of the SESSION_CACHED_CURSORS
initialization parameter.
2. To get view definition:
SELECT view_definition FROM v$fixed_view_definition
WHERE view_name='V$SESSION_CURSOR_CACHE';
3.
SELECT * FROM V$SESSION_CURSOR_CACHE;
MAXIMUM | COUNT | OPENED_ONCE | OPEN | OPENS | HITS | HIT_RATIO |
50 | 4 | 4 | 0 | 43 | 43 | 1 |
No comments:
Post a Comment