DP-300 · Question #344
SIMULATION You plan to perform performance testing of db1. You need prevent db1 from reverting to the last known good query plan. To complete this task, sign in to the virtual machine. You may need…
The correct answer requires disabling the FORCE_LAST_GOOD_PLAN automatic tuning option on db1, because by default Azure SQL Database has this feature enabled, which causes the engine to automatically revert to the last known good query plan when regression is detected. To…
Question
Explanation
The correct answer requires disabling the FORCE_LAST_GOOD_PLAN automatic tuning option on db1, because by default Azure SQL Database has this feature enabled, which causes the engine to automatically revert to the last known good query plan when regression is detected. To prevent this reversion behavior, you must execute 'ALTER DATABASE db1 SET AUTOMATIC_TUNING (FORCE_LAST_GOOD_PLAN = OFF)' in SSMS, or disable it via the Azure portal under the database's Automatic Tuning settings. Disabling this option stops the database engine from overriding query plans during performance testing, ensuring your test runs use the plans you intend without automatic interference.
Topics
Community Discussion
No community discussion yet for this question.