oracle join local table with remote table
oracle join local table with remote table
这是一件不好的事情, 最好不要这么做, 会把remote的表数据全拉到本地db, 然后再join, 试想如果远程数据很大, 岂不是很恐怖?
真的要这么做, 如果本地数据小, 而远程数据大的话, 可以在select上加上DRIVING_SITE(tab) hint, 告诉优化器, 远程是主,把本地数据拉到re...
原创
2013-01-16 17:30:39 ·
131 阅读 ·
0 评论