SlideShare une entreprise Scribd logo
1  sur  59
#JSS2015
Les journées
SQL Server 2015
Un événement organisé par GUSS
@GUSS_FRANCE
#JSS2015
Les journées
SQL Server 2015
Un événement organisé par GUSS
AZURE: SQL Databases
Isabelle Van Campenhoudt
#JSS2015
Merci à nos sponsors
#JSS2015
Isabelle Van Campenhoudt
Isabelle Van
Campenhoud
t
SQL Server MVP, Brussels
Consultant, speaker, trainer, PASS V-Chapter Leader
Managing partner www.ShareQL.com
SQL Server since 1999
Blog: http://thesqlgrrrl.wordpress.com/
ivc@ShareQL.com
@thesqlgrrrl
Isabelle
Van Campenhoudt
4
globalfrench.sqlpass.org
#JSS2015
Introduction
Démarrage
Elasticity
Monitoring et tuning
Securité
Backups & Migration
HA & DRConclusion
Agenda
#JSS2015
Bienvenue a bord d’air Azure
#JSS2015
SQL Database
• Managed Relational SQL
Database-as-a-service
DocumentDB
• Managed NoSQL document
database-as-a-service
Redis Cache
• High throughput, low latency
data access to build fast and
scalable applications
Storage:
• Blobs, Tables, Queues, Files
and Disks
• Durable, highly available and
massively scalable cloud
storage
Azur Data Lake
Store
Analytics
SQL Data Warehouse
• Elastic data warehouse-as-a-
service with enterprise-class
features
Data & Storage on Azure
#JSS2015
SQL Database (PaaS) vs SQL Server on VMs (IaaS)
#JSS2015
SQL AZURE VM AZURE
Idéal pour • Nouvelles applications et development
rapide dans le cloud
Haute disponibilité
centaines ou des milliers de bases de
données,.
• Applications utilisant des motifs scale-
out.
• Bases de données ou jusqu'à 1 To de
taille.
• Construction Software-as-a-Service
applications.
Migration d’application anciennes, contrainte de temps
Scenario Hybride
Droits admin complets
Poc et test rapides
•La reprise après sinistre pour les applications sur site SQL Server
en utilisant sauvegarde sur Azure Storage ou répliques AlwaysOn
dans Azure VM.
• Grandes bases de données qui sont plus grands que 1 To de
taille.
Ressources concentrée sur la couche d'application. Ressource et support pour l’infrastructure
Coût total de
possession
Élimine les coûts de matériel. Réduit les
coûts d’aministration
Élimine les coûts de matériel.
Continuité des
activités
Point in Time Restore, Geo-restauration,
et Geo-Replication
Mise en place de groupe de disponibilité, reste la responsabilité de
l’admin
#JSS2015
Service tiers
De base
Idéal pour une petite base de
données prenant en général
en charge une seule
opération active à la fois.
Exemple : bases de données
utilisées pour le
développement ou le test ou
pour des applications à petite
échelle rarement utilisées.
Standard
L'option idéale pour la
plupart des applications
cloud, prenant en charge
plusieurs requêtes
simultanées.
Exemple : applications Web
ou de groupe de travail.
Premium
Conçu pour un volume
transactionnel élevé, prenant
en charge un grand nombre
d'utilisateurs simultanés et
nécessitant le plus haut
niveau de continuité d'activité
possible.
Exemple : bases de données
prenant en charge des
applications critiques.
#JSS2015
Basic
• Size Limit: 2GB.
• Point-in-time Restore: 7 days.
• DR: Geo-Restore to another Azure region.
• Auditing allowed.
• Performance: 5 DTU.
#JSS2015
Standard
• Size Limit: 250GB.
• Point-in-time Restore: 14
days.
• DR: Geo-Restore, Standard
Geo-replication.
• Auditing allowed.
• Performance: 10-20-50-100
DTU.
S0 10
DTU
S1 20
DTU
S2 50
DTU
S3 100
DTU
#JSS2015
Premium
• Size Limit: 500GB.
• Point-in-time Restore: 35 days.
• DR: Geo-Restore, Standard or
Active Geo-replication.
• Partitioning.
• Columnstores.
• Auditing allowed.
• Performance: 100-200-1000 DTU.
P1 100
DTU
P2 200
DTU
P3 1000
DTU
#JSS2015
CRÉONS LA PREMIÈRE “SQL
DATABASE”
#JSS2015
DTUs ??
• Database throughput
unit.
• A comparison unit of
integrated database
performance.
• Blend of CPU + Data
IO + Log IO +
Memory.
• Based on an internal
OLTP benchmark from
the Azure team.
#JSS2015
In Memory ?
Objects
allowed only
at Premium
Memory-
optimized
tables
Memory-
optimized
table types
Natively
compiled
modules
Crêpes au
sucre …..
#JSS2015
DTUS
PERFS
#JSS2015
#JSS2015
Service tiers résumé
#JSS2015
Tarification
#JSS2015
Elasticité ?
#JSS2015
Elastic POOL SQL databases
#JSS2015
Scale out with elastic database tools
Elastic Database client
library
Elastic Database split-
merge
Elastic Database pools
(preview)
Elastic Database jobs
(preview)
#JSS2015
eDTUs ??
#JSS2015
Elastic Pool Tiers
#JSS2015
Tarification
#JSS2015
CREATE AN ELASTIC DATABASE
POOL
#JSS2015
Monitoring and Tuning
#JSS2015
Gestion de la database
SQL Server Data
Tools dans
Visual Studio
Management
Studio
PwShell
#JSS2015
Monitoring
• Extended event en V12
• Dmv’s
• Pwshell
• Portail Azure : alerts et events
#JSS2015
Alerts and events
Define
rule
Specify
threshold
Threshold
violated
Alert rule
active
Registers
an alert
Send E-
mail
(optional)
#JSS2015
SQL Database Alert Rules
Blocked by
Firewall
Failed
Connections
Successful
Connections
CPU
Percentage
Deadlocks
DTU
Percentage
Log IO
Percentage
Data IO
Percentage
Total
Database Size
#JSS2015
AUDIT,ALERTS & EVENTS
#JSS2015
Index tuning
#JSS2015
Query Performance Insight
#JSS2015
MONITORER LES PERFORMANCES
ET LA CONSOMMATION
#JSS2015
Securité
#JSS2015
#JSS2015
Configure the firewall
EXECUTE sp_set_firewall_rule @name = N'ContosoFirewallRule', @start_ip_address = '192.168.1.1', @end_ip_address =
'192.168.1.10'
#JSS2015
Authentication model
#JSS2015
#JSS2015
Manage logins
Point of Difference On-premises SQL Server Azure SQL Database
Where you manage server-level security
The Security folder in SQL Server Management Studio's
Object Explorer
The master database and through the Azure portal
Windows Authentication Active Directory identities Azure Active Directory identities
Server-level security role for creating logins securityadmin fixed server role loginmanager database role in the master database
Commands for managing logins CREATE LOGIN, ALTER LOGIN, DROP LOGIN
CREATE LOGIN, ALTER LOGIN, DROP LOGIN (There are
some parameter limitations and you must be connected
to the master database.)
View that shows all logins sys.server_principals
sys.sql_logins (You must be connected to the master
database.)
Server-level role for creating databases dbcreator fixed database role dbmanager database role in the master database
Command for creating a database CREATE DATABASE
CREATE DATABASE (There are some parameter
limitations and you must be connected to the master
database.)
View that lists all databases sys.databases
sys.databases (You must be connected to the master
database.)
#JSS2015
Audit de la database
accès aux
données ;
modifications de
schéma (DDL) ;
modifications de
données (DML) ;
comptes, rôles et
autorisations
(DCL) ;
Procédure stockée,
connexion et
Gestion des
transactions.
PowerBi & rapport
excel
#JSS2015
AUDIT
DATA MASKING
#JSS2015
Backup, Migration, Exports
#JSS2015
Move data in and out
Migrate an
existing SQL
Server database
Copy SQL
database
Export a
BACPAC of a
SQL database
Import a
BACPAC to a
SQL database
#JSS2015
MIGRER UNE DATABASE
COPIER UNE DATABASE
#JSS2015
HA & DR
#JSS2015
Understand availability and disaster
recovery
Capability Basic tier Standard tier Premium tier
Point In Time
Restore
Any restore point
within 7 days
Any restore point
within 14 days
Any restore point
within 35 days
Geo-Restore
ERT < 12h, RPO <
1h
ERT < 12h, RPO <
1h
ERT < 12h, RPO <
1h
Standard Geo-
Replication
not included
ERT < 30s, RPO <
5s
ERT < 30s, RPO <
5s
Active Geo-
Replication
not included not included
ERT < 30s, RPO <
5s
#JSS2015
Standard vs Active Geo-Replication
Standard
• RTO < 2h
• RPO < 30m
Active
• RTO < 1h
• RPO < 5m
Active provides
failover
control.
Active provides
up to 4 read-
only replicas.
#JSS2015
RECUPERATION APRES INCIDENT
RECUPERATION APRES ERREUR
#JSS2015
#JSS2015
#JSS2015
Références
#JSS2015
Transact-SQL
• Features that are partially supported in
SQL Database V12
• Features that are not supported in SQL
Database
https://azure.microsoft.com/en-us/documentation/articles/sql-database-transact-
sql-information/
#JSS2015
PowerShell reference
Azure PowerShell Modules
• Azure Active Directory Cmdlets
• Azure PowerShell 1.0
Azure PowerShell 0.9.8
• Azure Service Fabric Cmdlets
• Azure Service Fabric Testability Cmdlets
• Azure Elastic Database Jobs Cmdlets
• Azure Rights Management Cmdlets
• RMS Protection Cmdlets
Azure PowerShell modules are not
included in the Windows operating
system. Before you can use the cmdlets in
the modules, download the modules you
want to use and set up your environment
so you can connect to Azure by using the
Azure PowerShell console. For
instructions, see the page for each
module.
Azure modules are updated frequently. If
you notice that the online cmdlet help
includes cmdlets or parameters that are
not in your module, download and install
the latest version of the module. To find
the version of your module, type: (Get-
Module <ModuleName>).Version
#JSS2015#JSS2015
Les évaluations des sessions,
c’est important !!
http://GUSS.Pro/jss
#JSS2015
Merci à nos volontaires…
#JSS2015#JSS2015

