Search icon CANCEL
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
SQL Server 2019 Administrator's Guide
SQL Server 2019 Administrator's Guide

SQL Server 2019 Administrator's Guide: A definitive guide for DBAs to implement, monitor, and maintain enterprise database solutions , Second Edition

Arrow left icon
Profile Icon Marek Chmel Profile Icon Vladimír Mužný
Arrow right icon
$24.99 $35.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.4 (10 Ratings)
eBook Sep 2020 522 pages 2nd Edition
eBook
$24.99 $35.99
Paperback
$48.99
Subscription
Free Trial
Renews at $19.99p/m
Arrow left icon
Profile Icon Marek Chmel Profile Icon Vladimír Mužný
Arrow right icon
$24.99 $35.99
Full star icon Full star icon Full star icon Full star icon Half star icon 4.4 (10 Ratings)
eBook Sep 2020 522 pages 2nd Edition
eBook
$24.99 $35.99
Paperback
$48.99
Subscription
Free Trial
Renews at $19.99p/m
eBook
$24.99 $35.99
Paperback
$48.99
Subscription
Free Trial
Renews at $19.99p/m

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning
Table of content icon View table of contents Preview book icon Preview Book

SQL Server 2019 Administrator's Guide

Chapter 1: Setting Up SQL Server 2019

Microsoft SQL Server is not just a database engine; over the years, it has become a very complex and robust technology set for data management, analysis, and visualizations. As the progress of technologies incorporated into SQL Server grows, it has become more complicated to decide which specific technology is needed, how to prepare the environment for its installation, and which configuration properties administrators should be aware of. With the rising popularity of cloud services, we also have a great option to host database services in Microsoft Azure as well. This chapter offers an introduction to the SQL Server technology stack in on-premises environments and helps you to accomplish its proper installation to start your work with SQL Server.

In this chapter, we will study what the SQL Server technology set contains and the purpose of each technology. We will also get familiar with the prerequisites and pre-installation steps, and will...

Overview of the Microsoft SQL Server 2019 technology

Microsoft SQL Server offers a powerful end-to-end data processing platform. In other words, we can gain data from an extensive set of sources, securely and reliably managed, transformed, processed, analyzed, and visualized under an all-in-one license.

The following diagram shows what the bigger picture of the SQL Server technology set looks like:

Fig. 1.1 – Overview of SQL Server technology set on-premises

The preceding diagram shows one of the many possible ways in which technologies within SQL Server can cooperate. SQL Server Database Engine (DE) is depicted twice in the diagram because it possibly plays two major roles within the data processing platform, as follows:

  • Line-of-Business (LOB) application contention: In the diagram, at the left occurrence of SQL Server DE, SQL Server provides data ingestion from client applications or other external sources of data.
  • Business...

Preparing the SQL Server 2019 installation on Windows

The previous section described the whole set of services and features contained in SQL Server. From now on, we will pay attention to on-premises SQL Server DE installed on Windows only.

In this section, we will discuss the following topics:

  • Which edition of SQL Server to buy with respect to the features and performance capabilities
  • How to prepare our Windows operating system and other prerequisites
  • Installation options such as installation wizard, Command Prompt, and the sysprep utility

Edition comparison

Microsoft provides SQL Server in several editions. Each edition has its supported features, and with these features, the allocation of resources will differentiate. This can be seen in terms of performance, price, runtime, and service availability. A complete edition comparison matrix is published at https://docs.microsoft.com/en-us/sql/sql-server/editions-and-components-of-sql-server...

Installing SQL Server 2019 on Windows

Microsoft provides several options to install SQL Server and its technologies as simply as possible. Almost everything is done through the SQL Server Installation Center, which is opened via the autorun property of the installation media. The next chapter describes typical scenarios of installation and first post-installation checks and configurations.

Installation options

The SQL Server Installation Center provides several ways to install SQL Server. The most common method of installation is to use the wizard for a standalone installation as well as for a cluster installation of SQL Server.

For situations where more SQL Servers are propagated into the environment (for example, new departments or sales points are often created, and every department or sales point has its own SQL Server), SQL Server provides an option to be installed through the command line, which is also the only installation approach possible for...

Installing SQL Server 2019 on Linux

Since SQL Server 2017, Microsoft decided to offer its distribution on Linux. SQL Server's Linux distribution helps administrators to use familiar operating systems as well as install SQL Server to containers. This section is a step-by-step walkthrough example of the sample SQL Server installation process on Ubuntu 18.04.

Preparing the test environment

For many administrators and DBAs strongly bound to Microsoft operating systems, the world of Linux seems very strange and confusing. That's why the first step is a preparation of the Hyper-V virtual machine (VM). Microsoft provides a Hyper-V option called Hyper-V Quick Create. Its usage is very simple and straightforward, as follows:

  1. In the Start menu, find the Hyper-V Quick Create application.
  2. In the opened window, select Ubuntu 18.04.
  3. Click the Create Virtual Machine button.
  4. Follow the installation instructions.

The whole installation process is almost self...

Installing SQL Server 2019 on containers

Virtualization of computers hosting SQL Server is very common nowadays. Containers provide the next level of virtualization. A container itself is a lightweight computer hosted by the container environment. The question is: why use containers over virtual machines? Containers provide a simple way to prepare the environment that is often destroyed or moved between hosts. It is useful, for instance, during the development phase, when developers need to refresh their server environment frequently.

The basis of containers adopted by Microsoft lies on a Linux-based technology called Docker. It's also a prerequisite when we'd like to try provisioning. We need to have Docker Engine 1.8 or higher installed on our Linux computer, or we can install Docker for Windows as well.

Note

Installing Docker for Windows needs the Hyper-V feature of Windows installed, because Docker itself is then running on the Linux VM.

The provisioning of...

Summary

The SQL Server ecosystem provides you with a wide set of technologies. The first problem is to know what is the responsibility of every single technology of SQL Server. In the first section of this chapter, we cleared what is necessary to install, which helped us recognize what we need.

In the second section, we prepared our operating system and the complete infrastructure to install SQL Server. The most important decision before starting the installation is which technologies to install and how many computers will be needed to distribute SQL Server services appropriately across an infrastructure. Before installing SQL Server DE itself, we need to ensure that a sufficient set of disk storage is in place, appropriate security accounts are prepared, and all software prerequisites are fulfilled.

The installation described in the Installing SQL Server 2019 on Windows section of this chapter is quite a straightforward process, but we should still consider some settings. Even...

Left arrow icon Right arrow icon
Download code icon Download Code

Key benefits

  • Explore new features of SQL Server 2019 to set up, administer, and maintain your database solution successfully
  • Develop a dynamic SQL Server environment and streamline big data pipelines
  • Discover best practices for fixing performance issues, database access management, replication, and security

Description

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.

Who is this book for?

This book is for database administrators, database developers, and anyone who wants to administer large and multiple databases single-handedly using Microsoft's SQL Server 2019. Basic awareness of database concepts and experience with previous SQL Server versions is required.

What you will learn

  • Discover SQL Server 2019's new features and how to implement them
  • Fix performance issues by optimizing queries and making use of indexes
  • Design and use an optimal database management strategy
  • Combine SQL Server 2019 with Azure and manage your solution using various automation techniques
  • Implement efficient backup and recovery techniques in line with security policies
  • Get to grips with migrating, upgrading, and consolidating with SQL Server
  • Set up an AlwaysOn-enabled stable and fast SQL Server 2019 environment
  • Understand how to work with Big Data on SQL Server environments

Product Details

Country selected
Publication date, Length, Edition, Language, ISBN-13
Publication date : Sep 11, 2020
Length: 522 pages
Edition : 2nd
Language : English
ISBN-13 : 9781789950335
Vendor :
Microsoft
Category :
Languages :

What do you get with eBook?

Product feature icon Instant access to your Digital eBook purchase
Product feature icon Download this book in EPUB and PDF formats
Product feature icon Access this title in our online reader with advanced features
Product feature icon DRM FREE - Read whenever, wherever and however you want
Product feature icon AI Assistant (beta) to help accelerate your learning

Product Details

Publication date : Sep 11, 2020
Length: 522 pages
Edition : 2nd
Language : English
ISBN-13 : 9781789950335
Vendor :
Microsoft
Category :
Languages :

Packt Subscriptions

See our plans and pricing
Modal Close icon
$19.99 billed monthly
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Simple pricing, no contract
$199.99 billed annually
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts
$279.99 billed in 18 months
Feature tick icon Unlimited access to Packt's library of 7,000+ practical books and videos
Feature tick icon Constantly refreshed with 50+ new titles a month
Feature tick icon Exclusive Early access to books as they're written
Feature tick icon Solve problems while you work with advanced search and reference features
Feature tick icon Offline reading on the mobile app
Feature tick icon Choose a DRM-free eBook or Video every month to keep
Feature tick icon PLUS own as many other DRM-free eBooks or Videos as you like for just $5 each
Feature tick icon Exclusive print discounts

Frequently bought together


Stars icon
Total $ 142.97
Hands-On SQL Server 2019 Analysis Services
$54.99
SQL Server 2019 Administrator's Guide
$48.99
Introducing Microsoft SQL Server 2019
$38.99
Total $ 142.97 Stars icon

Table of Contents

16 Chapters
Section 1: Provisioning the SQL Server Environment Chevron down icon Chevron up icon
Chapter 1: Setting Up SQL Server 2019 Chevron down icon Chevron up icon
Chapter 2: Keeping Your SQL Server Environment Healthy Chevron down icon Chevron up icon
Section 2: Server and Database Maintenance Chevron down icon Chevron up icon
Chapter 3: Implementing Backup and Recovery Chevron down icon Chevron up icon
Chapter 4: Securing Your SQL Server Chevron down icon Chevron up icon
Chapter 5: Working with Disaster Recovery Options Chevron down icon Chevron up icon
Chapter 6: Indexing and Performance Chevron down icon Chevron up icon
Section 3: High Availability and the Cloud with SQL Server 2019 Chevron down icon Chevron up icon
Chapter 7: Planning Migration and Upgrade Chevron down icon Chevron up icon
Chapter 8: Automation – Using Tools to Manage and Monitor SQL Server 2019 Chevron down icon Chevron up icon
Chapter 9: Configuring Always On High Availability Features Chevron down icon Chevron up icon
Chapter 10: In-Memory OLTP – Why and How to Use it Chevron down icon Chevron up icon
Chapter 11: Combining SQL Server 2019 with Azure Chevron down icon Chevron up icon
Chapter 12: Taming Big Data with SQL Server Chevron down icon Chevron up icon
Other Books You May Enjoy Chevron down icon Chevron up icon

Customer reviews

Top Reviews
Rating distribution
Full star icon Full star icon Full star icon Full star icon Half star icon 4.4
(10 Ratings)
5 star 50%
4 star 40%
3 star 10%
2 star 0%
1 star 0%
Filter icon Filter
Top Reviews

Filter reviews by




Ashwini Mar 05, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
The book is great for those working as DBAs or looking for jobs in the same field. The book starts with introduction and configuration of the SQL Server later explaining more about server maintenance, recovery and security. A very lucid way of explaining the concepts with examples makes the book unique and understanding. I recommend this book to all DBAs and SQL learners.
Amazon Verified review Amazon
max Dec 19, 2022
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I bought this book when I changed careers from a software developer to a DBA. This book gave me all of the base knowledge that I needed to do my job. The information was well conveyed and the important points are streamlined.
Amazon Verified review Amazon
Hilary Cotter Feb 04, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I have been a data platform MVP for 20 years now and found this book to be excellent. It provides comprehensive coverage of the new features. This book does not gloss over the topics but provides in depth coverage that will help you to get the most of SQL 2019. The authors obviously have deep knowledge of the subject material and do a fantastic job of explaining it. This is even more impressive - considering that English is not their native language.While I have worked on the 2019 betas and thought I knew it well - I actually learned something in this book. Great job Marek and Vladimír!
Amazon Verified review Amazon
Mark Dunn May 16, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I really like this book. The author has sections on Provisioning the SQL Server Environment which includes an overview of SQL technologies and installation coverage for Windows, Linux, and containers. Good advice on the subject of keeping SQL Server's environment healthy is also addressed. The second section delves into the important topic of database maintenance by tackling the topics of Backup/Recovery, Security, Disaster Recovery, and Indexing and Performance. These subjects are covered in a great amount of detail along with using the tools provided by SQL Server like Profiler and Trace, Performance and Activity Monitors, and Extended Events. The final section of the book covers planning migration and upgrades and includes an example of migrating from an Access database. The author does an excellent job covering Automation and thouroughly explains setting up and using SQL Server Agent. I would have liked to see the fundamentals of high availability features explained more for a beginner - why and when to use. This was mentioned by another reviewer as well. The coverage I found most useful to me was how and why to use In-Memory OLTP and the chapter on combining SQL Server 2019 with Azure. This last chapter could probably be a book itself but the author does a good job introducing the topic and explaining the hybrid scenarios. Even though I saw some room for a little improvement, I'm giving this book 5 stars because I think the overall coverage of topics deserves the rating.
Amazon Verified review Amazon
Keith Stephens Mar 15, 2021
Full star icon Full star icon Full star icon Full star icon Full star icon 5
I am a seasoned SQL Developer and just wanted to learn more about the DBA and Administration. Great book for that.
Amazon Verified review Amazon
Get free access to Packt library with over 7500+ books and video courses for 7 days!
Start Free Trial

FAQs

How do I buy and download an eBook? Chevron down icon Chevron up icon

Where there is an eBook version of a title available, you can buy it from the book details for that title. Add either the standalone eBook or the eBook and print book bundle to your shopping cart. Your eBook will show in your cart as a product on its own. After completing checkout and payment in the normal way, you will receive your receipt on the screen containing a link to a personalised PDF download file. This link will remain active for 30 days. You can download backup copies of the file by logging in to your account at any time.

If you already have Adobe reader installed, then clicking on the link will download and open the PDF file directly. If you don't, then save the PDF file on your machine and download the Reader to view it.

Please Note: Packt eBooks are non-returnable and non-refundable.

Packt eBook and Licensing When you buy an eBook from Packt Publishing, completing your purchase means you accept the terms of our licence agreement. Please read the full text of the agreement. In it we have tried to balance the need for the ebook to be usable for you the reader with our needs to protect the rights of us as Publishers and of our authors. In summary, the agreement says:

  • You may make copies of your eBook for your own use onto any machine
  • You may not pass copies of the eBook on to anyone else
How can I make a purchase on your website? Chevron down icon Chevron up icon

If you want to purchase a video course, eBook or Bundle (Print+eBook) please follow below steps:

  1. Register on our website using your email address and the password.
  2. Search for the title by name or ISBN using the search option.
  3. Select the title you want to purchase.
  4. Choose the format you wish to purchase the title in; if you order the Print Book, you get a free eBook copy of the same title. 
  5. Proceed with the checkout process (payment to be made using Credit Card, Debit Cart, or PayPal)
Where can I access support around an eBook? Chevron down icon Chevron up icon
  • If you experience a problem with using or installing Adobe Reader, the contact Adobe directly.
  • To view the errata for the book, see www.packtpub.com/support and view the pages for the title you have.
  • To view your account details or to download a new copy of the book go to www.packtpub.com/account
  • To contact us directly if a problem is not resolved, use www.packtpub.com/contact-us
What eBook formats do Packt support? Chevron down icon Chevron up icon

Our eBooks are currently available in a variety of formats such as PDF and ePubs. In the future, this may well change with trends and development in technology, but please note that our PDFs are not Adobe eBook Reader format, which has greater restrictions on security.

You will need to use Adobe Reader v9 or later in order to read Packt's PDF eBooks.

What are the benefits of eBooks? Chevron down icon Chevron up icon
  • You can get the information you need immediately
  • You can easily take them with you on a laptop
  • You can download them an unlimited number of times
  • You can print them out
  • They are copy-paste enabled
  • They are searchable
  • There is no password protection
  • They are lower price than print
  • They save resources and space
What is an eBook? Chevron down icon Chevron up icon

Packt eBooks are a complete electronic version of the print edition, available in PDF and ePub formats. Every piece of content down to the page numbering is the same. Because we save the costs of printing and shipping the book to you, we are able to offer eBooks at a lower cost than print editions.

When you have purchased an eBook, simply login to your account and click on the link in Your Download Area. We recommend you saving the file to your hard drive before opening it.

For optimal viewing of our eBooks, we recommend you download and install the free Adobe Reader version 9.