sqlworkshops/sql2019lab
Bob Ward 81bc7a7808 Updated slides and graphics for 3rd party logos 2020-01-06 14:04:23 -06:00
..
01_IntelligentPerformance Formatting for readme for activity steps and saved notebook for Module 1 of lab 2019-09-17 10:57:37 -05:00
02_Security Updates to SQL 2019 Workshop 2019-11-01 21:46:49 -05:00
03_Availability Complete fix for issue #165 2019-10-26 08:29:42 -05:00
04_DataVirtualization sql 2008 r2 saved notebooks and remove creds 2019-09-19 14:27:39 -05:00
05_Linux_and_Containers fixed issue #182 for sql2019lab 2019-11-22 09:56:02 -08:00
graphics Fixed issue #168 2019-10-26 09:14:14 -05:00
slides Updated slides and graphics for 3rd party logos 2020-01-06 14:04:23 -06:00
01_IntelligentPerformance.md Fixed issue #163 2019-10-26 09:16:26 -05:00
02_Security.md Update 02_Security.md 2019-10-06 10:59:11 -05:00
03_Availability.md Update 03_Availability.md 2019-09-21 08:44:09 -05:00
04_DataVirtualization.md Update 04_DataVirtualization.md 2019-09-19 14:34:32 -05:00
05_Linux_and_Containers.md Modified decks and markdown to refer to container runtime 2019-10-02 18:23:06 -05:00
06_Additional_Migration.md Update 06_Additional_Migration.md 2019-09-17 14:07:41 -05:00
README.md Bug in readme for performance statement 2019-10-05 16:10:04 -05:00
restorewwi.cmd Add scripts and instructions in order to support restore of WWI pre lab 2019-09-24 13:24:27 -05:00
restorewwi.sql Add scripts and instructions in order to support restore of WWI pre lab 2019-09-24 13:24:27 -05:00

README.md

Lab: SQL Server 2019 (RC)

A Microsoft Course from the SQL Server team

About this Workshop

Welcome to this Microsoft solutions workshop on SQL Server 2019 Lab.

SQL Server 2019 is a modern data platform designed to tackle the challenges of today's data professional. SQL Server 2019 is not just an upgrade option from previous releases of SQL Server. Consider today's modern data challenges for a company called WideWorldImporters

Modern Data Challenges

SQL Server 2019 includes new capabilities that can solve these challenges. Consider the following infographic

SQL Server 2019 Solves Modern Data Challenges

SQL Server 2019 provides many new capabilities including:

  • Data Virtualization with Polybase and Big Data Clusters to reduce the need for data movement
  • Intelligent Performance to boost query performance with no application changes
  • Security enhancements such as Always Encrypted and Data Classification
  • Mission Critical Availability including enhancements for Availability Groups, built-in HA from Kubernetes and OpenShift, and Accelerated Database Recovery
  • Modern Development capabilities including Machine Learning Services and Extensibility with Java and the language of your choice
  • SQL Server on the platform of your choice with compatibility including Windows, Linux, Containers, Kubernetes, and Arm64 (Azure SQL Database Edge)

In this course you will learn some of the concepts and how to solve modern data challenges using a hands-on lab approach.

This course is intended to be taken as a self-paced lab in 2 to 4 hours but can be instructor-led to broaden the discussion or go deeper into specific subjects. A supplement slide deck is available for this course in the slides folder.

This course is designed for data professionals who have a basic working knowledge of SQL Server and the T-SQL language.

This README.MD file explains how the lab is structured, what you will learn, and the technologies you will use in this solution.

Learning Objectives

When you complete this course, you will be able to:

  • Understand and use Intelligent Performance features to boost query performance with no application changes
  • Understand and use Data Classification and Auditing to meet the needs of compliance and regulation standards.
  • Understand and use Accelerated Database Recovery to increase database availability.
  • Understand and use Polybase to connect and query other data sources with no data movement.
  • Understand and use containers to deploy SQL Server Replication on Linux.
  • Learn more about additional capabilities of SQL Server 2019, Migration tools, and Database Compatibility.

As part of taking this lab you are also learning about new capabilities in Azure SQL Database.

The following features in this lab also exist in Azure SQL Database:

  • Intelligent Query Processing
  • Data Classification and Auditing
  • Accelerated Database Recovery

In addition, SQL Server Polybase allows you to connect to Azure SQL Database, Azure SQL Data Warehouse, and Azure CosmosDB.

Business Applications of this Workshop

  • Boosting Database Performance with no application changes
  • Classifying data for industry or regulatory compliance
  • Ensuring data is highly available
  • Reducing costs of expensive data movement applications
  • Choosing different platforms for SQL Server and taking advantage of containerized applications.
  • Learning tools and techniques to modernize and migrate to SQL Server 2019