Contenu connexe

Tendances

ProxySQL Tutorial - PLAM 2016
ProxySQL Tutorial - PLAM 2016ProxySQL Tutorial - PLAM 2016
ProxySQL Tutorial - PLAM 2016
Derek Downey
 

Tendances (20)

6 Tips to MySQL Performance Tuning
6 Tips to MySQL Performance Tuning6 Tips to MySQL Performance Tuning
6 Tips to MySQL Performance Tuning
 
MongoDB World 2019: Why NBCUniversal Migrated to MongoDB Atlas
MongoDB World 2019: Why NBCUniversal Migrated to MongoDB AtlasMongoDB World 2019: Why NBCUniversal Migrated to MongoDB Atlas
MongoDB World 2019: Why NBCUniversal Migrated to MongoDB Atlas
 
Advanced Operations
Advanced OperationsAdvanced Operations
Advanced Operations
 
KoprowskiT_SQLSatMoscow_2AMaDisaterJustBegan
KoprowskiT_SQLSatMoscow_2AMaDisaterJustBeganKoprowskiT_SQLSatMoscow_2AMaDisaterJustBegan
KoprowskiT_SQLSatMoscow_2AMaDisaterJustBegan
 
Cassandra Summit 2014: Deploying Cassandra for Call of Duty
Cassandra Summit 2014: Deploying Cassandra for Call of DutyCassandra Summit 2014: Deploying Cassandra for Call of Duty
Cassandra Summit 2014: Deploying Cassandra for Call of Duty
 
