Friday, November 7, 2008

OPEN_CURSORS

Property

Description

Parameter type

Integer

Default value

50

Modifiable

ALTER SYSTEM

Range of values

0 to 65535

Basic

Yes

OPEN_CURSORS specifies the maximum number of open cursors (handles to private SQL areas) a session can have at once. You can use this parameter to prevent a session from opening an excessive number of cursors.

It is important to set the value of OPEN_CURSORS high enough to prevent your application from running out of open cursors. The number will vary from one application to another. Assuming that a session does not open the number of cursors specified by OPEN_CURSORS, there is no added overhead to setting this value higher than actually needed.

Note:

1. It is important to have the value of OPEN_CURSORS set high enough to prevent your application from running out of open cursors otherwise ORA-1000 errors can occur.

2. Query for the current value of the parameter

select name, value, isdefault, isses_modifiable, issys_modifiable,

isinstance_modifiable, isdeprecated, description

from v$parameter

where upper(name) = ‘OPEN_CURSORS’;

NAME

VALUE

IS

DEFAULT

ISSES_

MODIFIABLE

ISSYS_

MODIFIABLE

ISINSTANCE_

MODIFIABLE

IS

DEPRECATED

DESCRIPTION

open_cursors

4000

FALSE

FALSE

IMMEDIATE

TRUE

FALSE

max # cursors per session

Oracle initializatoin parameters

No comments:

Post a Comment