SlideShare une entreprise Scribd logo
1  sur  24
Télécharger pour lire hors ligne
AMBIENT INTELLIGENCE
tech days•
2015
#mstechdays techdays.microsoft.fr
select * from techdays2015.speaker_principals
Christophe LAPORTE
Consultant Formateur Indépendant
Blog http://conseilit.wordpress.com/
Twitter @Conseilit
Email christophe_laporte@hotmail.fr
Nadia BEN EL KADI
SQL Server Team
Microsoft France
Blog : http://blogs.technet.com/b/dataplatforminsider/
tech.days 2015#mstechdaysSESSION
Agenda – SQL Server & la virtualisation
 Introduction
 Why virtualizing
 Advantages of virtualization
 Demo / Deployement
 Virtualization Support rules & Best Practices
 Virtualization HA scenarios
 Troubleshooting & Monitoring & Good to know
 Case Study
 Virtualization & cloud : A sample usage scenario
 Conclusion
tech.days 2015#mstechdaysSESSION
Introduction
DatabasesInstancesVirtual
Machines
Sales_1
Marketing_1
Online_Sales
ERP_10
ERP_10
DB_1
DB_2
DB_3
Consolidate_1
 Consolidation
 Standardize to fewer hardware
 Reduce space, power
 Improve Hardware Utilization
 Improve Management Efficiency
 Lowered cost and complexity
tech.days 2015#mstechdaysSESSION
Pourquoi virtualiser ?
• Historiquement
• Consolidation
• Maintenance de matériel obsolète
• Peu adapté à de lourdes charges de travail (OLTP / DWH)
• Actuellement
• Le matériel à évolué
• CPU / RAM / Réseau (10Gb, RDMA)
• Disques (SAN Full Flash / SSD, Cartes Flash)
• Les hyperviseurs ont aussi évolué
• Gestion des ressources
• Performance
• Les serveurs bases de données peuvent être candidat à la
virtualisation
tech.days 2015#mstechdaysSESSION
Avantages de la virtualisation
• Faible adhérence au matériel
• Migrations facilitées
• Mise à jour hyperviseur
• Flexibilité
• Modification (à chaud) de la configuration d’une VM
• Redimensionnement à chaud des VHDX
• Limitation de la bande passant disque si nécessaire
• Affectation de ressources à l’instant T et non pas en fonction de la durée de vie du
projet
• Nombre de CPU
• Mémoire
• Dépannage
• Clonage à chaud (ou export depuis un checkpoint) d’une VM
tech.days 2015#mstechdaysSESSION
SQL Server virtualization
tech.days 2015#mstechdaysSESSION
SQL Server support for virtualization
http://support.microsoft.com/kb/956893/en-us
tech.days 2015#mstechdaysSESSION
SQL Server
tech.days 2015#mstechdaysSESSION
tech.days 2015#mstechdaysSESSION
HOST
 Better when the host supports SLAT (Second Level Address Translation) and NUMA (Non-Uniform Memory Access)
Most modern servers provide these features
 Take Care of the overcommitting : (VP:LP) ratio
 Antivirus (extensions VHD/VHDX/AVHD/AVHDX)
 Let enough Memory for the HOST for the VMs management
 Monitor Memory usage to prevent performance issues
tech.days 2015#mstechdaysSESSION
Guest VM
Maximizing GUEST CPU
 Identify and categorize virtual machines based on their loads and allocate #Vcpu processors accordingly.
Maximizing GUEST Memory
 Allocate a reasonable amount of memory to the virtual machines running SQL Server workloads so that they can handle
the expected loads (at peak and off-peak times)
 If using Dynamic memory to provide better stability to a virtual machine workload, grant Lock Pages in Memory user rights to the
SQL Server service account.
tech.days 2015#mstechdaysSESSION
 Pass-through Disk
 VHD (Virtual Hard Disk)
 Fixed Size VHD : Best performance
 Dynamic VHD : Expand on demand
 Hyper-V 2012 has the new VHDX format
 Hyper-V 2012 has Virtual Fiber Channel to connect directly to FC storage from within a virtual machine.
