PLSQL_TIMEOUT
This attribute controls how long (in seconds) PL/SQL program units, including PL/SQL procedures, anonymous blocks and functions, are allowed to run before being automatically terminated.
This value can be modified with an ALTER SESSION statement, described in
                    Oracle TimesTen In-Memory Database SQL Reference. If this value is
                modified through ALTER SESSION, the new value impacts any PL/SQL
                program units that are currently running. For example:
                  
ALTER SESSION SET PLSQL_TIMEOUT=10;
Note:
- 
                           See Choose SQL and PL/SQL Timeout Values in Oracle TimesTen In-Memory Database Operations Guide for information about the relationship between TTC_Timeout,SQLQueryTimeout, andPLSQL_TIMEOUT.
- 
                           The frequency with which PL/SQL programs check execution time against this timeout value is variable. It is possible for programs to run significantly longer than the timeout value before being terminated. 
Required Privilege
No privilege is required to change the value of this attribute.
Usage in TimesTen Scaleout and TimesTen Classic
This attribute is supported in both TimesTen Classic and TimesTen Scaleout.Setting
Set PLSQL_TIMEOUT as follows:
                  
| Where to set the attribute | How the attribute is represented | Setting | 
|---|---|---|
| C or Java programs or UNIX and Linux systems  | 
 | A positive integer representing the number of seconds for the timeout value. A value of  The default value is  | 
| Windows ODBC Data Source Administrator | Not applicable | 
TTC_TCP_KEEPALIVE_TIME_MS.