How to invalidate a SQL statement in the Oracle SQL area so that a new plan is produced when collecting statistics

后端 未结 2 1021
南笙
南笙 2021-01-13 17:18

I have a table and a query (within a PL/SQL packge) accessing that table. Statistics are collected weekly normally.

A large update has been run on the table, result

2条回答
  •  不思量自难忘°
    2021-01-13 17:22

    If you are using 10.2.0.4 or later, you should be able to use the DBMS_SHARED_POOL package to purge a single cursor from the shared pool.

提交回复
热议问题