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

Non-clustered index


You can freely call these a user index. In most case scenarios, non-clustered indexes are created based on search criteria and business requirements. For example, users of your application will search based on LastName and ProductName. These attributes are not primary keys (in this universe), but you need to use the power of indexing techniques. From the SQL Server perspective, non-clustered indexes are the right choice.

Non-clustered indexes have almost the same structure as clustered indexes. The only difference is that the data rows in the tables are not sorted based on their non-clustered keys. In the non-clustered index, the data and the index are stored separately.

Non-clustered indexes are designed to improve the performance of frequently used queries that are not covered by a clustered index. If your table already has a clustered index and you need to index another column, you have no choice but to use a non-clustered index. You can achieve maximum query performance...