|
Yong Huang的意思是:的确是要等一个SQL执行完毕了才获取逻辑读数值吗?你所说的参考其他的计算代价,有没有既定的原则来看?
事实上,我平时面对的主要是DW的批量数据处理。
原帖由 Yong Huang 于 2010-1-22 00:23 发表 ![]()
If the SQL was run before, as you see in v$sql* views, logical reads (i.e. buffer_gets column) is already available. If it's a new SQL and it doesn't finish running within a reasonable time, as when you're tuning a data warehouse query, then of course you have to rely on other factors, such as calculated cost.
To others,
We're talking about "优化SQL到底看什么指标", not about what execution paths are usually good.
Yong Huang |
|