20765A Provisioning SQL Databases Ii Provisioning SQL Databases
Total Page:16
File Type:pdf, Size:1020Kb
OFFICIAL MICROSOFT LEARNING PRODUCT 20765A Provisioning SQL Databases ii Provisioning SQL Databases Information in this document, including URL and other Internet Web site references, is subject to change without notice. Unless otherwise noted, the example companies, organizations, products, domain names, e-mail addresses, logos, people, places, and events depicted herein are fictitious, and no association with any real company, organization, product, domain name, e-mail address, logo, person, place or event is intended or should be inferred. Complying with all applicable copyright laws is the responsibility of the user. Without limiting the rights under copyright, no part of this document may be reproduced, stored in or introduced into a retrieval system, or transmitted in any form or by any means (electronic, mechanical, photocopying, recording, or otherwise), or for any purpose, without the express written permission of Microsoft Corporation. Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property. The names of manufacturers, products, or URLs are provided for informational purposes only and Microsoft makes no representations and warranties, either expressed, implied, or statutory, regarding these manufacturers or the use of the products with any Microsoft technologies. The inclusion of a manufacturer or product does not imply endorsement of Microsoft of the manufacturer or product. Links may be provided to third party sites. Such sites are not under the control of Microsoft and Microsoft is not responsible for the contents of any linked site or any link contained in a linked site, or any changes or updates to such sites. Microsoft is not responsible for webcasting or any other form of transmission received from any linked site. Microsoft is providing these links to you only as a convenience, and the inclusion of any link does not imply endorsement of Microsoft of the site or the products contained therein. © 2016 Microsoft Corporation. All rights reserved. Microsoft and the trademarks listed at http://www.microsoft.com/about/legal/en/us/IntellectualProperty/Trademarks/EN-US.aspx are trademarks of the Microsoft group of companies. All other trademarks are property of their respective owners Product Number: 20765A Part Number (if applicable): Released: 04/2016 Provisioning SQL Databases xi xii Provisioning SQL Databases Acknowledgements Microsoft Learning would like to acknowledge and thank the following for their contribution towards developing this title. Their effort at various stages in the development has ensured that you have a good classroom experience. Aaron Johal – Content Developer Aaron Johal is a Microsoft Certified Trainer who splits his time between training, consultancy, content development, contracting and learning. Since he moved into the non-functional side of the Information Technology business. He has presented technical sessions at SQL Pass in Denver and at sqlbits in London. He has also taught and worked in a consulting capacity throughout the UK and abroad, including Africa, Spain, Saudi Arabia, Netherlands, France, and Ireland. He enjoys interfacing functional and non-functional roles to try and close the gaps between effective use of Information Technology and the needs of the Business. Ed Harper – Content Developer Ed Harper is a database developer specializing in Microsoft SQL Server. Ed has worked with SQL Server since 1999, and has developed and designed transaction-processing and reporting systems for cloud security, telecommunications, and financial services companies. John Daisley – Content Developer John Daisley is a mixed vendor Business Intelligence and Data Warehousing contractor with a wealth of data warehousing and Microsoft SQL Server database administration experience. Having worked in the Business Intelligence arena for over a decade, John has extensive experience of implementing business intelligence and database solutions using a wide range of technologies and across a wide range of industries including airlines, engineering, financial services, and manufacturing. Nick Anderson – Content Developer Nick Anderson MBCS MISTC has been a freelance Technical Writer since 1987 and Trainer since 1999. Nick has written internal and external facing content in many business and technical areas including development, infrastructure and finance projects involving SQL Server, Visual Studio and similar tools. Nick provides services for both new and existing document processes from knowledge capture to publishing. Geoff Allix – Technical Reviewer Geoff Allix is a Microsoft SQL Server subject matter expert and professional content developer at Content Master—a division of CM Group Ltd. As a Microsoft Certified Trainer, Geoff has delivered training courses on SQL Server since version 6.5. Geoff is a Microsoft Certified IT Professional for SQL Server and has extensive experience in designing and implementing database and BI solutions on SQL Server technologies, and has provided consultancy services to organizations seeking to implement and optimize database solutions. Lin Joyner – Technical Reviewer Lin is an experienced Microsoft SQL Server developer and administrator. She has worked with SQL Server since version 6.0 and previously as a Microsoft Certified Trainer, delivered training courses across the UK. Lin has a wide breadth of knowledge across SQL Server technologies, including BI and Reporting Services. Lin also designs and authors SQL Server and .NET development training materials. She has been writing instructional content for Microsoft for over 15 years. Provisioning SQL Databases xiii Contents Module 1: SQL Server 2016 Components Module Overview 1-1 Lesson 1: Introduction to the SQL Server Platform 1-2 Lesson 2: Overview of SQL Server Architecture 1-10 Lesson 3: SQL Server Services and Configuration Options 1-18 Module Review and Takeaways 1-23 Module 2: Installing SQL Server 2016 Module Overview 2-1 Lesson 1: Considerations for Installing SQL Server 2-2 Lesson 2: tempdb Files 2-10 Lesson 3: Installing SQL Server 2016 2-12 Lesson 4: Automating Installation 2-16 Lab: Installing SQL Server 2016 2-19 Module Review and Takeaways 2-24 Module 3: Upgrading SQL Server to SQL Server 2016 Module Overview 3-1 Lesson 1: Upgrade Requirements 3-2 Lesson 2: Upgrade of SQL Server Services 3-10 Lesson 3: Side-by-Side Upgrade: Migrating SQL Server Data and Applications 3-19 Lab: Upgrading SQL Server 3-29 Module Review and Takeaways 3-32 Module 4: Deploying SQL Server on Microsoft Azure Module Overview 4-1 Lesson 1: SQL Server Virtual Machines on Azure 4-2 Lesson 2: Deploying an Azure SQL Database 4-7 Lesson 3: Migrating an On-Premises Database to an Azure SQL Database 4-12 Lab: Migrating SQL Server with Azure 4-16 Module Review and Takeaways 4-19 xiv Provisioning SQL Databases Module 5: Working with Databases Module Overview 5-1 Lesson 1: Introduction to Data Storage with SQL Server 5-2 Lesson 2: Managing Storage for System Databases 5-9 Lesson 3: Managing Storage for User Databases 5-14 Lesson 4: Moving and Copying Database Files 5-25 Lesson 5: Configuring the Buffer Pool Extension 5-29 Lab: Managing Database Storage 5-33 Module Review and Takeaways 5-37 Module 6: Database Storage Options Module Overview 6-1 Lesson 1: SQL Server Storage Performance 6-2 Lesson 2: SMB Fileshare 6-9 Lesson 3: SQL Server Storage in Microsoft Azure 6-12 Lesson 4: Stretch Database 6-15 Lab: Implementing Stretch Database 6-19 Module Review and Takeaways 6-21 Module 7: Performing Database Maintenance Module Overview 7-1 Lesson 1: Ensuring Database Integrity 7-2 Lesson 2: Maintaining Indexes 7-8 Lesson 3: Automating Routine Maintenance Tasks 7-16 Lab: Performing Ongoing Database Maintenance 7-19 Module Review and Takeaways 7-22 Lab Answer Keys Module 2 Lab: Installing SQL Server 2016 L02-1 Module 3 Lab: Upgrading SQL Server L03-1 Module 4 Lab: Migrating SQL Server with Azure L04-1 Module 5 Lab: Managing Database Storage L05-1 Module 6 Lab: Implementing Stretch Database L06-1 Module 7 Lab: Performing Ongoing Database Maintenance L07-1 About This Course i About This Course This section provides a brief description of the course, audience, suggested prerequisites, and course objectives. Course Description Note: This first release (‘A’) MOC version of course 20761A has been developed on prerelease software (CTP3.3). Microsoft Learning will release a ‘B’ version of this course after the RTM version of the software is available. This three-day instructor-led course provides students with the knowledge and skills to provision a Microsoft SQL Server 2016 database. The course covers SQL Server 2016 provision both on-premise and in Azure, and covers installing from new and migrating from an existing install. Audience The primary audience for this course is individuals who administer and maintain SQL Server databases. These individuals perform database administration and maintenance as their primary area of responsibility, or work in environments where databases play a key role in their primary job. The secondary audiences for this course are individuals who develop applications that deliver content from SQL Server databases. Student Prerequisites This course requires that you meet the following prerequisites: Basic knowledge of