Storage
tech.days 2015#mstechdaysSESSION
Reduce IO with Instant File Initialization
0
10
20
30
40
50
60
Create 100 GB database Restore 100 GB database
Time(minutes)
Impact of Instant File Initialization
Without Instant File Initialization With Instant File Initialization
tech.days 2015#mstechdaysSESSION
Reduce IO with Data Compression
400000
500000
600000
700000
800000
900000
1000000
100000
150000
200000
250000
NONE PAGE
Reads
Time(ms)
Query Performance with Data Compression
CPU Time Elapsed Time
Logical Reads Physical Reads (+RA)
0
10
20
30
40
50
60
70
NONE PAGE
Throughput(BusinessTransactions/sec)
OLTP Throughput
Throughput
tech.days 2015#mstechdaysSESSION
Whitepapers
http://go.microsoft.com/fwlink/?LinkId=306266
http://download.microsoft.com/download/6/1/D/61DDE9B6-AB46-48CA-8380-
D7714C9CB1AB/Best_Practices_for_Virtualizing_and_Managing_SQL_Server_2012.pdf
tech.days 2015#mstechdaysSESSION
Comparison : Physical vs Virtual
Enterprise Strategy Group (ESG)
Tested the difference in performance
between the brokerage application running
in a Hyper-V VM & a native physical server
Increased Scale & Performance
The 2 tests showed just a 6% difference
between the brokerage application running
on physical vs. virtual
Download Full Report
The full report is available for public
download here.
0
200
400
600
800
1000
1200
1400
1600
Physical Virtual
Transactions/Sec
Hyper-V OLTP Workload Analysis
tech.days 2015#mstechdaysSESSION
tech.days 2015#mstechdaysSESSION
Points d’attention
• Diagnostic
• Niveau 1 : hyperviseur (CPU, disque, mémoire)
• Est-ce que le Host est chargé
• Quelle sont les limites du Host
• Hyper-V Processor Counters : best way to get true measure of CPU utilization
• Hyper-V Logical Processor: Total CPU time across entire server
• Hyper-V Virtual Processor: CPU time for each guest virtual processor
• Niveau 2 : Guest OS (CPU, disque, mémoire)
• Est-ce que le Guest est chargé (OS)
• Est-ce que SQL Server est chargé
• Compteurs de performance système / SQL Server
• DMVs / DMFs
• Pensez à ne pas surexploiter le host
• Pas de surexploitation de la mémoire
• Nombre de vCœurs vs nombre de cœurs
• pNUMA vs vNUMA
• Stratégie de sauvegarde
tech.days 2015#mstechdaysSESSION
Troubleshooting Common VM Issues
Issue KPIs To Monitor Actions to Consider
CPU at or near 80%
% Processor Time (_Total)
SOS_SCHEDULER_YIELD waits
Increase instance size
Identify top consuming queries and tune
Load balance (e.g. move DB to another instance)
Near I/O capacity limits or
IO Latency Increases
Average disk reads per second
Average disk writes per second
Disk reads per second
Disk writes per second
io_virtual_file_stats
PAGEIOLATCH waits
SQL Server: Buffer ManagerPage Life Expectancy
Check Page Life Expectancy counter, for mem
pressure. Increase instance size
Identify which DB and log files have I/O bottleneck
Add more data disks and separate data files if near
IOPS limits per disk
Tune queries to reduce reads and writes
Consider enabling row or page compression
Memory resource pressure
Memory: Available Bytes
Memory: Pages per second
SQL Server: Buffer ManagerPage Life Expectancy
Process: Working Set (for SQL Server)
RESOURCE_SEMAPHORE waits
Check max server memory setting for SQL Server.
Use high memory instance
Identify SQL component (such as, CLR, high
memory grants for app queries, et.), tune
appropriately.
tech.days 2015#mstechdaysSESSION
Characteristics of a cloud
Shared
Infrastruct
ure
Scalable
and Elastic
Usage
Based
Self Service
tech.days 2015#mstechdaysSESSION
Exemple : Catalogue de services
Self Service provisioning
tech.days 2015#mstechdaysSESSION
Conclusion
• Read the white papers
• Control/discover your DB sprawl
• Run MAP toolkit to identify running DBs
• Capacity Planning
• Understand Isolation/security/HA requirements
• Plan and test for IO perf variability
• Identify optimal VM size
• Use Filegroups and multiple data disks for large DBs
• Begin conversion (virtualize)
• Use P2V to keep existing settings
• Create new VM to combine multiple apps
• Identify your KPIs to monitor
• Revisit optimization decisions as workload changes
© 2015 Microsoft Corporation. All rights reserved.
tech days•
2015
#mstechdays techdays.microsoft.fr

Contenu connexe

Similaire à SQL Server & la virtualisation : « 45 minutes inside » !

