Hi,
Sorry if this a newbee question, but I did a search on the forum and could not find anything about it.
Does anyone know if this query is used by pl/sql and when? My problem is that it takes a lot of the oracle cpu cycles and goes to "internal lock wait".
Thanks.
--
select s.synonym_name object_name, o.object_type
from sys.all_synonyms s,
sys.all_objects o
where s.owner in ('PUBLIC', user)
and o.owner = s.table_owner
and o.object_name = s.table_name
and o.object_type in ('TABLE', 'VIEW', 'PACKAGE','TYPE', 'PROCEDURE', 'FUNCTION', 'SEQUENCE')
Sorry if this a newbee question, but I did a search on the forum and could not find anything about it.
Does anyone know if this query is used by pl/sql and when? My problem is that it takes a lot of the oracle cpu cycles and goes to "internal lock wait".
Thanks.
--
select s.synonym_name object_name, o.object_type
from sys.all_synonyms s,
sys.all_objects o
where s.owner in ('PUBLIC', user)
and o.owner = s.table_owner
and o.object_name = s.table_name
and o.object_type in ('TABLE', 'VIEW', 'PACKAGE','TYPE', 'PROCEDURE', 'FUNCTION', 'SEQUENCE')