So if you’re seeking another reason to upgrade to Oracle Database 10g, the need to deal with that slow PL/SQL may be the answer.
The compiler has three optimization levels, as shown in here:
Level Meaning
0 No optimization
1 Medium optimization and compile times
2 Best optimization; slowest compile times (default)
Level 2, which gives the most optimization, is the default. If you need to set the optimization down for any reason (such as to compile faster), you can use code similar to the following:
alter session
set PLSQL_OPTIMIZE_LEVEL = 1;
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.