Session 1: 'On cloud nine about your IT solution'
Session 1:  'On cloud nine about your IT solution'Session 1:  'On cloud nine about your IT solution'
Session 1: 'On cloud nine about your IT solution'Xylos
 
HighAvailabilityForSharepoint
HighAvailabilityForSharepointHighAvailabilityForSharepoint
HighAvailabilityForSharepointJason Dover
 
Dell PowerEdge R920 and Microsoft SQL Server 2014 Migration and Benefits Guide
Dell PowerEdge R920 and Microsoft SQL Server 2014 Migration and Benefits GuideDell PowerEdge R920 and Microsoft SQL Server 2014 Migration and Benefits Guide
Dell PowerEdge R920 and Microsoft SQL Server 2014 Migration and Benefits GuidePrincipled Technologies
 
Microsoft Cloud Database & Cloud BI
Microsoft Cloud Database & Cloud BIMicrosoft Cloud Database & Cloud BI
Microsoft Cloud Database & Cloud BIMark Kromer
 
Hp Polyserve Database Utility For Sql Server Consolidation
Hp Polyserve Database Utility For Sql Server ConsolidationHp Polyserve Database Utility For Sql Server Consolidation
Hp Polyserve Database Utility For Sql Server ConsolidationCB UTBlog
 
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
44spotkaniePLSSUGWRO_CoNowegowKrainieChmurTobias Koprowski
 
Pramodkumar_SQL_DBA(5YRS EXP)
Pramodkumar_SQL_DBA(5YRS EXP)Pramodkumar_SQL_DBA(5YRS EXP)
Pramodkumar_SQL_DBA(5YRS EXP)pramod singh
 
Microsoft SQL Server - Best Ever Data Platform on Windows Presentation
Microsoft SQL Server - Best Ever Data Platform on Windows PresentationMicrosoft SQL Server - Best Ever Data Platform on Windows Presentation
Microsoft SQL Server - Best Ever Data Platform on Windows PresentationMicrosoft Private Cloud
 
SQL Azure Overview - ericnel
SQL Azure Overview - ericnelSQL Azure Overview - ericnel
SQL Azure Overview - ericnelukdpe
 
Quickly Deploy Microsoft Private Cloud and SQL Server 2012 Data Warehouse on ...
Quickly Deploy Microsoft Private Cloud and SQL Server 2012 Data Warehouse on ...Quickly Deploy Microsoft Private Cloud and SQL Server 2012 Data Warehouse on ...
Quickly Deploy Microsoft Private Cloud and SQL Server 2012 Data Warehouse on ...Hitachi Vantara
 
Comprehensive and Simplified Management for VMware vSphere Environments - now...
Comprehensive and Simplified Management for VMware vSphere Environments - now...Comprehensive and Simplified Management for VMware vSphere Environments - now...
Comprehensive and Simplified Management for VMware vSphere Environments - now...Hitachi Vantara
 
Capture the Cloud with Azure
Capture the Cloud with AzureCapture the Cloud with Azure
Capture the Cloud with AzureShahed Chowdhuri
 
Global Azure Bootcamp 2017 - Why I love S2D for MSSQL on Azure
Global Azure Bootcamp 2017 - Why I love S2D for MSSQL on AzureGlobal Azure Bootcamp 2017 - Why I love S2D for MSSQL on Azure
Global Azure Bootcamp 2017 - Why I love S2D for MSSQL on AzureKarim Vaes
 
Apresentação Microsoft Azure no SASPI 5
Apresentação Microsoft Azure no SASPI 5Apresentação Microsoft Azure no SASPI 5
Apresentação Microsoft Azure no SASPI 5Lucas Chies
 
Introduction to microsoft sql server 2008 r2
Introduction to microsoft sql server 2008 r2Introduction to microsoft sql server 2008 r2
Introduction to microsoft sql server 2008 r2Eduardo Castro
 
AnalysisServices
AnalysisServicesAnalysisServices
AnalysisServiceswebuploader
 
Best Practices For Virtualised Share Point T02 Brendan Law Nathan Mercer
Best Practices For Virtualised Share Point T02 Brendan Law Nathan MercerBest Practices For Virtualised Share Point T02 Brendan Law Nathan Mercer
Best Practices For Virtualised Share Point T02 Brendan Law Nathan MercerFlamer
 

Similaire à SQL Server & la virtualisation : « 45 minutes inside » ! (20)

Session 1: 'On cloud nine about your IT solution'
Session 1:  'On cloud nine about your IT solution'Session 1:  'On cloud nine about your IT solution'
Session 1: 'On cloud nine about your IT solution'
 
HighAvailabilityForSharepoint
HighAvailabilityForSharepointHighAvailabilityForSharepoint
HighAvailabilityForSharepoint
 
Dell PowerEdge R920 and Microsoft SQL Server 2014 Migration and Benefits Guide
Dell PowerEdge R920 and Microsoft SQL Server 2014 Migration and Benefits GuideDell PowerEdge R920 and Microsoft SQL Server 2014 Migration and Benefits Guide
Dell PowerEdge R920 and Microsoft SQL Server 2014 Migration and Benefits Guide
 
Microsoft Cloud Database & Cloud BI
Microsoft Cloud Database & Cloud BIMicrosoft Cloud Database & Cloud BI
Microsoft Cloud Database & Cloud BI
 
Hp Polyserve Database Utility For Sql Server Consolidation
Hp Polyserve Database Utility For Sql Server ConsolidationHp Polyserve Database Utility For Sql Server Consolidation
Hp Polyserve Database Utility For Sql Server Consolidation
 
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
44spotkaniePLSSUGWRO_CoNowegowKrainieChmur
 
Pramodkumar_SQL_DBA(5YRS EXP)
Pramodkumar_SQL_DBA(5YRS EXP)Pramodkumar_SQL_DBA(5YRS EXP)
Pramodkumar_SQL_DBA(5YRS EXP)
 
Microsoft SQL Server - Best Ever Data Platform on Windows Presentation
Microsoft SQL Server - Best Ever Data Platform on Windows PresentationMicrosoft SQL Server - Best Ever Data Platform on Windows Presentation
Microsoft SQL Server - Best Ever Data Platform on Windows Presentation
 
Azure IaaS Feb 23 2016 Let's Dev This Cloud
Azure IaaS Feb 23 2016 Let's Dev This CloudAzure IaaS Feb 23 2016 Let's Dev This Cloud
Azure IaaS Feb 23 2016 Let's Dev This Cloud
 
SQL Azure Overview - ericnel
SQL Azure Overview - ericnelSQL Azure Overview - ericnel
SQL Azure Overview - ericnel
 
Quickly Deploy Microsoft Private Cloud and SQL Server 2012 Data Warehouse on ...
Quickly Deploy Microsoft Private Cloud and SQL Server 2012 Data Warehouse on ...Quickly Deploy Microsoft Private Cloud and SQL Server 2012 Data Warehouse on ...
Quickly Deploy Microsoft Private Cloud and SQL Server 2012 Data Warehouse on ...
 
Comprehensive and Simplified Management for VMware vSphere Environments - now...
Comprehensive and Simplified Management for VMware vSphere Environments - now...Comprehensive and Simplified Management for VMware vSphere Environments - now...
Comprehensive and Simplified Management for VMware vSphere Environments - now...
 
Optimiser votre infrastructure SQL Server avec Azure
Optimiser votre infrastructure SQL Server avec AzureOptimiser votre infrastructure SQL Server avec Azure
Optimiser votre infrastructure SQL Server avec Azure
 
Capture the Cloud with Azure
Capture the Cloud with AzureCapture the Cloud with Azure
Capture the Cloud with Azure
 
Global Azure Bootcamp 2017 - Why I love S2D for MSSQL on Azure
Global Azure Bootcamp 2017 - Why I love S2D for MSSQL on AzureGlobal Azure Bootcamp 2017 - Why I love S2D for MSSQL on Azure
Global Azure Bootcamp 2017 - Why I love S2D for MSSQL on Azure
 
Apresentação Microsoft Azure no SASPI 5
Apresentação Microsoft Azure no SASPI 5Apresentação Microsoft Azure no SASPI 5
Apresentação Microsoft Azure no SASPI 5
 
Introduction to microsoft sql server 2008 r2
Introduction to microsoft sql server 2008 r2Introduction to microsoft sql server 2008 r2
Introduction to microsoft sql server 2008 r2
 
AnalysisServices
AnalysisServicesAnalysisServices
AnalysisServices
 
Profile narendraredy
Profile narendraredyProfile narendraredy
Profile narendraredy
 
Best Practices For Virtualised Share Point T02 Brendan Law Nathan Mercer
Best Practices For Virtualised Share Point T02 Brendan Law Nathan MercerBest Practices For Virtualised Share Point T02 Brendan Law Nathan Mercer
Best Practices For Virtualised Share Point T02 Brendan Law Nathan Mercer
 

Plus de Microsoft Technet France

Automatisez, visualisez et améliorez vos processus d’entreprise avec Nintex
Automatisez, visualisez et améliorez vos processus d’entreprise avec Nintex Automatisez, visualisez et améliorez vos processus d’entreprise avec Nintex
Automatisez, visualisez et améliorez vos processus d’entreprise avec Nintex Microsoft Technet France
 
Comment réussir votre déploiement de Windows 10
Comment réussir votre déploiement de Windows 10Comment réussir votre déploiement de Windows 10
Comment réussir votre déploiement de Windows 10Microsoft Technet France
 
Fusion, Acquisition - Optimisez la migration et la continuité des outils col...
 Fusion, Acquisition - Optimisez la migration et la continuité des outils col... Fusion, Acquisition - Optimisez la migration et la continuité des outils col...
Fusion, Acquisition - Optimisez la migration et la continuité des outils col...Microsoft Technet France
 
Wavestone déploie son portail Powell 365 en 5 semaines
Wavestone déploie son portail Powell 365 en 5 semainesWavestone déploie son portail Powell 365 en 5 semaines
Wavestone déploie son portail Powell 365 en 5 semainesMicrosoft Technet France
 
Retour d’expérience sur le monitoring et la sécurisation des identités Azure
Retour d’expérience sur le monitoring et la sécurisation des identités AzureRetour d’expérience sur le monitoring et la sécurisation des identités Azure
Retour d’expérience sur le monitoring et la sécurisation des identités AzureMicrosoft Technet France
 
Scénarios de mobilité couverts par Enterprise Mobility + Security
Scénarios de mobilité couverts par Enterprise Mobility + SecurityScénarios de mobilité couverts par Enterprise Mobility + Security
Scénarios de mobilité couverts par Enterprise Mobility + SecurityMicrosoft Technet France
 
SharePoint Framework : le développement SharePoint nouvelle génération
SharePoint Framework : le développement SharePoint nouvelle générationSharePoint Framework : le développement SharePoint nouvelle génération
SharePoint Framework : le développement SharePoint nouvelle générationMicrosoft Technet France
 
Stockage Cloud : il y en aura pour tout le monde
Stockage Cloud : il y en aura pour tout le mondeStockage Cloud : il y en aura pour tout le monde
Stockage Cloud : il y en aura pour tout le mondeMicrosoft Technet France
 
Bien appréhender le concept de Windows As a Service
Bien appréhender le concept de Windows As a ServiceBien appréhender le concept de Windows As a Service
Bien appréhender le concept de Windows As a ServiceMicrosoft Technet France
 
Protéger vos données avec le chiffrement dans Azure et Office 365
Protéger vos données avec le chiffrement dans Azure et Office 365Protéger vos données avec le chiffrement dans Azure et Office 365
Protéger vos données avec le chiffrement dans Azure et Office 365Microsoft Technet France
 
Protéger votre patrimoine informationnel dans un monde hybride avec Azure Inf...
Protéger votre patrimoine informationnel dans un monde hybride avec Azure Inf...Protéger votre patrimoine informationnel dans un monde hybride avec Azure Inf...
Protéger votre patrimoine informationnel dans un monde hybride avec Azure Inf...Microsoft Technet France
 
Comprendre la stratégie identité de Microsoft
Comprendre la stratégie identité de MicrosoftComprendre la stratégie identité de Microsoft
Comprendre la stratégie identité de MicrosoftMicrosoft Technet France
 
Vous avez dit « authentification sans mot de passe » : une illustration avec ...
Vous avez dit « authentification sans mot de passe » : une illustration avec ...Vous avez dit « authentification sans mot de passe » : une illustration avec ...
Vous avez dit « authentification sans mot de passe » : une illustration avec ...Microsoft Technet France
 
Déploiement hybride, la téléphonie dans le cloud
Déploiement hybride, la téléphonie dans le cloudDéploiement hybride, la téléphonie dans le cloud
Déploiement hybride, la téléphonie dans le cloudMicrosoft Technet France
 
Supervisez la qualité des appels Skype for Business Online à l'aide de Call Q...
Supervisez la qualité des appels Skype for Business Online à l'aide de Call Q...Supervisez la qualité des appels Skype for Business Online à l'aide de Call Q...
Supervisez la qualité des appels Skype for Business Online à l'aide de Call Q...Microsoft Technet France
 
SharePoint 2016 : architecture, déploiement et topologies hybrides
SharePoint 2016 : architecture, déploiement et topologies hybridesSharePoint 2016 : architecture, déploiement et topologies hybrides
SharePoint 2016 : architecture, déploiement et topologies hybridesMicrosoft Technet France
 
Gestion de Windows 10 et des applications dans l'entreprise moderne
Gestion de Windows 10 et des applications dans l'entreprise moderneGestion de Windows 10 et des applications dans l'entreprise moderne
Gestion de Windows 10 et des applications dans l'entreprise moderneMicrosoft Technet France
 
Office 365 dans votre Système d'Informations
Office 365 dans votre Système d'InformationsOffice 365 dans votre Système d'Informations
Office 365 dans votre Système d'InformationsMicrosoft Technet France
 

Plus de Microsoft Technet France (20)

Automatisez, visualisez et améliorez vos processus d’entreprise avec Nintex
Automatisez, visualisez et améliorez vos processus d’entreprise avec Nintex Automatisez, visualisez et améliorez vos processus d’entreprise avec Nintex
Automatisez, visualisez et améliorez vos processus d’entreprise avec Nintex
 
Comment réussir votre déploiement de Windows 10
Comment réussir votre déploiement de Windows 10Comment réussir votre déploiement de Windows 10
Comment réussir votre déploiement de Windows 10
 
OMS log search au quotidien
OMS log search au quotidienOMS log search au quotidien
OMS log search au quotidien
 
Fusion, Acquisition - Optimisez la migration et la continuité des outils col...
 Fusion, Acquisition - Optimisez la migration et la continuité des outils col... Fusion, Acquisition - Optimisez la migration et la continuité des outils col...
Fusion, Acquisition - Optimisez la migration et la continuité des outils col...
 
Wavestone déploie son portail Powell 365 en 5 semaines
Wavestone déploie son portail Powell 365 en 5 semainesWavestone déploie son portail Powell 365 en 5 semaines
Wavestone déploie son portail Powell 365 en 5 semaines
 
Retour d’expérience sur le monitoring et la sécurisation des identités Azure
Retour d’expérience sur le monitoring et la sécurisation des identités AzureRetour d’expérience sur le monitoring et la sécurisation des identités Azure
Retour d’expérience sur le monitoring et la sécurisation des identités Azure
 
Scénarios de mobilité couverts par Enterprise Mobility + Security
Scénarios de mobilité couverts par Enterprise Mobility + SecurityScénarios de mobilité couverts par Enterprise Mobility + Security
Scénarios de mobilité couverts par Enterprise Mobility + Security
 
SharePoint Framework : le développement SharePoint nouvelle génération
SharePoint Framework : le développement SharePoint nouvelle générationSharePoint Framework : le développement SharePoint nouvelle génération
SharePoint Framework : le développement SharePoint nouvelle génération
 
Stockage Cloud : il y en aura pour tout le monde
Stockage Cloud : il y en aura pour tout le mondeStockage Cloud : il y en aura pour tout le monde
Stockage Cloud : il y en aura pour tout le monde
 
Bien appréhender le concept de Windows As a Service
Bien appréhender le concept de Windows As a ServiceBien appréhender le concept de Windows As a Service
Bien appréhender le concept de Windows As a Service
 
Protéger vos données avec le chiffrement dans Azure et Office 365
Protéger vos données avec le chiffrement dans Azure et Office 365Protéger vos données avec le chiffrement dans Azure et Office 365
Protéger vos données avec le chiffrement dans Azure et Office 365
 
Protéger votre patrimoine informationnel dans un monde hybride avec Azure Inf...
Protéger votre patrimoine informationnel dans un monde hybride avec Azure Inf...Protéger votre patrimoine informationnel dans un monde hybride avec Azure Inf...
Protéger votre patrimoine informationnel dans un monde hybride avec Azure Inf...
 
Comprendre la stratégie identité de Microsoft
Comprendre la stratégie identité de MicrosoftComprendre la stratégie identité de Microsoft
Comprendre la stratégie identité de Microsoft
 
Vous avez dit « authentification sans mot de passe » : une illustration avec ...
Vous avez dit « authentification sans mot de passe » : une illustration avec ...Vous avez dit « authentification sans mot de passe » : une illustration avec ...
Vous avez dit « authentification sans mot de passe » : une illustration avec ...
 
Sécurité des données
Sécurité des donnéesSécurité des données
Sécurité des données
 
Déploiement hybride, la téléphonie dans le cloud
Déploiement hybride, la téléphonie dans le cloudDéploiement hybride, la téléphonie dans le cloud
Déploiement hybride, la téléphonie dans le cloud
 
