Skip to Main Content
  • Questions
  • Objects auto validated intermittently


Question and Answer

Connor McDonald

Thanks for the question.

Asked: November 24, 2020 - 1:53 pm UTC

Last updated: November 27, 2020 - 7:12 am UTC


Viewed 100+ times

You Asked

Hi Connor, Chris,

Past few days we are facing issues with database packages getting invalidated and all application processes resulted into "ORA-06508: PL/SQL: could not find program unit being called"/

We could find the invalid objects in user_objects for sometime and they gets validated after sometime.

Could you please provide any lead - how can I investigate it further.

and we said...

How about grabbing all DDL on your instance for a period of time and then comparing that to DBA_DEPENDENCIES for the objects concerned.

Here's a mechanism to grab the DDL


  (1 rating)



A reader, November 25, 2020 - 5:14 pm UTC

Hi Connor,
Thanks for your reply.
Could you please tell me which user we should use to create this trigger on Production SYS or SYSTEM?
Connor McDonald
November 27, 2020 - 7:12 am UTC

SYSTEM should be fine, or any similarly privileged user.

Don't create stuff in SYS unless you absolutely have to

More to Explore


All of the vital components for a secure database are covered in the Security guide.