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

后端 未结 4 2147
北海茫月
北海茫月 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:22

    It might help you

    http://www.mssqltips.com/tip.asp?tip=1360

    CHECKPOINT;
    GO DBCC DROPCLEANBUFFERS;
    GO

提交回复
热议问题