Download presentation
Presentation is loading. Please wait.
1
Installation and database instance essentials
11: Monitoring and performance tuning Installation and database instance essentials Module 2
2
Module Agenda Overview of installing software
8/29/2018 4:40 AM Module Agenda Overview of installing software The SQL Server Migration Assistant (SSMA), Microsoft Assessment and Planning Toolkit (MAP) tool, and SQL Server Integration Services (SSIS) combined with Oracle client drivers (and others) can be used in support of the following aspects of an Oracle or SAP migration: Migration process & tooling Data deployment Cloud migration Review of SQL Server tools while installing OLTP vs DW workload considerations © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
3
Lesson 1 Overview of installing software
4
Lesson 1: Overview of installing software and creating a database
40074 2: Database and instances Lesson 1: Overview of installing software and creating a database Hardware requirements and SQL Server editions Installing SQL Server GUI installation Command line installation Configuration file installation SysPrep installation
5
Planning a SQL server Review installation requirements, system configuration checks, and security considerations for a SQL Server installation. Run SQL Server Setup to install or upgrade to a later version. Before upgrading, review Upgrade to SQL Server 2016 Use SQL Server utilities to configure SQL Server
6
Hardware and software requirements
Memory: 4GB recommended .NET 3.5 SP1 Processor: x64 Processor: AMD Opteron, AMD Athlon 64, Intel Xeon with Intel EM64T support, Intel Pentium IV with EM64T support Processor speed: 2.0 GHz or faster SQL Server Standard edition or below requires Windows 8 or better SQL Server Enterprise/Business Intelligence/Web edition requires Windows Server 2012 or better Disk space: 6GB on system drive. Oracle SE Java Runtime Environment Version 7 Update 51 or higher for PolyBase only Storage types for data files: local disk; shared storage, SMB file share (not supported for Analysis Services) Not recommended on a domain controller Resource “Hardware and Software Requirements for Installing SQL Server 2016”: for a complete set of requirements
7
Demo Installation of SQL Server
Goal is to show Oracle DBA the installation of the default instance of SQL Server with the drive mappings Mount the SQL Server installation ISO from the software drive Run thru the Installation Center options Start installation Select features Use service account user for the various engine services Assign drives for data, logs, tempdb, backup Kick off setup Demo Installation of SQL Server
8
Resources Hardware and Software Requirements for Installing SQL Server 2016
9
Review of SQL Server tools while installing
Lesson 2 Review of SQL Server tools while installing
10
Review of SQL Server tools while installing
40074 2: Database and instances Review of SQL Server tools while installing Configuration Manager Management Studio
11
SQL Server Configuration Manager
12
SQL Server Management Studio
13
Resources SQL Server Management Tools SQL Server Configuration Manager
14
Lesson 3 OLTP vs DW workload considerations
15
OLTP vs DW characteristics for SMP servers
OLTP Workload DW Workload Seek centric (random read/writes) IOPS Scan centric (sequential reads/writes) MB/s Volatile data Non-volatile data (nightly loads) Many heap tables Columnstore indexed tables (Fact) Index heavy Index light – covering indexes (Fact) High concurrency Low concurrency This is very similar to what you would expect for running workloads on Oracle Reference: SQL Server---a Technical Reference Guide for Designing Mission-Critical OLTP and DW Solutions
16
General considerations for databases based on workload
OLTP workload DW workload Analysis Services workload Disk block size = 64 KB Database recovery model = FULL Disk block size = 256 KB If the workload is mixed, go with 64 KB Database recovery model = SIMPLE For data loading, use Bulk-Logged Disk block size 32KB Reference: New VM Images Optimized for Transactional and DW workloads in Azure VM Gallery Resource: Recovery Models OLTP (Online Transaction Processing) · Heavy on 8KB reads/writes · Some read-ahead in multiples of 8KB · Rule of Thumb: Optimize for Random I/O (more spindles) RDW (Relational Data Warehouse) · 64KB to 512 KB reads (on table and range scans) · 128KB-256KB writes (on bulk loads) · Rule of Thumb: Optimize for highly sequential throughput I/O Analysis Services · Up to 64KB random reads · Average blocks of 32KB · Highly random and fragmented data · Rule of thumb: Optimize for Random I/O with 32KB NTFS Blocks
17
Using Diskspd Utility Download utility at
18
Demo Installation of sample databases
Goal is to show how to restore sample databases from software drive Start Management Studio Restore AdventureWorks2016 – show how files are reallocated – Generate script from UI and run the command in Query Editor Restore AdeventureWorksDW2016 – Run the command using UI Change the Recovery model for AdventureWorks2016 to Full Install SQL Server Data Tools from software disk Demo Installation of sample databases
19
Resources Technical Reference Guide for Designing Mission- Critical OLTP and DW Solutions SQL Server Sample Databases
20
Module Review Overview of installing software
8/29/2018 4:40 AM Module Review Overview of installing software The SQL Server Migration Assistant (SSMA), Microsoft Assessment and Planning Toolkit (MAP) tool, and SQL Server Integration Services (SSIS) combined with Oracle client drivers (and others) can be used in support of the following aspects of an Oracle or SAP migration: Migration process & tooling Data deployment Cloud migration Review of SQL Server tools while installing OLTP vs DW workload considerations © 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
21
© 2014 Microsoft Corporation. All rights reserved
© 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.
Similar presentations
© 2024 SlidePlayer.com Inc.
All rights reserved.