是的,的确很烦!
而且select * from xxx a where a.
点之后会卡很久,卡住的这段时间我观察session,原来是执行这个语句,这个语句真慢
select t.*, o.*, m.comments 
from sys.all_tables t, 
     sys.all_tab_comments m,
     sys.all_objects o
where t.owner = :object_owner
and t.table_name = :object_name
and m.owner (+) = :object_owner
and m.table_name (+) = :object_name
and o.owner (+) = :object_owner
and o.object_name (+) = :object_name
and :object_type is not null
and :sub_object is null