This forum is currently locked. You can't register or post questions at this time. (read more)

How to clean up duplicate objects in SYS/SYSTEM

All posts relating to Oracle database administration.

Moderator: Tim...

ssadoglu
Senior Member
Posts: 61
Joined: Wed Feb 02, 2011 10:59 am

How to clean up duplicate objects in SYS/SYSTEM

Postby ssadoglu » Thu Apr 25, 2013 7:10 am

Hi,
I have a sql query like below to check duplicate objects in SYS/SYSTEM before upgrade.

Code: Select all

select OBJECT_NAME, OBJECT_TYPE from
DBA_OBJECTS where OBJECT_NAME||OBJECT_TYPE
in (select OBJECT_NAME||OBJECT_TYPE from
DBA_OBJECTS where OWNER='SYS') and
OWNER='SYSTEM' and OBJECT_NAME not in
('AQ$_SCHEDULES_PRIMARY', 'AQ$_SCHEDULES',
'DBMS_REPCAT_AUTH');


I have a list of large duplicated objects. My question / problem is : how to get rid of the objects? What is the best way to approach this?

Thanks & Regards,

Tim...
Site Admin
Posts: 18437
Joined: Mon Nov 01, 2004 5:56 pm
Location: England, UK
Contact:

Re: How to clean up duplicate objects in SYS/SYSTEM

Postby Tim... » Thu Apr 25, 2013 11:03 am

Hi.

There is a MOS note about this here:

https://support.oracle.com/epmos/faces/ ... =1030426.6

Cheers

Tim...
Tim...
Oracle ACE Director
Oracle ACE of the Year 2006 - Oracle Magazine Editors Choice Awards
OakTable Member
OCP DBA 7.3, 8, 8i, 9i, 10g, 11g
OCP Advanced PL/SQL Developer
Oracle Database: SQL Certified Expert
My website: http://www.oracle-base.com
My blog: http://www.oracle-base.com/blog


Return to “Oracle Database Administration”

Who is online

Users browsing this forum: No registered users and 4 guests

cron