Securing your data with Azure SQL DB
Securing your data with Azure SQL DBSecuring your data with Azure SQL DB
Securing your data with Azure SQL DB
 
Matt Bruzek - Monitoring Your Public Cloud With Nagios
Matt Bruzek - Monitoring Your Public Cloud With NagiosMatt Bruzek - Monitoring Your Public Cloud With Nagios
Matt Bruzek - Monitoring Your Public Cloud With Nagios
 
ProxySQL Tutorial - PLAM 2016
ProxySQL Tutorial - PLAM 2016ProxySQL Tutorial - PLAM 2016
ProxySQL Tutorial - PLAM 2016
 
Webinar slides: Introduction to Database Proxies (for MySQL)
Webinar slides: Introduction to Database Proxies (for MySQL)Webinar slides: Introduction to Database Proxies (for MySQL)
Webinar slides: Introduction to Database Proxies (for MySQL)
 
Architecting for failure - Why are distributed systems hard?
Architecting for failure - Why are distributed systems hard?Architecting for failure - Why are distributed systems hard?
Architecting for failure - Why are distributed systems hard?
 
Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios
Nagios Conference 2014 - Dorance Martinez Cortes - Customizing NagiosNagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios
Nagios Conference 2014 - Dorance Martinez Cortes - Customizing Nagios
 
NANOG 74: That KSK Roll
NANOG 74: That KSK RollNANOG 74: That KSK Roll
NANOG 74: That KSK Roll
 
MySQL Options in OpenStack
MySQL Options in OpenStackMySQL Options in OpenStack
MySQL Options in OpenStack
 
ARCHITECTING LARGE ENTERPRISE JAVA PROJECTS - vJUG
ARCHITECTING LARGE ENTERPRISE JAVA PROJECTS - vJUGARCHITECTING LARGE ENTERPRISE JAVA PROJECTS - vJUG
ARCHITECTING LARGE ENTERPRISE JAVA PROJECTS - vJUG
 
MySQL User Camp: MySQL Cluster
MySQL User Camp: MySQL ClusterMySQL User Camp: MySQL Cluster
MySQL User Camp: MySQL Cluster
 
Advanced Cassandra
Advanced CassandraAdvanced Cassandra
Advanced Cassandra
 
Netherlands Tech Tour - 06 MySQL Enterprise Monitor
Netherlands Tech Tour - 06 MySQL Enterprise MonitorNetherlands Tech Tour - 06 MySQL Enterprise Monitor
Netherlands Tech Tour - 06 MySQL Enterprise Monitor
 
Bryan Heden - Agile Networks - Using Nagios XI as the platform for Monitoring...
Bryan Heden - Agile Networks - Using Nagios XI as the platform for Monitoring...Bryan Heden - Agile Networks - Using Nagios XI as the platform for Monitoring...
Bryan Heden - Agile Networks - Using Nagios XI as the platform for Monitoring...
 
Ruby Driver Explained: DataStax Webinar May 5th 2015
Ruby Driver Explained: DataStax Webinar May 5th 2015Ruby Driver Explained: DataStax Webinar May 5th 2015
Ruby Driver Explained: DataStax Webinar May 5th 2015
 
Alexander Naydenko - Nagios to Zabbix Migration | ZabConf2016
Alexander Naydenko - Nagios to Zabbix Migration | ZabConf2016Alexander Naydenko - Nagios to Zabbix Migration | ZabConf2016
Alexander Naydenko - Nagios to Zabbix Migration | ZabConf2016
 

En vedette

Tuning Sql Server for SharePoint--- Community Day Belgium 2013
Tuning Sql Server for SharePoint--- Community Day Belgium 2013Tuning Sql Server for SharePoint--- Community Day Belgium 2013
Tuning Sql Server for SharePoint--- Community Day Belgium 2013
Isabelle Van Campenhoudt
 
QUALITY MANAGEMENT
QUALITY MANAGEMENTQUALITY MANAGEMENT
QUALITY MANAGEMENT
smcci
 
To g chapter season 2 chapter 6.cv
To g chapter season 2 chapter 6.cvTo g chapter season 2 chapter 6.cv
To g chapter season 2 chapter 6.cv
Max Kerkula
 
Projeto AN9 - Uberlândia
Projeto AN9 - UberlândiaProjeto AN9 - Uberlândia
Projeto AN9 - Uberlândia
Filipe Detrey
 

En vedette (20)

Ms Cloud Summit 2017 - Power Bi, le tour complet 2017
Ms Cloud Summit 2017 - Power Bi, le tour complet 2017Ms Cloud Summit 2017 - Power Bi, le tour complet 2017
Ms Cloud Summit 2017 - Power Bi, le tour complet 2017
 
