Practice exercise

  1. Which component of the PL/SQL hierarchical profiler uploads the result of profiling into database tables?
    1. The Profiler component
    2. The Analyzer component
    3. The shared library component
    4. The Data collector component
  2. The plshprof utility is a SQL utility to generate a HTML profiler report from profiler tables in the database.
    1. True
    2. False
  3. Suppose that you are using Oracle 11g Release 2 express edition and you issue the following command:
    ALTER SESSION SET PLSQL_WARNINGS = 'ENABLE:ALL'
    /
    Session altered.
    ALTER FUNCTION FUNC COMPILE PLSQL_DEBUG=TRUE
    /
    Function altered.

    Determine the output of the following SELECT statement

    SELECT * FROM USER_ERRRORS
    /
    1. No output
    2. PLW-06015: parameter PLSQL_DEBUG is deprecated; use PLSQL_OPTIMIZE_LEVEL = 1
    3. PLW-06013: deprecated ...

Get Oracle Advanced PL/SQL Developer Professional Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.