0
我有一個sql查詢,它在將select語句從*更改爲僅一列時掛起。它可能掛在哪裏?這是不是應該更快,因爲我只請求1列,而不是50?Oracle SQL - 最小化選擇語句時掛起的查詢
select * from table1 t1, table2 t2 where t1.id1 = t2.id2 and t2.columnX = :x
select t1.column1 from table1 t1, table2 t2 where t1.id1 = t2.id2 and t2.columnX = :x
附:這些列有索引。
Regards
可能「快速」查詢只是從緩存中提取? – tbone 2012-02-24 19:35:18