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

Columnstore index


From version SQL Server 2012, the database engine includes new types of indexes called columnstore indexes, which are in-memory structures that use compression technology to organize index data in a column-based format instead of the row-based format that traditional indexes use. Columnstore indexes are specifically designed to improve the performance of queries against data warehouse environments where you need to deal with large fact tables and related dimension tables. There are two types of columnstore indexes:

A non-clustered columnstore index is a read-only index that you can create on a table that has an existing standard clustered index, or on a table that is a heap. Like a standard non-clustered index, a non-clustered columnstore index can include one or more columns from the table.

A clustered columnstore index represents the actual data rows in the table, and is not a separate structure. This means that all columns are included in the index. Unlike non-clustered...