My query runs faster the second time around, how do i stop that?

后端 未结 4 2152
北海茫月
北海茫月 2021-02-19 22:55

i am running a query in oracle 10 select A from B where C = D B has millions of records and there is no index on C

The first time i run it it takes about 30

4条回答
  •  花落未央
    2021-02-19 23:12

    See this question...

    It shows how to clear caches for data and execution plans, but also expands on whether it's a good idea or not.

提交回复
热议问题