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 and later
Information in this document applies to any platform.


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.


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.


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.