Tracxn Research - Finance & Accounting Landscape, February 2017
Tracxn Research - Finance & Accounting Landscape, February 2017Tracxn Research - Finance & Accounting Landscape, February 2017
Tracxn Research - Finance & Accounting Landscape, February 2017
 
Tracxn Research - Mobile Advertising Landscape, February 2017
Tracxn Research - Mobile Advertising Landscape, February 2017Tracxn Research - Mobile Advertising Landscape, February 2017
Tracxn Research - Mobile Advertising Landscape, February 2017
 
Power Bi, le tour complet 2017
Power Bi, le tour complet 2017 Power Bi, le tour complet 2017
Power Bi, le tour complet 2017
 
MongoDB NoSQL database a deep dive -MyWhitePaper
MongoDB  NoSQL database a deep dive -MyWhitePaperMongoDB  NoSQL database a deep dive -MyWhitePaper
MongoDB NoSQL database a deep dive -MyWhitePaper
 
Webinar - Bringing Game Changing Insights with Graph Databases
Webinar - Bringing Game Changing Insights with Graph DatabasesWebinar - Bringing Game Changing Insights with Graph Databases
Webinar - Bringing Game Changing Insights with Graph Databases
 
Comparing 30 MongoDB operations with Oracle SQL statements
Comparing 30 MongoDB operations with Oracle SQL statementsComparing 30 MongoDB operations with Oracle SQL statements
Comparing 30 MongoDB operations with Oracle SQL statements
 
Sedgwick e0498336-d0105-31189a-checkpoint c
Sedgwick e0498336-d0105-31189a-checkpoint cSedgwick e0498336-d0105-31189a-checkpoint c
Sedgwick e0498336-d0105-31189a-checkpoint c
 
SQL 2016 Query Store: Et si mes queries m'étaient contées...
SQL 2016 Query Store: Et si mes queries m'étaient contées...SQL 2016 Query Store: Et si mes queries m'étaient contées...
SQL 2016 Query Store: Et si mes queries m'étaient contées...
 
Learn thai with pat orgirl 201307
Learn thai with pat orgirl 201307Learn thai with pat orgirl 201307
Learn thai with pat orgirl 201307
 
Tuning Sql Server for SharePoint--- Community Day Belgium 2013
Tuning Sql Server for SharePoint--- Community Day Belgium 2013Tuning Sql Server for SharePoint--- Community Day Belgium 2013
Tuning Sql Server for SharePoint--- Community Day Belgium 2013
 
Portfolio henderson a
Portfolio henderson aPortfolio henderson a
Portfolio henderson a
 
QUALITY MANAGEMENT
QUALITY MANAGEMENTQUALITY MANAGEMENT
QUALITY MANAGEMENT
 
Examen sybase - Administration base de donnees
Examen sybase - Administration base de donneesExamen sybase - Administration base de donnees
Examen sybase - Administration base de donnees
 
Sesión 4
Sesión 4Sesión 4
Sesión 4
 
Cycle Power BI Part1
Cycle Power BI Part1Cycle Power BI Part1
Cycle Power BI Part1
 
To g chapter season 2 chapter 6.cv
To g chapter season 2 chapter 6.cvTo g chapter season 2 chapter 6.cv
To g chapter season 2 chapter 6.cv
 
Projeto AN9 - Uberlândia
Projeto AN9 - UberlândiaProjeto AN9 - Uberlândia
Projeto AN9 - Uberlândia
 
Dat202 Techdays Paris 2015: PowerBI un an après
Dat202 Techdays Paris 2015: PowerBI un an aprèsDat202 Techdays Paris 2015: PowerBI un an après
Dat202 Techdays Paris 2015: PowerBI un an après
 
SharePoint 2016 les nouveautés / yosTour Lyon / Etienne Bailly | Benoit Jester
SharePoint 2016 les nouveautés / yosTour Lyon / Etienne Bailly | Benoit JesterSharePoint 2016 les nouveautés / yosTour Lyon / Etienne Bailly | Benoit Jester
SharePoint 2016 les nouveautés / yosTour Lyon / Etienne Bailly | Benoit Jester
 

Similaire à SQL azure database for DBA

Similaire à SQL azure database for DBA (20)

Intro to Azure SQL database
Intro to Azure SQL databaseIntro to Azure SQL database
Intro to Azure SQL database
 
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
 
SQL Server & la virtualisation : « 45 minutes inside » !
SQL Server & la virtualisation :  « 45 minutes inside » !SQL Server & la virtualisation :  « 45 minutes inside » !
SQL Server & la virtualisation : « 45 minutes inside » !
 
SQL Server & la virtualisation : « 45 minutes inside » !
SQL Server & la virtualisation :  « 45 minutes inside » !SQL Server & la virtualisation :  « 45 minutes inside » !
SQL Server & la virtualisation : « 45 minutes inside » !
 
Introducing Azure SQL Database
Introducing Azure SQL DatabaseIntroducing Azure SQL Database
Introducing Azure SQL Database
 
KoprowskiT_SQLRelay2014#3_Bristol_FromPlanToBackupToCloud
KoprowskiT_SQLRelay2014#3_Bristol_FromPlanToBackupToCloudKoprowskiT_SQLRelay2014#3_Bristol_FromPlanToBackupToCloud
KoprowskiT_SQLRelay2014#3_Bristol_FromPlanToBackupToCloud
 
Sql azure cluster dashboard public.ppt
Sql azure cluster dashboard public.pptSql azure cluster dashboard public.ppt
Sql azure cluster dashboard public.ppt
 
SQL Server 2008 Migration
SQL Server 2008 MigrationSQL Server 2008 Migration
SQL Server 2008 Migration
 
Azure SQL DB V12 at your service by Pieter Vanhove
Azure SQL DB V12 at your service by Pieter VanhoveAzure SQL DB V12 at your service by Pieter Vanhove
Azure SQL DB V12 at your service by Pieter Vanhove
 
KoprowskiT_SQLRelay2014#5_Newcastle_FromPlanToBackupToCloud
KoprowskiT_SQLRelay2014#5_Newcastle_FromPlanToBackupToCloudKoprowskiT_SQLRelay2014#5_Newcastle_FromPlanToBackupToCloud
KoprowskiT_SQLRelay2014#5_Newcastle_FromPlanToBackupToCloud
 
Gs08 modernize your data platform with sql technologies wash dc
Gs08 modernize your data platform with sql technologies   wash dcGs08 modernize your data platform with sql technologies   wash dc
Gs08 modernize your data platform with sql technologies wash dc
 
VMworld Europe 2014: Virtualizing Databases Doing IT Right – The Sequel
VMworld Europe 2014: Virtualizing Databases Doing IT Right – The SequelVMworld Europe 2014: Virtualizing Databases Doing IT Right – The Sequel
VMworld Europe 2014: Virtualizing Databases Doing IT Right – The Sequel
 
[JSS2015] AlwaysOn 2016
[JSS2015] AlwaysOn 2016[JSS2015] AlwaysOn 2016
[JSS2015] AlwaysOn 2016
 
Exploring sql server 2016
Exploring sql server 2016Exploring sql server 2016
Exploring sql server 2016
 
improving the performance of Rails web Applications
improving the performance of Rails web Applicationsimproving the performance of Rails web Applications
improving the performance of Rails web Applications
 
KoprowskiT_SQLRelay2014#9_London_FromPlanToBackupToCloud
KoprowskiT_SQLRelay2014#9_London_FromPlanToBackupToCloudKoprowskiT_SQLRelay2014#9_London_FromPlanToBackupToCloud
KoprowskiT_SQLRelay2014#9_London_FromPlanToBackupToCloud
 
KoprowskiT_SQLRelay2014#6_Leeds_WADBForBeginners
KoprowskiT_SQLRelay2014#6_Leeds_WADBForBeginnersKoprowskiT_SQLRelay2014#6_Leeds_WADBForBeginners
KoprowskiT_SQLRelay2014#6_Leeds_WADBForBeginners
 
MySQL Manchester TT - MySQL Enterprise Edition
MySQL Manchester TT - MySQL Enterprise EditionMySQL Manchester TT - MySQL Enterprise Edition
MySQL Manchester TT - MySQL Enterprise Edition
 
Best Practices for a Complete Postgres Enterprise Architecture Setup
Best Practices for a Complete Postgres Enterprise Architecture SetupBest Practices for a Complete Postgres Enterprise Architecture Setup
Best Practices for a Complete Postgres Enterprise Architecture Setup
 
KoprowskiT_SQLRelay2014#1_Reading_FromPlanToBackupToCloud
KoprowskiT_SQLRelay2014#1_Reading_FromPlanToBackupToCloudKoprowskiT_SQLRelay2014#1_Reading_FromPlanToBackupToCloud
KoprowskiT_SQLRelay2014#1_Reading_FromPlanToBackupToCloud
 

Plus de Isabelle Van Campenhoudt

haute Disponibilité et reprise sur incident dans SharePoint avec groupes de d...
haute Disponibilité et reprise sur incident dans SharePoint avec groupes de d...haute Disponibilité et reprise sur incident dans SharePoint avec groupes de d...
haute Disponibilité et reprise sur incident dans SharePoint avec groupes de d...
Isabelle Van Campenhoudt
 

Plus de Isabelle Van Campenhoudt (9)

From Excel hero to Power BI champion
From Excel hero to Power BI championFrom Excel hero to Power BI champion
From Excel hero to Power BI champion
 
Excel patterns in Power BI: From Excel hero to Power BI Champion
Excel patterns in Power BI: From Excel hero to Power BI ChampionExcel patterns in Power BI: From Excel hero to Power BI Champion
Excel patterns in Power BI: From Excel hero to Power BI Champion
 
Power BI Report Server & Office Online Server
Power BI Report Server & Office Online ServerPower BI Report Server & Office Online Server
Power BI Report Server & Office Online Server
 
Retour d'expérience Power BI
Retour d'expérience Power BIRetour d'expérience Power BI
Retour d'expérience Power BI
 
Espc17 make your share point fly by tuning and optimising sql server
Espc17 make your share point  fly by tuning and optimising sql serverEspc17 make your share point  fly by tuning and optimising sql server
Espc17 make your share point fly by tuning and optimising sql server
 
Azure Data Factory-Rebuild 2017
Azure Data Factory-Rebuild 2017 Azure Data Factory-Rebuild 2017
Azure Data Factory-Rebuild 2017
 
Unbreakable Sharepoint 2016 With SQL Server 2016 availability groups
Unbreakable Sharepoint 2016 With SQL Server 2016 availability groupsUnbreakable Sharepoint 2016 With SQL Server 2016 availability groups
Unbreakable Sharepoint 2016 With SQL Server 2016 availability groups
 
haute Disponibilité et reprise sur incident dans SharePoint avec groupes de d...
haute Disponibilité et reprise sur incident dans SharePoint avec groupes de d...haute Disponibilité et reprise sur incident dans SharePoint avec groupes de d...
haute Disponibilité et reprise sur incident dans SharePoint avec groupes de d...
 
