Book Image

SQL Server 2019 Administrator's Guide - Second Edition

By : Marek Chmel, Vladimír Mužný
Book Image

SQL Server 2019 Administrator's Guide - Second Edition

By: Marek Chmel, Vladimír Mužný

Overview of this book

SQL Server is one of the most popular relational database management systems developed by Microsoft. This second edition of the SQL Server Administrator's Guide will not only teach you how to administer an enterprise database, but also help you become proficient at managing and keeping the database available, secure, and stable. You’ll start by learning how to set up your SQL Server and configure new and existing environments for optimal use. The book then takes you through designing aspects and delves into performance tuning by showing you how to use indexes effectively. You’ll understand certain choices that need to be made about backups, implement security policy, and discover how to keep your environment healthy. Tools available for monitoring and managing a SQL Server database, including automating health reviews, performance checks, and much more, will also be discussed in detail. As you advance, the book covers essential topics such as migration, upgrading, and consolidation, along with the techniques that will help you when things go wrong. Once you’ve got to grips with integration with Azure and streamlining big data pipelines, you’ll learn best practices from industry experts for maintaining a highly reliable database solution. Whether you are an administrator or are looking to get started with database administration, this SQL Server book will help you develop the skills you need to successfully create, design, and deploy database solutions.
Table of Contents (17 chapters)
Section 1: Provisioning the SQL Server Environment
Section 2: Server and Database Maintenance
Section 3: High Availability and the Cloud with SQL Server 2019

Creating a performance baseline

Baseline refers to the normal or typical state of your SQL Server and environment performance. This baseline is very important to you for numerous reasons, and these are as follows:

  • When you start troubleshooting the server, you need to know how your server will behave toward something odd.
  • You can proactively tune the system if you find a weak spot in the baseline.
  • When you plan to upgrade your server, you know how the load was increasing over time, so you can plan properly.

As a matter of fact, you won't have just one single baseline, but you can create multiple baselines depending on the variable workload. In such a case, you will have a baseline for the following:

  • Business hours
  • Peak usage
  • End of week/month/quarter due to closures; reporting
  • Weekend

Creating a performance baseline and capturing performance information for your server is, hence, a very crucial task and should be deployed to each...