My Oracle Support Banner

ORA-6510 : Invoking Natively Compiled (NCOMP) DBMS_WORKLOAD_REPOSITORY Fails (Doc ID 391008.1)

Last updated on JULY 05, 2017

Applies to:

PL/SQL - Version: to - Release: 10.1 to 11.2
Information in this document applies to any platform.
***Checked for relevance on 28-Apr-2010***


When DBMS_WORKLOAD_REPOSITORY is natively compiled using

alter package dbms_workload_repository compile plsql_code_type=native reuse settings;

it fails with the following error:

ERROR at line 1: 
ORA-6510: PL/SQL: unhandled user-defined exception
ORA-6512: at line 1

The interpreted version of DBMS_WORKLOAD_REPOSITORY works successfully.


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

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