Book Image

SQL Server on Linux

Book Image

SQL Server on Linux

Overview of this book

Microsoft's launch of SQL Server on Linux has made SQL Server a truly versatile platform across different operating systems and data-types, both on-premise and on-cloud. This book is your handy guide to setting up and implementing your SQL Server solution on the open source Linux platform. You will start by understanding how SQL Server can be installed on supported and unsupported Linux distributions. Then you will brush up your SQL Server skills by creating and querying database objects and implementing basic administration tasks to support business continuity, including security and performance optimization. This book will also take you beyond the basics and highlight some advanced topics such as in-memory OLTP and temporal tables. By the end of this book, you will be able to recognize and utilize the full potential of setting up an efficient SQL Server database solution in your Linux environment.
Table of Contents (19 chapters)
Title Page
Credits
About the Author
About the Reviewer
www.PacktPub.com
Customer Feedback
Preface

Query store


Sometimes, you will notice that perfectly fine queries will show weak performance for no particular reason. One of the reasons for this could be a change of the execution plan. An execution plan is an internal result SQL Server procedure where the engine needs to decide the best possible way to execute your query. Each query has its own plan. During standard database operations, based on internal statistics, those plans can be changed, but the results are not always better in terms of performance. On the contrary, they can be the exact opposite. Before SQL Server 2016, it was not an easy task to investigate these problems.

You were facing the following issues:

  • TTD: Long time to detect the issue
  • TTM: Long time to mitigate

The main reason for this is that the fixing query plan that causes regression is a difficult task to perform. The query plan is not designed for performance troubleshooting. Fortunately, we have this great feature. Query store provides you with insight on the query...