2.363 THREADED_EXECUTION

THREADED_EXECUTION specifies whether to enable the multithreaded Oracle model.

Property Description

Parameter type

Boolean

Default value

On UNIX and Linux: false

On Windows: true

Modifiable

No

Modifiable in a PDB

No

Range of values

true | false

Basic

No

Oracle RAC

If specified, all instances must use the same value

THREADED_EXECUTION on UNIX and Linux

Oracle Database 12c introduced the THREADED_EXECUTION initialization parameter for databases running on UNIX and Linux systems. On such databases, the default value for THREADED_EXECUTION is false. Setting this parameter to true enables the multithreaded Oracle model, which allows Oracle processes on UNIX and Linux to run as operating system threads in separate address spaces.

By default, some background processes on UNIX and Linux always use threaded execution; the remaining Oracle processes run as operating system processes. Thus, an "Oracle process" is not always equivalent to an "operating system process."

Note:

When THREADED_EXECUTION is set to true on databases running on UNIX and Linux systems, which enables the multithreaded Oracle model, operating system authentication is not supported. Attempts to connect to the database using operating system authentication (for example, CONNECT / AS SYSDBA or CONNECT / ) when this initialization parameter is set to true receive an ORA-01031 "insufficient privileges" error.

The solution to this error is to always use the password when connecting to the database.

Also, when this initialization parameter is set to true on databases running on UNIX and Linux systems, the DEDICATED_THROUGH_BROKER_listener-name=ON parameter should be added to the listener.ora file, where listener-name is the name of the Oracle Net listener and the LOCAL_LISTENER initialization parameter should be set to a TNS name entry corresponding to your instance service. This enables the server to spawn threads when connections to the database are requested through the listener.

THREADED_EXECUTION on Windows

Starting with Oracle Database 21c, the THREADED_EXECUTION initialization parameter is supported for databases running on Microsoft Windows. On such databases, this parameter must remain set to its default value of true; setting this parameter to false on databases running on Windows is not supported. The introduction of this parameter does not change the threading model for Oracle database on Windows. As in previous releases, an Oracle Database server instance on Windows is a service with a single multi-threaded operating system process. However, starting with Oracle Database 21c, you will observe changes to the V$PROCESS view, the dedicated connection broker, and the naming of trace files. For details about these changes, refer to Oracle Database Administrator’s Reference for Microsoft Windows.

Note:

Unlike on UNIX and Linux systems, when THREADED_EXECUTION is set to true on Windows, operating system authentication is supported.

See Also: