 |
|
plsql_code_type tips
Oracle Tips by Burleson |
Oracle plsql_code_type
Parameter type – String
Syntax – plsql_code_type = {INTERPRETED |
NATIVE}
Default value – plsql_code_type INTERPRETED
Modifiable – ALTER SESSION, ALTER SYSTEM
plsql_code_type specifies
the compilation mode for PL/SQL library units.
Values:
-
plsql_code_type INTERPRETED
– PL/SQL library units will be
compiled to PL/SQL bytecode format. The PL/SQL interpreter
engine executes such modules.
-
plsql_code_type NATIVE – PL/SQL library units
(with the possible exception of top-level anonymous PL/SQL
blocks) will be compiled to native (machine) code. Such modules
will be executed natively without incurring any interpreter
overhead.
When the value of this parameter is changed, it
has no effect on PL/SQL library units that have already been
compiled. The value of this parameter is stored persistently with
each library unit. If a PL/SQL library unit is compiled native, all
subsequent automatic recompilations of that library unit will use
native compilation.
|