Gether statistic does not take effect immidiately
Sometimes queries vary slow due to the statistic not up-to-date. this usually solved by gether statistic using DBMS_STATS.GATHER_SCHEMA_STATS.
However, I noticed that I have to execute this few times or maybe I have wait for a moment to see query back to normal performance.
Is this happen beacuse of the query plan was cached? or any other reason? how can I make updated statistic take effect immidiately.
Thanks