My Oracle Support Banner

Execution Plan Changes When Doing 'select from all_arguments' As non-sys User (Doc ID 429877.1)

Last updated on APRIL 09, 2020

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.2 and later
Information in this document applies to any platform.

Symptoms

Execution plan of the query changes when doing 'select from all_arguments' as non-sys user.

NOTE: In the images and/or the document content below, the user information and data used represents fictitious data from the Oracle sample schema(s) or Public Documentation delivered with an Oracle database product. Any similarity to actual persons, living or dead, is purely coincidental and not intended in any manner.

Example:

Select object_name, position, data_type, overload, argument_name, position,
data_level, data_length, data_precision, data_scale, default_value, in_out,
object_id, sequence from sys.all_arguments where object_id = (
select object_id from all_objects where owner = 'APPS' and
object_name ='XXAR_INVOICE_PKG' and object_type in ('PACKAGE',
'PROCEDURE', 'FUNCTION'))order by Object_Name, Overload, Sequence

If you look at the execution plan of the above query you will find that view 'ALL_ARGUMENTS' is not getting merged when running as non-sys user.

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


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