Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • SQL Server 2017 Developer???s Guide
  • Toc
  • feedback
SQL Server 2017 Developer???s Guide

SQL Server 2017 Developer???s Guide

3.6 (5)
close
SQL Server 2017 Developer???s Guide

SQL Server 2017 Developer???s Guide

3.6 (5)

Overview of this book

Microsoft SQL Server 2017 is a milestone in Microsoft's data platform timeline, as it brings in the power of R and Python for machine learning and containerization-based deployment on Windows and Linux. This book prepares you for advanced topics by starting with a quick introduction to SQL Server 2017's new features. Then, it introduces you to enhancements in the Transact-SQL language and new database engine capabilities before switching to a different technology: JSON support. You will take a look at the security enhancements and temporal tables. Furthermore, the book focuses on implementing advanced topics, including Query Store, columnstore indexes, and In-Memory OLTP. Toward the end of the book, you'll be introduced to R and how to use the R language with Transact-SQL for data exploration and analysis. You'll also learn to integrate Python code into SQL Server and graph database implementations as well as the deployment options on Linux and SQL Server in containers for development and testing. By the end of this book, you will be armed to design efficient, high-performance database applications without any hassle.
Table of Contents (19 chapters)
close
Free Chapter
1
Introduction to SQL Server 2017

Query Store reports in SQL Server Management Studio


In the previous section, you saw that migration to SQL Server 2017 can lead to performance regressions for some database queries. In this example, you had only one query and since the regression was significant, you could immediately detect it; you did not need help from Query Store. However, in a production system, you could have hundreds or thousands of queries, and you will not be able to check them to see if they perform well after migration. To find regressed queries or queries that are consuming the most server resources, you can use Query Store reports.

When Query Store is enabled for a database, in the Object Explorer of the SSMS you can find a new node called Query Store for this database. When you expand the node, you find six reports under it:

  • Regressed queries
  • Overall resource consumption
  • Top resource consuming queries
  • Queries with forced plans
  • Queries with high variation
  • Tracked queries

However, when you right-click the node, you can...

bookmark search playlist download font-size

Change the font size

margin-width

Change margin width

day-mode

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Delete Bookmark

Modal Close icon
Are you sure you want to delete it?
Cancel
Yes, Delete