Supervisez la qualité des appels Skype for Business Online à l'aide de Call Q...
Supervisez la qualité des appels Skype for Business Online à l'aide de Call Q...Supervisez la qualité des appels Skype for Business Online à l'aide de Call Q...
Supervisez la qualité des appels Skype for Business Online à l'aide de Call Q...
 
SharePoint 2016 : architecture, déploiement et topologies hybrides
SharePoint 2016 : architecture, déploiement et topologies hybridesSharePoint 2016 : architecture, déploiement et topologies hybrides
SharePoint 2016 : architecture, déploiement et topologies hybrides
 
Gestion de Windows 10 et des applications dans l'entreprise moderne
Gestion de Windows 10 et des applications dans l'entreprise moderneGestion de Windows 10 et des applications dans l'entreprise moderne
Gestion de Windows 10 et des applications dans l'entreprise moderne
 
Office 365 dans votre Système d'Informations
Office 365 dans votre Système d'InformationsOffice 365 dans votre Système d'Informations
Office 365 dans votre Système d'Informations
 

Dernier

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfEnterprise Knowledge
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 

Dernier (20)

A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 

SQL Server & la virtualisation : « 45 minutes inside » !

  • 2. select * from techdays2015.speaker_principals Christophe LAPORTE Consultant Formateur Indépendant Blog http://conseilit.wordpress.com/ Twitter @Conseilit Email christophe_laporte@hotmail.fr Nadia BEN EL KADI SQL Server Team Microsoft France Blog : http://blogs.technet.com/b/dataplatforminsider/
  • 3. tech.days 2015#mstechdaysSESSION Agenda – SQL Server & la virtualisation  Introduction  Why virtualizing  Advantages of virtualization  Demo / Deployement  Virtualization Support rules & Best Practices  Virtualization HA scenarios  Troubleshooting & Monitoring & Good to know  Case Study  Virtualization & cloud : A sample usage scenario  Conclusion
  • 4. tech.days 2015#mstechdaysSESSION Introduction DatabasesInstancesVirtual Machines Sales_1 Marketing_1 Online_Sales ERP_10 ERP_10 DB_1 DB_2 DB_3 Consolidate_1  Consolidation  Standardize to fewer hardware  Reduce space, power  Improve Hardware Utilization  Improve Management Efficiency  Lowered cost and complexity
  • 5. tech.days 2015#mstechdaysSESSION Pourquoi virtualiser ? • Historiquement • Consolidation • Maintenance de matériel obsolète • Peu adapté à de lourdes charges de travail (OLTP / DWH) • Actuellement • Le matériel à évolué • CPU / RAM / Réseau (10Gb, RDMA) • Disques (SAN Full Flash / SSD, Cartes Flash) • Les hyperviseurs ont aussi évolué • Gestion des ressources • Performance • Les serveurs bases de données peuvent être candidat à la virtualisation
  • 6. tech.days 2015#mstechdaysSESSION Avantages de la virtualisation • Faible adhérence au matériel • Migrations facilitées • Mise à jour hyperviseur • Flexibilité • Modification (à chaud) de la configuration d’une VM • Redimensionnement à chaud des VHDX • Limitation de la bande passant disque si nécessaire • Affectation de ressources à l’instant T et non pas en fonction de la durée de vie du projet • Nombre de CPU • Mémoire • Dépannage • Clonage à chaud (ou export depuis un checkpoint) d’une VM
  • 8. tech.days 2015#mstechdaysSESSION SQL Server support for virtualization http://support.microsoft.com/kb/956893/en-us
  • 11. tech.days 2015#mstechdaysSESSION HOST  Better when the host supports SLAT (Second Level Address Translation) and NUMA (Non-Uniform Memory Access) Most modern servers provide these features  Take Care of the overcommitting : (VP:LP) ratio  Antivirus (extensions VHD/VHDX/AVHD/AVHDX)  Let enough Memory for the HOST for the VMs management  Monitor Memory usage to prevent performance issues
  • 12. tech.days 2015#mstechdaysSESSION Guest VM Maximizing GUEST CPU  Identify and categorize virtual machines based on their loads and allocate #Vcpu processors accordingly. Maximizing GUEST Memory  Allocate a reasonable amount of memory to the virtual machines running SQL Server workloads so that they can handle the expected loads (at peak and off-peak times)  If using Dynamic memory to provide better stability to a virtual machine workload, grant Lock Pages in Memory user rights to the SQL Server service account.
  • 13. tech.days 2015#mstechdaysSESSION  Pass-through Disk  VHD (Virtual Hard Disk)  Fixed Size VHD : Best performance  Dynamic VHD : Expand on demand  Hyper-V 2012 has the new VHDX format  Hyper-V 2012 has Virtual Fiber Channel to connect directly to FC storage from within a virtual machine. Storage
  • 14. tech.days 2015#mstechdaysSESSION Reduce IO with Instant File Initialization 0 10 20 30 40 50 60 Create 100 GB database Restore 100 GB database Time(minutes) Impact of Instant File Initialization Without Instant File Initialization With Instant File Initialization
  • 15. tech.days 2015#mstechdaysSESSION Reduce IO with Data Compression 400000 500000 600000 700000 800000 900000 1000000 100000 150000 200000 250000 NONE PAGE Reads Time(ms) Query Performance with Data Compression CPU Time Elapsed Time Logical Reads Physical Reads (+RA) 0 10 20 30 40 50 60 70 NONE PAGE Throughput(BusinessTransactions/sec) OLTP Throughput Throughput
  • 17. tech.days 2015#mstechdaysSESSION Comparison : Physical vs Virtual Enterprise Strategy Group (ESG) Tested the difference in performance between the brokerage application running in a Hyper-V VM & a native physical server Increased Scale & Performance The 2 tests showed just a 6% difference between the brokerage application running on physical vs. virtual Download Full Report The full report is available for public download here. 0 200 400 600 800 1000 1200 1400 1600 Physical Virtual Transactions/Sec Hyper-V OLTP Workload Analysis
  • 19. tech.days 2015#mstechdaysSESSION Points d’attention • Diagnostic • Niveau 1 : hyperviseur (CPU, disque, mémoire) • Est-ce que le Host est chargé • Quelle sont les limites du Host • Hyper-V Processor Counters : best way to get true measure of CPU utilization • Hyper-V Logical Processor: Total CPU time across entire server • Hyper-V Virtual Processor: CPU time for each guest virtual processor • Niveau 2 : Guest OS (CPU, disque, mémoire) • Est-ce que le Guest est chargé (OS) • Est-ce que SQL Server est chargé • Compteurs de performance système / SQL Server • DMVs / DMFs • Pensez à ne pas surexploiter le host • Pas de surexploitation de la mémoire • Nombre de vCœurs vs nombre de cœurs • pNUMA vs vNUMA • Stratégie de sauvegarde
  • 20. tech.days 2015#mstechdaysSESSION Troubleshooting Common VM Issues Issue KPIs To Monitor Actions to Consider CPU at or near 80% % Processor Time (_Total) SOS_SCHEDULER_YIELD waits Increase instance size Identify top consuming queries and tune Load balance (e.g. move DB to another instance) Near I/O capacity limits or IO Latency Increases Average disk reads per second Average disk writes per second Disk reads per second Disk writes per second io_virtual_file_stats PAGEIOLATCH waits SQL Server: Buffer ManagerPage Life Expectancy Check Page Life Expectancy counter, for mem pressure. Increase instance size Identify which DB and log files have I/O bottleneck Add more data disks and separate data files if near IOPS limits per disk Tune queries to reduce reads and writes Consider enabling row or page compression Memory resource pressure Memory: Available Bytes Memory: Pages per second SQL Server: Buffer ManagerPage Life Expectancy Process: Working Set (for SQL Server) RESOURCE_SEMAPHORE waits Check max server memory setting for SQL Server. Use high memory instance Identify SQL component (such as, CLR, high memory grants for app queries, et.), tune appropriately.
  • 21. tech.days 2015#mstechdaysSESSION Characteristics of a cloud Shared Infrastruct ure Scalable and Elastic Usage Based Self Service
  • 22. tech.days 2015#mstechdaysSESSION Exemple : Catalogue de services Self Service provisioning
  • 23. tech.days 2015#mstechdaysSESSION Conclusion • Read the white papers • Control/discover your DB sprawl • Run MAP toolkit to identify running DBs • Capacity Planning • Understand Isolation/security/HA requirements • Plan and test for IO perf variability • Identify optimal VM size • Use Filegroups and multiple data disks for large DBs • Begin conversion (virtualize) • Use P2V to keep existing settings • Create new VM to combine multiple apps • Identify your KPIs to monitor • Revisit optimization decisions as workload changes
  • 24. © 2015 Microsoft Corporation. All rights reserved. tech days• 2015 #mstechdays techdays.microsoft.fr