Powerbi 365
Powerbi 365Powerbi 365
Powerbi 365
 

Dernier

Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
UXDXConf
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
FIDO Alliance
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
FIDO Alliance
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
panagenda
 

Dernier (20)

Introduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptxIntroduction to FIDO Authentication and Passkeys.pptx
Introduction to FIDO Authentication and Passkeys.pptx
 
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
(Explainable) Data-Centric AI: what are you explaininhg, and to whom?
 
Intro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptxIntro to Passkeys and the State of Passwordless.pptx
Intro to Passkeys and the State of Passwordless.pptx
 
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdfWhere to Learn More About FDO _ Richard at FIDO Alliance.pdf
Where to Learn More About FDO _ Richard at FIDO Alliance.pdf
 
Structuring Teams and Portfolios for Success
Structuring Teams and Portfolios for SuccessStructuring Teams and Portfolios for Success
Structuring Teams and Portfolios for Success
 
Your enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4jYour enemies use GenAI too - staying ahead of fraud with Neo4j
Your enemies use GenAI too - staying ahead of fraud with Neo4j
 
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider  Progress from Awareness to Implementation.pptxTales from a Passkey Provider  Progress from Awareness to Implementation.pptx
Tales from a Passkey Provider Progress from Awareness to Implementation.pptx
 
Microsoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - QuestionnaireMicrosoft CSP Briefing Pre-Engagement - Questionnaire
Microsoft CSP Briefing Pre-Engagement - Questionnaire
 
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptxHarnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
Harnessing Passkeys in the Battle Against AI-Powered Cyber Threats.pptx
 
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
Event-Driven Architecture Masterclass: Engineering a Robust, High-performance...
 
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
Event-Driven Architecture Masterclass: Integrating Distributed Data Stores Ac...
 
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
Secure Zero Touch enabled Edge compute with Dell NativeEdge via FDO _ Brad at...
 
Event-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream ProcessingEvent-Driven Architecture Masterclass: Challenges in Stream Processing
Event-Driven Architecture Masterclass: Challenges in Stream Processing
 
Google I/O Extended 2024 Warsaw
Google I/O Extended 2024 WarsawGoogle I/O Extended 2024 Warsaw
Google I/O Extended 2024 Warsaw
 
2024 May Patch Tuesday
2024 May Patch Tuesday2024 May Patch Tuesday
2024 May Patch Tuesday
 
Design Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptxDesign Guidelines for Passkeys 2024.pptx
Design Guidelines for Passkeys 2024.pptx
 
ADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptxADP Passwordless Journey Case Study.pptx
ADP Passwordless Journey Case Study.pptx
 
Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024Extensible Python: Robustness through Addition - PyCon 2024
Extensible Python: Robustness through Addition - PyCon 2024
 
Using IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & IrelandUsing IESVE for Room Loads Analysis - UK & Ireland
Using IESVE for Room Loads Analysis - UK & Ireland
 
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
Easier, Faster, and More Powerful – Alles Neu macht der Mai -Wir durchleuchte...
 

