

Pinning will prevent them from being flushed out due to inactivity and aging and will therefore prevent them for needing to be reloaded in the future i.e. You can use the following artcile to advise on this:ĭocument 726780.1 How to Pin a Cursor in the Shared Pool using DBMS_SHARED_POOL.KEEP In some cases, it may be possible to avoid problems with Authentication SQL by pinning such statements in the Shared Pool soon after the instance is started and they are freshly loaded. _enable_shared_pool_durations=false see Note 7039896.8 Unpublished Bug 7039896 workaround parameter

Symptoms of such hangs will be seen by the authenticating session as waits for: It follows that any problem encountered during these phases which appears as a hang or severe slow performance may result in a timeout. The above SQL statements need to be Parsed, Executed and Fetched as happens for all SQL inside an Oracle Database. Differences may also exist from release to release. NOTE: The list of SQL above is not complete and does not represent the ordering of the authentication SQL. 'DD-MON-RR HH.MI.SSXFF AM' NLS_TIME_TZ_FORMAT= 'HH.MI.SSXFF AM TZR' NLS_TIMESTAMP_TZ_FORMAT= NLS_COMP= 'BINARY' NLS_DUAL_CURRENCY= '$' NLS_TIME_FORMAT= 'HH.MI.SSXFF AM' NLS_TIMESTAMP_FORMAT= NLS_DATE_FORMAT= 'DD-MON-RR' NLS_DATE_LANGUAGE= 'AMERICAN' NLS_SORT= 'BINARY' TIME_ZONE= '+02:00' NLS_ISO_CURRENCY= 'AMERICA' NLS_NUMERIC_CHARACTERS= '.,' NLS_CALENDAR= 'GREGORIAN' Select privilege# from sysauth$ where (grantee#=:1 or grantee#=1) and privilege#>0ĪLTER SESSION SET NLS_LANGUAGE= 'AMERICAN' NLS_TERRITORY= 'AMERICA' NLS_CURRENCY= '$' INSTANCE_NUMBER, STARTUP_TIME, SYS_CONTEXT('USERENV', 'DB_DOMAIN')įrom v$instance where INSTANCE_NAME=SYS_CONTEXT('USERENV', 'INSTANCE_NAME') SYS_CONTEXT('USERENV', 'INSTANCE_NAME'), SYS_CONTEXT('USERENV', 'SERVICE_NAME'),

Select SYS_CONTEXT('USERENV', 'SERVER_HOST'), SYS_CONTEXT('USERENV', 'DB_UNIQUE_NAME'), Select privilege#,level from sysauth$ connect by grantee#=prior privilege#Īnd privilege#>0 start with grantee#=:1 and privilege#>0

on 10.2 are: select value$ from props$ where name = 'GLOBAL_DB_NAME' Some of the SQL statements in this list e.g. The authentication is not complete until all these are parsed, executed, fetched completely. When a database session is in the authentication phase, it will issue a sequence of SQL statements. WARNING: inbound connection timed out (ORA-3136). On a timeout, the client program will receive the ORA-3135 (or possibly TNS-3135) error:Īnd the database will log the ORA-3136 error in its alert.log: Starting with Oracle 10.2, the default for these parameters is 60 seconds where in previous releases it was 0, meaning no timeout. SQLNET.INBOUND_CONNECT_TIMEOUT and/or INBOUND_CONNECT_TIMEOUT_ server-side parameters. Connection Timeout errors ORA-3135 and ORA-3136Ī connection timeout error can be issued when an attempt to connect to the database does not complete its connection and authentication phases within the time period allowed by the following:
