Search icon CANCEL
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
SQL Server 2019 Administrator's Guide - Second Edition

You're reading from  SQL Server 2019 Administrator's Guide - Second Edition

Product type Book
Published in Sep 2020
Publisher Packt
ISBN-13 9781789954326
Pages 522 pages
Edition 2nd Edition
Languages
Authors (2):
Marek Chmel Marek Chmel
Profile icon Marek Chmel
Vladimír Mužný Vladimír Mužný
Profile icon Vladimír Mužný
View More author details

Table of Contents (17) Chapters

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

Indexes and maintenance

Indexes are sometimes seen as some magic objects that resolve all performance problems in the world of relational databases. Nothing could be further from the truth. In this section, we will look at the index types offered by SQL Server, and then discuss how indexes work. Finally, we will summarize some guidelines for using indexes.

Types of indexes

Sorting in relational databases makes no sense. Even though this statement sounds strange, it comes from the set theory, which forms a theoretical base of relational databases. However, sorting is still needed when the database engine must find proper records from a table efficiently. When no sorting structure is present, the engine needs to scan all the records to recognize which of them are candidates for the result of a certain query. An index is a type of object that brings sorting and seeking possibilities over unsorted relational data.

SQL Server provides several types of indexes...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}