当我们使用with的时候,oracle可能会把with里面的结果转换为临时表,这是只是可能,因为CBO会判断。 inline是不转换成临时表,materialize是强制转换成临时表。
制造数据
drop table test1 purge;
drop table test2 purge;
drop table test3 purge;
create table test1 as se...
分类:
数据库 时间:
2014-12-16 15:06:26
阅读次数:
246
ORACLE使用WITH AS和HINT MATERIALIZE优化SQL解决FILTER效率低下...
分类:
数据库 时间:
2014-07-18 22:15:24
阅读次数:
333