Chapter 8, Compiling and Tuning to Improve Performance
Question No. |
Answer |
Explanation |
---|---|---|
1 |
a and b |
Interpreted compilation mode is preferred when a program unit is in development stage and involves SQL statement processing. |
2 |
c and d |
The Real Native compilation method removes the dependency on C compiler to generate DLL for the program unit. Instead, the native DLLs are stored in the database dictionary itself. As the DLLs are stored in the dictionary, they can be a part of the normal backup and recovery. |
3 |
b |
The |
4 |
b and c |
The |
5 |
a and c |
Usage of |
6 |
d |
Inlining of subprograms is only supported at optimization level greater than one. |
7 |
b and c |
The |
8 |
b |
The DLLs generated from the Real Native compilation are stored in the |
9 |
a and d |
The
Usage of appropriate data types to avoid implicit typecasting improves performance. |
10 |
a, c, and d |
|