SQL Performance (MOSC)

MOSC Banner

Get execution plan from older stats by restoring stats when dbms_stats.set_table_prefs is 'False'

edited Oct 9, 2016 5:12AM in SQL Performance (MOSC) 4 commentsAnswered ✓

Is it possible to set dbms_stats.set_table_prefs  as 'False' and then restore statistics(from stats gathered by gather_auto_optimizer_stats) using "dbms_stats.restore_table_stats" for a table and get the execution plan of a query using that stats....in scenarios where Query Performs Badly, Used to Perform Well and Only Current bad Plan Available....

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center