My Oracle Support Banner

"PLSQL_PROFILER_UNITS Table Showing Anonymous Block Entry Only" When a natively compiled PL/SQL code is profiled (Doc ID 2739297.1)

Last updated on JANUARY 04, 2021

Applies to:

PL/SQL - Version 12.1.0.2 and later
Information in this document applies to any platform.

Symptoms

When a natively compiled PL/SQL code is profiled using the PL/SQL package DBMS_PROFILER ,e.g.:
The PLSQL_PROFILER_UNITS table holds the units name as <anonymous> even though it is not a anonymous block in the UNIT_NAME column instead of the actual unit name.

UNIT_NAME    LINE# OCCURED TOT_TIME     MIN_TIME     MAX_TIME
---------------   ------    ----------    -----------       -------------     ----------
<anonymous> 1        1              .000016      .000016001   .000016001
<anonymous> 2        2              .000056      .00000101     .000054547
<anonymous> 5        1              .000060      .000060005   .000060005
<anonymous> 8        1              .000000      0                   0

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.