3.删除同义词
select 'drop synonym ' || owner || '.' || synonym_name || ';' from dba_synonyms where ower like 'SYSMAN%';
4.删除注册项
drop registry
select comp_name from schema_version_registry order by 1;
把里面的几个项删除即可:
delete from schema_version_registry where comp_name='Oracle Platform Security Services';
delete from schema_version_registry where comp_name='Service Table';
delete from schema_version_registry where comp_name='Metadata Services';