Technologies used in this Workshop

Technology Description
SQL ServerDatabase Platform produced by Microsoft
SQL Server 2019Most current release of SQL Server currently in preview
Intelligent Query ProcessingAutomated query processing enhancements in SQL Server 2019
Query StoreBuilt-in query performance execution statistics stored in a user database
Data ClassificationBuilt-in data information classification with SQL Server with auditing
Accelerated Database RecoveryTurbocharged Recovery, fast rollback, and aggressive transaction log truncation
PolybaseData Virtualization through external tables
LinuxOperating system used in Containers and Container Orchestration
Container runtimeEngine for running and manage containers
SQL Server Management Studio (SSMS)Graphical User Interface Management and Query Tool
Azure Data StudioGraphical User Interface to execute T-SQL queries, notebooks, and manage SQL Server

Before Taking this Workshop

To complete this workshop you will need the following:

  • Clone the workshop using git from https://github.com/microsoft/sqlworkshops.git. All the scripts and files in the labs are found in the sql2019lab folder.

  • On Windows systems, you should use the following git syntax

    git clone --config core.autocrlf=false https://github.com/microsoft/sqlworkshops.git

  • Install the software as listed in the Setup section below

Each module of this workshop can be studied and used independently of each other or taken all as a single lab. The Modules are designed in a sequence but you can use each of them one at a time at your own pace.

Setup

In order to complete this workshop you need to install the following software:

  • SQL Server 2019 Release Candidate or later. You can run all of the activities from this workshop on an installed SQL Server on Windows, Linux, or Containers. You can use the client tools on a separate computer or VM provided it has access to connect to SQL Server.

    • For Modules 1, 2, and 3 you only need the database engine installed
    • Module 3 requires disk space to hold a database with a 10Gb data and 10Gb or 40Gb log file.
    • Module 4 requires you to install and enable Polybase (you don't need the Java option and you can choose a stand-alone Polybase.)
    • Docker is required only for Module 5. You can use Docker for Windows, Linux, or MacOS.
  • Install SQL Server Management Studio (SSMS) 18.2 or higher from https://docs.microsoft.com/en-us/sql/ssms/download-sql-server-management-studio-ssms. Several of the modules require features built only into SSMS.

  • Install Azure Data Studio June 2019 or higher from https://docs.microsoft.com/en-us/sql/azure-data-studio/download. T-SQL notebooks are used extensively in this course.

  • The WideWorldImporters sample backup from https://github.com/Microsoft/sql-server-samples/releases/download/wide-world-importers-v1.0/WideWorldImporters-Full.bak. You can find example scripts to restore the WideWorldImporters database in the sql2019lab folder.

  • Access to an Azure SQL Database is required for Module 4.

This workshop was built and designed for a computer or VM to run SQL Server with at least 8Gb RAM and 4 CPUs. You may be able to run this lab with less compute resources.

NOTE: If you run this lab from a virtual machine in Azure running Windows, and you want to use Module 5, you will need to enable nested virtualization. Read more at https://docs.microsoft.com/en-us/azure/virtual-machines/windows/nested-virtualization

Workshop Details

This workshop uses SQL Server 2019, SQL Server Management Studio, Azure Data Studio, containers, and Azure SQL Database for you to learn how you can solve modern data challenges with SQL Server 2019.

Primary Audience:Data professionals looking to understand and use new capabilities of SQL Server 2019
Secondary Audience: Developers, Architects, and IT Pros
Level: 300
Type:Self-Paced or Instructor Led
Length: 1-2 hours (self-paced) 2-4 hours (Instructor Led)

Related Workshops

Workshop Modules

This is a modular workshop, and in each section, you'll learn concepts, technologies, and processes to help you complete the solution. This table is provided for you to see the list of modules in the workshop. You can use any module in any order you like but the preferred method is to proceed to Next Steps below to start the workshop.

ModuleTopics
01 - Intelligent Performance Learn the how SQL Server can boost your performance with no application changes
02 - Security Learn new security features of SQL Server 2019 such as Data Classification and Auditing
03 - Availability Learn new capabilities to make your SQL Server more available such as Accelerated Database Recovery
04 - Data Virtualization Learn how to use SQL Server as a data hub and reduce data movement using Polybase++
05 - Linux and ContainersLearn how to use containers to deploy SQL Server Replication on Linux.
06 - Additional Capabilities, Migration, and Next StepsLearn more about Additional Capabilities in SQL Server 2019, Migration Tools, Database Compatibility, and Next Steps

Next Steps

Next, Continue to Intelligent Performance