SQL azure database for DBA

  • 1. #JSS2015 Les journées SQL Server 2015 Un événement organisé par GUSS @GUSS_FRANCE
  • 2. #JSS2015 Les journées SQL Server 2015 Un événement organisé par GUSS AZURE: SQL Databases Isabelle Van Campenhoudt
  • 4. #JSS2015 Isabelle Van Campenhoudt Isabelle Van Campenhoud t SQL Server MVP, Brussels Consultant, speaker, trainer, PASS V-Chapter Leader Managing partner www.ShareQL.com SQL Server since 1999 Blog: http://thesqlgrrrl.wordpress.com/ ivc@ShareQL.com @thesqlgrrrl Isabelle Van Campenhoudt 4 globalfrench.sqlpass.org
  • 7. #JSS2015 SQL Database • Managed Relational SQL Database-as-a-service DocumentDB • Managed NoSQL document database-as-a-service Redis Cache • High throughput, low latency data access to build fast and scalable applications Storage: • Blobs, Tables, Queues, Files and Disks • Durable, highly available and massively scalable cloud storage Azur Data Lake Store Analytics SQL Data Warehouse • Elastic data warehouse-as-a- service with enterprise-class features Data & Storage on Azure
  • 8. #JSS2015 SQL Database (PaaS) vs SQL Server on VMs (IaaS)
  • 9. #JSS2015 SQL AZURE VM AZURE Idéal pour • Nouvelles applications et development rapide dans le cloud Haute disponibilité centaines ou des milliers de bases de données,. • Applications utilisant des motifs scale- out. • Bases de données ou jusqu'à 1 To de taille. • Construction Software-as-a-Service applications. Migration d’application anciennes, contrainte de temps Scenario Hybride Droits admin complets Poc et test rapides •La reprise après sinistre pour les applications sur site SQL Server en utilisant sauvegarde sur Azure Storage ou répliques AlwaysOn dans Azure VM. • Grandes bases de données qui sont plus grands que 1 To de taille. Ressources concentrée sur la couche d'application. Ressource et support pour l’infrastructure Coût total de possession Élimine les coûts de matériel. Réduit les coûts d’aministration Élimine les coûts de matériel. Continuité des activités Point in Time Restore, Geo-restauration, et Geo-Replication Mise en place de groupe de disponibilité, reste la responsabilité de l’admin
  • 10. #JSS2015 Service tiers De base Idéal pour une petite base de données prenant en général en charge une seule opération active à la fois. Exemple : bases de données utilisées pour le développement ou le test ou pour des applications à petite échelle rarement utilisées. Standard L'option idéale pour la plupart des applications cloud, prenant en charge plusieurs requêtes simultanées. Exemple : applications Web ou de groupe de travail. Premium Conçu pour un volume transactionnel élevé, prenant en charge un grand nombre d'utilisateurs simultanés et nécessitant le plus haut niveau de continuité d'activité possible. Exemple : bases de données prenant en charge des applications critiques.
  • 11. #JSS2015 Basic • Size Limit: 2GB. • Point-in-time Restore: 7 days. • DR: Geo-Restore to another Azure region. • Auditing allowed. • Performance: 5 DTU.
  • 12. #JSS2015 Standard • Size Limit: 250GB. • Point-in-time Restore: 14 days. • DR: Geo-Restore, Standard Geo-replication. • Auditing allowed. • Performance: 10-20-50-100 DTU. S0 10 DTU S1 20 DTU S2 50 DTU S3 100 DTU
  • 13. #JSS2015 Premium • Size Limit: 500GB. • Point-in-time Restore: 35 days. • DR: Geo-Restore, Standard or Active Geo-replication. • Partitioning. • Columnstores. • Auditing allowed. • Performance: 100-200-1000 DTU. P1 100 DTU P2 200 DTU P3 1000 DTU
  • 14. #JSS2015 CRÉONS LA PREMIÈRE “SQL DATABASE”
  • 15. #JSS2015 DTUs ?? • Database throughput unit. • A comparison unit of integrated database performance. • Blend of CPU + Data IO + Log IO + Memory. • Based on an internal OLTP benchmark from the Azure team.
  • 16. #JSS2015 In Memory ? Objects allowed only at Premium Memory- optimized tables Memory- optimized table types Natively compiled modules Crêpes au sucre …..
  • 23. #JSS2015 Scale out with elastic database tools Elastic Database client library Elastic Database split- merge Elastic Database pools (preview) Elastic Database jobs (preview)
  • 27. #JSS2015 CREATE AN ELASTIC DATABASE POOL
  • 29. #JSS2015 Gestion de la database SQL Server Data Tools dans Visual Studio Management Studio PwShell
  • 30. #JSS2015 Monitoring • Extended event en V12 • Dmv’s • Pwshell • Portail Azure : alerts et events
  • 31. #JSS2015 Alerts and events Define rule Specify threshold Threshold violated Alert rule active Registers an alert Send E- mail (optional)
  • 32. #JSS2015 SQL Database Alert Rules Blocked by Firewall Failed Connections Successful Connections CPU Percentage Deadlocks DTU Percentage Log IO Percentage Data IO Percentage Total Database Size
  • 39. #JSS2015 Configure the firewall EXECUTE sp_set_firewall_rule @name = N'ContosoFirewallRule', @start_ip_address = '192.168.1.1', @end_ip_address = '192.168.1.10'
  • 42. #JSS2015 Manage logins Point of Difference On-premises SQL Server Azure SQL Database Where you manage server-level security The Security folder in SQL Server Management Studio's Object Explorer The master database and through the Azure portal Windows Authentication Active Directory identities Azure Active Directory identities Server-level security role for creating logins securityadmin fixed server role loginmanager database role in the master database Commands for managing logins CREATE LOGIN, ALTER LOGIN, DROP LOGIN CREATE LOGIN, ALTER LOGIN, DROP LOGIN (There are some parameter limitations and you must be connected to the master database.) View that shows all logins sys.server_principals sys.sql_logins (You must be connected to the master database.) Server-level role for creating databases dbcreator fixed database role dbmanager database role in the master database Command for creating a database CREATE DATABASE CREATE DATABASE (There are some parameter limitations and you must be connected to the master database.) View that lists all databases sys.databases sys.databases (You must be connected to the master database.)
  • 43. #JSS2015 Audit de la database accès aux données ; modifications de schéma (DDL) ; modifications de données (DML) ; comptes, rôles et autorisations (DCL) ; Procédure stockée, connexion et Gestion des transactions. PowerBi & rapport excel
  • 46. #JSS2015 Move data in and out Migrate an existing SQL Server database Copy SQL database Export a BACPAC of a SQL database Import a BACPAC to a SQL database
  • 49. #JSS2015 Understand availability and disaster recovery Capability Basic tier Standard tier Premium tier Point In Time Restore Any restore point within 7 days Any restore point within 14 days Any restore point within 35 days Geo-Restore ERT < 12h, RPO < 1h ERT < 12h, RPO < 1h ERT < 12h, RPO < 1h Standard Geo- Replication not included ERT < 30s, RPO < 5s ERT < 30s, RPO < 5s Active Geo- Replication not included not included ERT < 30s, RPO < 5s
  • 50. #JSS2015 Standard vs Active Geo-Replication Standard • RTO < 2h • RPO < 30m Active • RTO < 1h • RPO < 5m Active provides failover control. Active provides up to 4 read- only replicas.
  • 55. #JSS2015 Transact-SQL • Features that are partially supported in SQL Database V12 • Features that are not supported in SQL Database https://azure.microsoft.com/en-us/documentation/articles/sql-database-transact- sql-information/
  • 56. #JSS2015 PowerShell reference Azure PowerShell Modules • Azure Active Directory Cmdlets • Azure PowerShell 1.0 Azure PowerShell 0.9.8 • Azure Service Fabric Cmdlets • Azure Service Fabric Testability Cmdlets • Azure Elastic Database Jobs Cmdlets • Azure Rights Management Cmdlets • RMS Protection Cmdlets Azure PowerShell modules are not included in the Windows operating system. Before you can use the cmdlets in the modules, download the modules you want to use and set up your environment so you can connect to Azure by using the Azure PowerShell console. For instructions, see the page for each module. Azure modules are updated frequently. If you notice that the online cmdlet help includes cmdlets or parameters that are not in your module, download and install the latest version of the module. To find the version of your module, type: (Get- Module <ModuleName>).Version
  • 57. #JSS2015#JSS2015 Les évaluations des sessions, c’est important !! http://GUSS.Pro/jss
  • 58. #JSS2015 Merci à nos volontaires…

