81bc7a7808 | ||
---|---|---|
.. | ||
01_IntelligentPerformance | ||
02_Security | ||
03_Availability | ||
04_DataVirtualization | ||
05_Linux_and_Containers | ||
graphics | ||
slides | ||
01_IntelligentPerformance.md | ||
02_Security.md | ||
03_Availability.md | ||
04_DataVirtualization.md | ||
05_Linux_and_Containers.md | ||
06_Additional_Migration.md | ||
README.md | ||
restorewwi.cmd | ||
restorewwi.sql |
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
SQL Server 2019 includes new capabilities that can solve these challenges. Consider the following infographic
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 Server | Database Platform produced by Microsoft |
SQL Server 2019 | Most current release of SQL Server currently in preview |
Intelligent Query Processing | Automated query processing enhancements in SQL Server 2019 |
Query Store | Built-in query performance execution statistics stored in a user database |
Data Classification | Built-in data information classification with SQL Server with auditing |
Accelerated Database Recovery | Turbocharged Recovery, fast rollback, and aggressive transaction log truncation |
Polybase | Data Virtualization through external tables |
Linux | Operating system used in Containers and Container Orchestration |
Container runtime | Engine for running and manage containers |
SQL Server Management Studio (SSMS) | Graphical User Interface Management and Query Tool |
Azure Data Studio | Graphical 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.
Module | Topics |
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 Containers | Learn how to use containers to deploy SQL Server Replication on Linux. |
06 - Additional Capabilities, Migration, and Next Steps | Learn more about Additional Capabilities in SQL Server 2019, Migration Tools, Database Compatibility, and Next Steps |
Next Steps
Next, Continue to Intelligent Performance