Enable Query Store on a Database – SQL Server 2016
… continuing from my [previous post] on Query Store.
Here we will see how can we enable it on a Database:
–> Right click on the Database you want to enable Query Store and select Properties. Now select the new feature Query Store at the bottom left side as shown below:
Set the Enable option to True, and click OK.
–> Alternative: You can also enable the Query Store by this simple ALTER DATABASE Statement:
USE [TestManDB] GO ALTER DATABASE [TestManDB] SET QUERY_STORE = ON GO
–> After enabling the Query Store you can check the Database, expand it in Object Explorer, you will see a new folder with the same name “Query Store”, on expanding it you will see 4 reports, as shown in below snapshot:
–> You can check more about Query Store on MSDN BoL [here] with more coverage on what information/stats it captures and how you can Query them.
-
June 3, 2015 at 12:19 amQuery Store – new feature in SQL Server 2016 | SQL with Manoj
-
June 3, 2015 at 1:16 amInstalling SQL Server 2016 CTP2 | and new features in SSMS | SQL with Manoj
-
June 10, 2015 at 2:22 amBPOTW 2015-06-05 | SQL Notes From The Underground
-
January 5, 2017 at 12:05 pmSQL Server 2016 RTM full and final version available – Download it now !!! | SQL with Manoj