PLSQL_CODE_TYPE specifies the compilation mode for PL/SQL library units.
Values:
INTERPRETED
PL/SQL library units will be compiled to PL/SQL bytecode format. Such modules are executed by the PL/SQL interpreter engine.
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.
本文转自
http://cs.ifmo.ru/~ad/Documentation/oracle-10g-lib-doc/server.101/b10755/initparams158.htm
Values:
INTERPRETED
PL/SQL library units will be compiled to PL/SQL bytecode format. Such modules are executed by the PL/SQL interpreter engine.
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.
本文转自
http://cs.ifmo.ru/~ad/Documentation/oracle-10g-lib-doc/server.101/b10755/initparams158.htm
本文详细介绍了PL/SQL中的两种编译模式:解释执行模式与本地代码模式。解释执行模式将PL/SQL库单元编译为字节码并由解释器执行;本地代码模式则将库单元直接编译为机器码,执行效率更高。
806

被折叠的 条评论
为什么被折叠?



