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

DBFS tool


Like in the previous case, this tool is open source, where its purpose is to fill in the gap in the market and prepare the field of SQL Server on Linux for the official arrival.

I believe you have noticed, while reading previous chapters, that SQL Server had a large number of DMVs (dynamic management views) that help DBAs and admins to monitor SQL Server internals (live or stored system metadata). SQL Server on Windows, through SSMS, can easily access DMVs and use them. Yes, you can use them with sqlcmd, but the problem is that it is hard to list them all in human-readable form. This is the place where DBFS (https://github.com/Microsoft/dbfs) jumps in.

In a nutshell, DBFS uses FUSE to mount SQL Server DMVs in the form of a virtual file system, where you can use the classic bash command and explore SQL Server internals. In case you don't know, FUSE allows nonprivileged Linux users to create their own file system without messing with kernel code.

Here are the quick steps for the installation...