原来的sql要30分钟,翔天加这个之后,8s就出结果了
select /*+ use_hash(g a c) */'1'from tmp_g g ,tmp_a a ,tmp_c c where g.id=a.id and a.id=c.id
;