Notes de l'éditeur

  1. Rendre sexy
  2. https://azure.microsoft.com/fr-fr/documentation/articles/data-management-azure-sql-database-and-sql-server-iaas/
  3. Présentation des DTU L'unité de transaction de base de données (DTU) est l'unité de mesure dans SQL Dtabase qui représente la puissance relative des bases de données selon une mesure réelle : la transaction de base de données. Nous avons étudié un ensemble d’opérations classiques pour une demande de traitement transactionnel en ligne, puis mesuré le nombre de transactions pouvant être effectuées par seconde dans des conditions de charge complète (ceci est la version courte, vous pouvez lire les détails dans Vue d’ensemble des tests d’évaluation). Une base de données de base comprend 5 DTU, ce qui signifie qu'elle peut effectuer 5 transactions par seconde, alors qu'une base de données Premium P11 comprend 1 750 DTU.
  4. ): Use jobs to manage large numbers of Azure SQL databases. Easily perform administrative operations such as schema changes, credentials management, reference data updates, performance data collection or tenant (customer) telemetry collection using jobs.
  5. Présentation des DTU L'unité de transaction de base de données (DTU) est l'unité de mesure dans SQL Dtabase qui représente la puissance relative des bases de données selon une mesure réelle : la transaction de base de données. Nous avons étudié un ensemble d’opérations classiques pour une demande de traitement transactionnel en ligne, puis mesuré le nombre de transactions pouvant être effectuées par seconde dans des conditions de charge complète (ceci est la version courte, vous pouvez lire les détails dans Vue d’ensemble des tests d’évaluation). Une base de données de base comprend 5 DTU, ce qui signifie qu'elle peut effectuer 5 transactions par seconde, alors qu'une base de données Premium P11 comprend 1 750 DTU.
  6. Demo migrate database to Azure
  7. Analyse des performances L'analyse des performances d'une base de données SQL démarre par l'analyse de l'utilisation des ressources par rapport au niveau de performances que vous avez choisi pour votre base de données. Ces données pertinentes sont exposées comme suit : Le portail de gestion Microsoft Azure. Vues de gestion dynamique dans la base de données utilisateur et dans la base de données master du serveur qui contient la base de données utilisateur. Dans le portail Azure en version préliminaire, vous pouvez surveiller l’utilisation d’une base de données unique en sélectionnant votre base de données et en cliquant sur le graphique Analyse. Une fenêtre Mesure apparaît. Vous pouvez la modifier en cliquant sur le bouton Modifier le graphique. Ajoutez les mesures suivantes : Pourcentage UC Pourcentage DTU Pourcentage E/S données Pourcentage de stockage Une fois que vous avez ajouté ces mesures, vous pouvez continuer à les afficher dans le graphique Analyse avec plus de détails dans la fenêtre Mesure. Les quatre mesures montrent le pourcentage d’utilisation moyen correspondant aux DTU de votre base de données. Vous pouvez également configurer des alertes sur les mesures de performances. Cliquez sur le bouton Ajouter une alerte situé dans la fenêtre Mesure. Suivez l'assistant pour configurer votre alerte. Vous avez la possibilité de configurer une alerte si les mesures dépassent un certain seuil ou si la mesure tombe en dessous d'un certain seuil. Par exemple, si vous pensez que la charge de travail dans votre base de données va augmenter, vous pouvez choisir de configurer une alerte par courrier électronique chaque fois que votre base de données atteint 80 % de n'importe quelle mesure de performances. Vous pouvez utiliser cette fonction comme un avertissement pour déterminer le moment auquel il se peut que vous deviez basculer vers le niveau de performance supérieur. Les mesures de performance peuvent également vous aider à déterminer si vous pouvez passer à un niveau inférieur. Supposons que vous utilisez une base de données standard S2 et que toutes les mesures de performance indiquent que la base de données n'utilise pas plus de 10 % des performances en moyenne. Cette base de données fonctionnerait très bien en version S1 standard. Toutefois, prenez en considération les éventuels pics ou baisses de charges de travail avant de décider de passer à un niveau de performances inférieur. Les mêmes mesures exposées dans le portail sont également disponibles via des vues système : sys.resource_stats dans la base de données master logique de votre serveur, et sys.dm_db_resource_stats dans la base de données utilisateur (sys.dm_db_resource_stats est créé dans chaque base de données utilisateur De base, Standard et Premium. Les bases de données éditions Web et Business retournent un jeu de résultats vide). Utilisez sys.resource_stats si vous devez analyser des données moins granulaires sur une longue période de temps. Utilisez sys.dm_db_resource_stats si vous devez analyser des données plus granulaires dans un laps de temps plus court. Pour en savoir plus, consultez Guide des performances de base de données SQL Azure. Pour les pools de base de données élastiques, vous pouvez surveiller des bases de données dans le pool avec les techniques décrites dans cette section. Mais vous pouvez également surveiller le pool dans son ensemble. Pour en savoir plus, consultez Surveiller et gérer un pool élastique de bases de données.
  8. On parlait des speakers, il y a une chose qui leur tient à cœur !