How to clear all cached items in Oracle

前端 未结 4 1153
忘掉有多难
忘掉有多难 2020-12-29 03:07

I\'m tuning SQL queries on an Oracle database. I want to ensure that all cached items are cleared before running each query in order to prevent misleading performance result

4条回答
  •  佛祖请我去吃肉
    2020-12-29 03:48

    Flushing the shared pool should do it, but Tom Kyte lists a couple reasons below why you may not get the result you are expecting in some cases:

    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:6349391411093

提交回复
热议问题