SlideShare une entreprise Scribd logo
1  sur  35
INSIGHTS Presentation Series SQL Azure
Introduction to Azure SQL DB Environments
James Donahoe Azure SQL DBA
Chris Foot VP Tech Strategies
Webinar
Video Inside
Who We Are
The Largest Pure Play Provider of
Managed Data Infrastructure Services
20
YEARS OF
SERVICE DELIVERY
EXPERIENCE
Database Platforms
SQL Server
Oracle
PostgreSQL*
DB2
MongoDB*
MySQL*
Operating Systems
Unix/Linux*Windows
Edge Technologies
SQL Server BI
Oracle EBS
SharePoint
Exchange
Environment
450+ Customers
10,000 Servers
200+ DBAs
Fortune 100s
Startups
All Verticals
Cloud Systems
Amazon AWS/RDS
Oracle Cloud DB
DBaaS
Msoft Azure
IaaS (dozens)
Hybrid Cloud
* All distributions
Including Cloud Database Management Systems
Infrastructure as a
Service (IaaS)
Database as a Service
(DBaaS)
Supported Technologies
January RDX Insights Series Presentation
Strategies Tools Techniques Best Practices
Heterogeneous and
homogeneous on-
premises DBMS
Migrating On-Premises DBs to the Cloud
Features and Benefits
Azure SQL DB BenefitsInherent Cloud Benefits
• Microsoft is stating that new features will
be released for cloud systems before on-
premises
• Tuning advisors and automation
• Advanced threat detection and security
including encryption, data masking and
row-level security
• Elastic pools reduce costs and multi-
database management activities
• Robust monitoring and administration
interfaces
• In-Memory processing available
• Automatic backups/self-service restore
• Active geo-replication for DR
• AD integration
• JSON document support
• Elasticity
• Scalability
• Pay-as-you-go rental fees
• CapEx to OpEx
• Reduce datacenter costs
• Reduce administration costs
• High availability SLAs
• Ease of implementing HA
• Ease of implementing DR
• Faster application time-to-market
Different Types of
Cloud Platforms
On-premises vs
IaaS and PaaS
On-Premises
• Server is onsite at your
physical plant
• You buy it and provide server
room, power, air, connectivity
• YOU support all hardware
• YOU support all software from
OS up, including database
IaaS – Infrastructure as a
Service
• Server is hosted by a provider
• You rent their hardware
• They provide server room,
power, air, connectivity….
• PROVIDER supports hardware
• YOU provide and support all
software from OS up, including
database
PaaS – Platform as a Service
• Server is hosted by a provider
• You rent their hardware
• They provide server room, air,
connectivity….
• PROVIDER supports hardware
• YOU RENT the OS and database
• PROVIDER supports OS and
database software
Cloud
Azure SQL DB is a PaaS Platform
IaaS vs DBaaS The buzzword for PaaS
offerings for databases is….
DBaaS
Which is PaaS for databases!
Infrastructure-as-a-Service Database-as-a-Service
• Have to purchase DB and OS licenses
• Able to install any software you choose – databases,
applications, third-party tools
• Easy to integrate your on-premises toolsets – monitoring,
security, application development…
• Allows you to maintain tight control of OS and DB
configuration
• Tight control over database utility execution – backups,
index maintenance
• Able to leverage cloud benefits that include elasticity,
scalability and flexibility
• Able to leverage features to reduce administrative time
(varies according to vendor and particular offering selected)
• Database products are limited by vendor offering
• Rental fees include DB and OS licenses
• Provider assumes greater administrative control over your
environment (software installation, DB and OS
configuration, patching, DB upgrades)
• WATCH VENDOR SCHEDULING WINDOWS
• Complex systems (HA, DR) are more easily configured
• Data geo-redundancy is often inherent to offering
• Provides backup and maintenance utility interfaces
• Pricing can be complex and is configured by selecting tiers
based on CPU, memory, disk utilization and performance
• If you are renting the software, when relationship is over,
you don’t own anything
Data
Factory
Azure for
MySQL
Microsoft Azure Cloud DB Offerings
Azure for
PostgreSQL
SQL Data
Warehouse
SQL Server
Stretch DB
Cosmos DB
Redis Cache
Table
Storage
SQL Server Platforms
VMs
On-Premises Infrastructure-as-a-Service Database-as-a-Service
Most control Moderate Control Less Control
Higher administration costs Lower administration costs Lowest administration costs
Hardware and software costs Software costs Software costs
Purchase licenses Rent OS, DB BYOL or rental Rent
No system SLAs 99.95% on VM only 99.99% for entire environment
Fewest system provided automations Some system provided automations Most system provided automations
No changes to existing support procedures Minimal changes to existing support
procedures
Most changes to existing support
procedures
Build your own HA and DR (hardware and
software)
Design, install and configure your own HA
and DR (software)
System provided HA and DR (design and
configure only)
No changes to migrate DB Minimal to no changes to migrate on-
premises DB
Changes often required to migrate on-
premises DB
Slowest application time-to-market Moderate application time-to-market Fastest application time-to-market
• New Staffing Roles and Responsibilities
• Policies and Procedures
• Impact on Existing Tools and
Technologies
• Change Management
Cloud DBs Will Change the Way Your
Organization Provides Support
• Costing Models
• Security
• Training and Education
• Become More Reliant on
3rd Parties
Cloud Impact on Support
• Storage
• Compute
• Provisioning
• Monitoring Tools
• Admin Tools
• Backup
• Security
• Data Access
• Performance
• Vendor Lock In
• DB Features
• Elasticity
• Scalability
• Server Redundancy
• Disaster Recovery
Greater Impact DBaaS
Less Impact IaaS
When Migrating On-Premises SQL Server
To Azure SQL DB – KNOW the Feature
Differences
RDX Recommendation
• Always On Avail Groups
• Attach a database
• BACKUP command
• Change data capture
• Database mail
• Database mirroring
• Database snapshots
• Event notifications
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-features
• Distributed transactions
• Extended stored
procedures
• Filestream
• Linked servers
• Log shipping
• Polybase
• Policy based management
• RESTORE command
• Semantic search
• Service broker
• SQL Server Agent
• SSIS/SSAS/SSRS
• SQL Server profiler
• Windows Server Failover
Clustering
Azure SQL Managed Instances
• GA in 2018
• SQL Server “Instance as a Service”
• Same architecture as PaaS
• All PaaS features
• Near 100% compatibility with on-
premises
• Easy migration with DMS
 Native backup/restore
 Log Shipping
• SQL Agent, 3-part names, DBMail, CDC…
• Native support for virtual networks
(injected into your VNET)
• Allows private IP addresses
• SSIS/SSAS/SSRS – Not available
 Azure Data Factory (SSIS PaaS)
 Azure Analysis Services
 Virtual machines
 Migrate to Power BI
Platform as a Service Benefits
On-Premises Compatibility
+ Azure DBaaS
Managed
Instance
Managed
Instance
Elastic
Pool
Single DB
More control compared to traditional Azure DBaaS
Lower costs when compared to SQL Server on VMs
https://azure.microsoft.com/en-us/blog/new-options-to-modernize-your-application-with-azure-sql-database/
Azure SQL DB Pricing
• 36 Worldwide Regions
• Single DB vs Elastic Pool
• Tiers
• Basic
• Standard
• Premium RS
• Premium
• Performance Level
• DTU and eDTU
• Storage
• DBs per Elastic Pool
• Number of DBs or Pools
• Time Period
• Hours
• Months
• Days
https://azure.microsoft.com/en-us/pricing/calculator/
https://azure.microsoft.com/en-us/regions/
Azure Regions
Database Transaction Units
CPU
MEMORY
WRITESREADS
HIGH
HIGH
HIGH HIGHLOW
Microsoft measures database workloads by combining
CPU, Memory and I/O into a unit of measurement called a
DTU for single databases and eDTU’s for elastic pools
DB Elastic Pools
• Multiple databases
• Share resources and costs amongst group
• Good for DBs that have spikey workloads
• Performance levels control sizing of other
resources
• Disk storage
• In-Memory allocations
• #DBs in pools
• Max requests, logins, sessions
• Min and Max eDTUs
• Single database
• No resource/cost sharing
• Performance Levels control sizing of
other resources
• Disk storage
• In-Memory allocations
• Max requests, logins, sessions
• Min and Max DTUs
Databases vs Elastic Pools
Azure Portal
provides pool
recommendations
DB
Elastic Pools
Databases vs Elastic Pools
Leverage Azure Portal Advisor
elastic pool recommendations
to reduce costs
Jim Recommends
UNDERSTAND Azure SQL DB’s pricing models –
they can be complex
MEASURE your current and estimate future
workloads (Microsoft provides tools)
TAKE YOUR TIME during configuration
MONITOR consumption regularly
BE PREPARED to adjust your configuration
SET UP billing alerts
Cloud DBMS Charges
Don’t Get Surprised!
RDX Recommends
Availability Features
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-geo-replication-portal
Geo-Replication
• Choose a region that will store secondary database
• Secondary must have same name and service level as primary
• Uses asynchronous replication (changes committed on primary
before being sent to secondary) for duplication
• Manual failover from 1 of 4 readable secondaries in same or
different region. Need to update connection strings to point to new
primary
• The secondary switches to become primary during failover process
• Other secondaries are auto-linked to new primary
• Azure SQL DB Failover Groups are in preview
• Readable secondaries
• One failover secondary in a different region is used for
automatic failover
• Configure auto-failover polices that trigger activation
• Configure one address that does not need to be updated
during failover. Like a Windows Cluster Name…
Currently, PowerShell works
better than the Portal GUI for
administration
Jim Recommends
Configuring Geo-Replication
Performance Features
• Able to easily increase or decrease resource
allocations
• Scale out using Elastic Database features (sharding)
• In-memory capabilities
• Robust array of performance monitoring dashboards,
drilldowns, metrics and visuals
• Azure Intelligent Insights
• Automatic index management (not maintenance)
• Plan regression
• Robust monitoring alert configurations
Performance Monitoring
• Traditional tuning strategy of starting
with high-level information and
drilling down into specific details
• Robust array of performance
monitoring dashboards, drilldowns,
metrics and visuals
• Query Performance Insights accesses
the Query Store to provide individual
query performance data and
recommendations
• Create monitoring metric threshold
alerts (DTU, CPU, I/O, failed
connections, storage)
• Metrics can be logged to Azure Event
Hubs, Azure Log Analytics and Azure
Storage
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-performance
Monitoring Alerts
• Configure using portal, PowerShell, CLI, REST API
• Alerts are configured at the database level
• Able to create both performance and availability alerts
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-insights-alerts-portal
In-Memory OLTP
• Azure SQL DB shares same in-memory implementation with SQL Server on-premises
• Uses less resources to process workloads
• Can be used with single DBs and databases in elastic pools
• Azure Portal provides recommendations on tables that may benefit from in-memory
In-Memory ConfigurationStandard DB Configuration
https://channel9.msdn.com/Shows/Data-Exposed/In-Memory-OTLP-in-Azure-SQL-DB
Intelligent Performance Analysis
Intelligence Insights
• Continuous monitoring
• Creates baselines for SQL workload
• Detects poor performance events
• Sophisticated displays and drill-down features
• Provides root cause analysis
https://channel9.msdn.com/Events/Ignite/Microsoft-Ignite-Orlando-2017/BRK3087
• Azure’s monitoring process
continuously analyzes performance
• Learns about the databases’
workload characteristics
• Tuning activities include:
• Index creation
• Index deletion
• Plan regression
• Actions that don’t improve
performance are rolled back
• Can be set to perform all steps
automatically
Monitor
Learn
Adjust
Verify
Index/Plan
Management
Automatic Management
• Understand how it works
• Implement in test
• Monitor closely
Jim Recommends
Configuring Automatic Tuning
Tuning Microsoft’s Production Databases
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-automatic-tuning
Sharding
• Data is distributed to shards based on a
shard key (individual key, range, hash)
• The shard map manager contains global
mapping information about all shards
(DBs) in a shard set
• Shard databases have identical structures
• Elastic queries, transactions and jobs are
used to access the shards in the shard set
• Split-Merge utility and Elastic Database
client libraries used to manage data and
sharded environment
• Good for:
• Large amounts of data
• High transaction throughput
• SAS multi-tenant applications
• Split data to different geographic
areas
Shard
1
Horizontally
Scalable
Horizontal Scalability
Shard
3
Shard
2
Shard
X
Shard Key
1-100
Shard Key
101-200
Shard Key
101-200
Elastic Query
Elastic Transactions
Elastic Jobs
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-elastic-scale-introduction#sharding
Allows you to scan, review,
analyze and resolve issues. Can
then set baseline. Subsequent
reports show baseline exceptions
Vulnerability Scanning
Capture, retain, report and analyze
selected events
Auditing
Detects suspicious activities that
may be potential threats. Alerts
can be configured for notification
Threat Detection
Protects data at rest, during transfer
and in use. Encryption keys can be
stored in Azure Key Vault
Always Encrypted
Allows cloud and on-premises
access to Active Directory
information
Azure Active Directory Integration
Policy-based security feature that
hides data in the result set without
changing data stored in DB
Data Masking
Security
Six Ways RDX is Better for Business
Vulnerability Assessments
https://docs.microsoft.com/en-us/azure/sql-database/sql-vulnerability-assessment
Six Ways RDX is Better for Business
Automatic Threat Detection
• $15/Month per server
• Able to configure email alerts for a
wide range of security events
• Notifications include all of the
information you need to begin your
analysis
• The alerts provide recommendations
to help investigation and mitigate
impact
• Links to SQL audit records during time
of the event
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-threat-detection
Database
Backups
Weekly Full Backups
Hourly Differentials
T-Logs Every 5 Minutes
Database Backups
Azure Performs
Azure SQL DB Demo
View Azure Demo on YouTube
Questions and Additional Information
jdonahoe@rdx.com
cfoot@rdx.com
January’s Presentation – Migrating On-Premises Databases to the
Cloud
The RDX Report
Microsoft Power BI Overview and Demo, MySQL in the Cloud, Microsoft’s Big Data Cloud
Solutions, Top Security Threats – Mobile, Website, Network
LinkedIn
Selecting Cloud DBMS, NoSQL Architectures, Database Security Series, Improving
Customer Service
20YEARS OF
SERVICE DELIVERY
EXPERIENCE
Video recording of this presentation can be found
on RDX’s YouTube Channel:
https://youtu.be/L7YWfv9iGDg

Contenu connexe

Tendances

Learn to Use Databricks for Data Science
Learn to Use Databricks for Data ScienceLearn to Use Databricks for Data Science
Learn to Use Databricks for Data ScienceDatabricks
 
[DSC Europe 22] Overview of the Databricks Platform - Petar Zecevic
[DSC Europe 22] Overview of the Databricks Platform - Petar Zecevic[DSC Europe 22] Overview of the Databricks Platform - Petar Zecevic
[DSC Europe 22] Overview of the Databricks Platform - Petar ZecevicDataScienceConferenc1
 
Building Lakehouses on Delta Lake with SQL Analytics Primer
Building Lakehouses on Delta Lake with SQL Analytics PrimerBuilding Lakehouses on Delta Lake with SQL Analytics Primer
Building Lakehouses on Delta Lake with SQL Analytics PrimerDatabricks
 
Cloud dw benchmark using tpd-ds( Snowflake vs Redshift vs EMR Hive )
Cloud dw benchmark using tpd-ds( Snowflake vs Redshift vs EMR Hive )Cloud dw benchmark using tpd-ds( Snowflake vs Redshift vs EMR Hive )
Cloud dw benchmark using tpd-ds( Snowflake vs Redshift vs EMR Hive )SANG WON PARK
 
SQL to Azure Migrations
SQL to Azure MigrationsSQL to Azure Migrations
SQL to Azure MigrationsDatavail
 
Differentiate Big Data vs Data Warehouse use cases for a cloud solution
Differentiate Big Data vs Data Warehouse use cases for a cloud solutionDifferentiate Big Data vs Data Warehouse use cases for a cloud solution
Differentiate Big Data vs Data Warehouse use cases for a cloud solutionJames Serra
 
Ms sql server architecture
Ms sql server architectureMs sql server architecture
Ms sql server architectureAjeet Singh
 
Microsoft Azure Fundamentals
Microsoft Azure FundamentalsMicrosoft Azure Fundamentals
Microsoft Azure FundamentalsAdwait Ullal
 
Azure Storage
Azure StorageAzure Storage
Azure StorageMustafa
 
Modernizing to a Cloud Data Architecture
Modernizing to a Cloud Data ArchitectureModernizing to a Cloud Data Architecture
Modernizing to a Cloud Data ArchitectureDatabricks
 
Introducing Databricks Delta
Introducing Databricks DeltaIntroducing Databricks Delta
Introducing Databricks DeltaDatabricks
 
AZ-204 : Implement Azure security
AZ-204 : Implement Azure securityAZ-204 : Implement Azure security
AZ-204 : Implement Azure securityAzureEzy1
 
Microsoft Data Platform - What's included
Microsoft Data Platform - What's includedMicrosoft Data Platform - What's included
Microsoft Data Platform - What's includedJames Serra
 
Azure Data Factory Data Flow
Azure Data Factory Data FlowAzure Data Factory Data Flow
Azure Data Factory Data FlowMark Kromer
 
Azure SQL Database
Azure SQL Database Azure SQL Database
Azure SQL Database nj-azure
 
Azure cosmos db, Azure no-SQL database,
Azure cosmos db, Azure no-SQL database, Azure cosmos db, Azure no-SQL database,
Azure cosmos db, Azure no-SQL database, BRIJESH KUMAR
 

Tendances (20)

Learn to Use Databricks for Data Science
Learn to Use Databricks for Data ScienceLearn to Use Databricks for Data Science
Learn to Use Databricks for Data Science
 
Deep Dive: Amazon RDS
Deep Dive: Amazon RDSDeep Dive: Amazon RDS
Deep Dive: Amazon RDS
 
[DSC Europe 22] Overview of the Databricks Platform - Petar Zecevic
[DSC Europe 22] Overview of the Databricks Platform - Petar Zecevic[DSC Europe 22] Overview of the Databricks Platform - Petar Zecevic
[DSC Europe 22] Overview of the Databricks Platform - Petar Zecevic
 
Building Lakehouses on Delta Lake with SQL Analytics Primer
Building Lakehouses on Delta Lake with SQL Analytics PrimerBuilding Lakehouses on Delta Lake with SQL Analytics Primer
Building Lakehouses on Delta Lake with SQL Analytics Primer
 
Cloud dw benchmark using tpd-ds( Snowflake vs Redshift vs EMR Hive )
Cloud dw benchmark using tpd-ds( Snowflake vs Redshift vs EMR Hive )Cloud dw benchmark using tpd-ds( Snowflake vs Redshift vs EMR Hive )
Cloud dw benchmark using tpd-ds( Snowflake vs Redshift vs EMR Hive )
 
SQL to Azure Migrations
SQL to Azure MigrationsSQL to Azure Migrations
SQL to Azure Migrations
 
Differentiate Big Data vs Data Warehouse use cases for a cloud solution
Differentiate Big Data vs Data Warehouse use cases for a cloud solutionDifferentiate Big Data vs Data Warehouse use cases for a cloud solution
Differentiate Big Data vs Data Warehouse use cases for a cloud solution
 
Ms sql server architecture
Ms sql server architectureMs sql server architecture
Ms sql server architecture
 
Azure SQL Database
Azure SQL DatabaseAzure SQL Database
Azure SQL Database
 
Microsoft Azure Fundamentals
Microsoft Azure FundamentalsMicrosoft Azure Fundamentals
Microsoft Azure Fundamentals
 
Azure Storage
Azure StorageAzure Storage
Azure Storage
 
Azure Synapse Analytics
Azure Synapse AnalyticsAzure Synapse Analytics
Azure Synapse Analytics
 
Modernizing to a Cloud Data Architecture
Modernizing to a Cloud Data ArchitectureModernizing to a Cloud Data Architecture
Modernizing to a Cloud Data Architecture
 
Azure Cosmos DB
Azure Cosmos DBAzure Cosmos DB
Azure Cosmos DB
 
Introducing Databricks Delta
Introducing Databricks DeltaIntroducing Databricks Delta
Introducing Databricks Delta
 
AZ-204 : Implement Azure security
AZ-204 : Implement Azure securityAZ-204 : Implement Azure security
AZ-204 : Implement Azure security
 
Microsoft Data Platform - What's included
Microsoft Data Platform - What's includedMicrosoft Data Platform - What's included
Microsoft Data Platform - What's included
 
Azure Data Factory Data Flow
Azure Data Factory Data FlowAzure Data Factory Data Flow
Azure Data Factory Data Flow
 
Azure SQL Database
Azure SQL Database Azure SQL Database
Azure SQL Database
 
Azure cosmos db, Azure no-SQL database,
Azure cosmos db, Azure no-SQL database, Azure cosmos db, Azure no-SQL database,
Azure cosmos db, Azure no-SQL database,
 

Similaire à Introduction to Azure SQL DB

Migrating On-Premises DBs to Cloud Systems
Migrating On-Premises DBs to Cloud SystemsMigrating On-Premises DBs to Cloud Systems
Migrating On-Premises DBs to Cloud SystemsChristopher Foot
 
Cloud's Hidden Impact on IT Support Organizations
Cloud's Hidden Impact on IT Support OrganizationsCloud's Hidden Impact on IT Support Organizations
Cloud's Hidden Impact on IT Support OrganizationsChristopher Foot
 
Azure SQL Database Managed Instance
Azure SQL Database Managed InstanceAzure SQL Database Managed Instance
Azure SQL Database Managed InstanceJames Serra
 
Selecting a SQL Server Cloud Platform - IaaS, Amazon RDS or Azure SQL DB?
Selecting a SQL Server Cloud Platform - IaaS, Amazon RDS or Azure SQL DB?Selecting a SQL Server Cloud Platform - IaaS, Amazon RDS or Azure SQL DB?
Selecting a SQL Server Cloud Platform - IaaS, Amazon RDS or Azure SQL DB?Christopher Foot
 
Should I move my database to the cloud?
Should I move my database to the cloud?Should I move my database to the cloud?
Should I move my database to the cloud?James Serra
 
SQL Server Database as a Cloud Service
SQL Server Database as a Cloud ServiceSQL Server Database as a Cloud Service
SQL Server Database as a Cloud ServicePio Balistoy
 
Moving to the cloud; PaaS, IaaS or Managed Instance
Moving to the cloud; PaaS, IaaS or Managed InstanceMoving to the cloud; PaaS, IaaS or Managed Instance
Moving to the cloud; PaaS, IaaS or Managed InstanceThomas Sykes
 
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...Amazon Web Services
 
Azure - Data Platform
Azure - Data PlatformAzure - Data Platform
Azure - Data Platformgiventocode
 
Adelaide Global Azure Bootcamp 2018 - Azure 101
Adelaide Global Azure Bootcamp 2018 - Azure 101Adelaide Global Azure Bootcamp 2018 - Azure 101
Adelaide Global Azure Bootcamp 2018 - Azure 101Balabiju
 
NOVA SQL MeetUp Webinar Slides - June 5, 2020 Chris Seferlis - Azure SQL Mana...
NOVA SQL MeetUp Webinar Slides - June 5, 2020 Chris Seferlis - Azure SQL Mana...NOVA SQL MeetUp Webinar Slides - June 5, 2020 Chris Seferlis - Azure SQL Mana...
NOVA SQL MeetUp Webinar Slides - June 5, 2020 Chris Seferlis - Azure SQL Mana...Timothy McAliley
 
Evaluating Cloud Database Offerings
Evaluating Cloud Database OfferingsEvaluating Cloud Database Offerings
Evaluating Cloud Database OfferingsChristopher Foot
 
New Database Migration Services & RDS Updates
New Database Migration Services & RDS UpdatesNew Database Migration Services & RDS Updates
New Database Migration Services & RDS UpdatesAmazon Web Services
 
Scalable relational database with SQL Azure
Scalable relational database with SQL AzureScalable relational database with SQL Azure
Scalable relational database with SQL AzureShy Engelberg
 
What's New in Amazon RDS for Open-Source & Commercial Databases
What's New in Amazon RDS for Open-Source & Commercial DatabasesWhat's New in Amazon RDS for Open-Source & Commercial Databases
What's New in Amazon RDS for Open-Source & Commercial DatabasesAmazon Web Services
 
Tech-Spark: Azure SQL Databases
Tech-Spark: Azure SQL DatabasesTech-Spark: Azure SQL Databases
Tech-Spark: Azure SQL DatabasesRalph Attard
 
Database Administration & Management - 01
Database Administration & Management - 01Database Administration & Management - 01
Database Administration & Management - 01FaisalMashood
 
DBAM-01.pdf
DBAM-01.pdfDBAM-01.pdf
DBAM-01.pdfhania80
 

Similaire à Introduction to Azure SQL DB (20)

Migrating On-Premises DBs to Cloud Systems
Migrating On-Premises DBs to Cloud SystemsMigrating On-Premises DBs to Cloud Systems
Migrating On-Premises DBs to Cloud Systems
 
Cloud's Hidden Impact on IT Support Organizations
Cloud's Hidden Impact on IT Support OrganizationsCloud's Hidden Impact on IT Support Organizations
Cloud's Hidden Impact on IT Support Organizations
 
Azure SQL Database Managed Instance
Azure SQL Database Managed InstanceAzure SQL Database Managed Instance
Azure SQL Database Managed Instance
 
Selecting a SQL Server Cloud Platform - IaaS, Amazon RDS or Azure SQL DB?
Selecting a SQL Server Cloud Platform - IaaS, Amazon RDS or Azure SQL DB?Selecting a SQL Server Cloud Platform - IaaS, Amazon RDS or Azure SQL DB?
Selecting a SQL Server Cloud Platform - IaaS, Amazon RDS or Azure SQL DB?
 
Should I move my database to the cloud?
Should I move my database to the cloud?Should I move my database to the cloud?
Should I move my database to the cloud?
 
SQL Server Database as a Cloud Service
SQL Server Database as a Cloud ServiceSQL Server Database as a Cloud Service
SQL Server Database as a Cloud Service
 
Moving to the cloud; PaaS, IaaS or Managed Instance
Moving to the cloud; PaaS, IaaS or Managed InstanceMoving to the cloud; PaaS, IaaS or Managed Instance
Moving to the cloud; PaaS, IaaS or Managed Instance
 
Azure data platform overview
Azure data platform overviewAzure data platform overview
Azure data platform overview
 
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...
ENT305 Migrating Your Databases to AWS: Deep Dive on Amazon Relational Databa...
 
Azure - Data Platform
Azure - Data PlatformAzure - Data Platform
Azure - Data Platform
 
Adelaide Global Azure Bootcamp 2018 - Azure 101
Adelaide Global Azure Bootcamp 2018 - Azure 101Adelaide Global Azure Bootcamp 2018 - Azure 101
Adelaide Global Azure Bootcamp 2018 - Azure 101
 
NOVA SQL MeetUp Webinar Slides - June 5, 2020 Chris Seferlis - Azure SQL Mana...
NOVA SQL MeetUp Webinar Slides - June 5, 2020 Chris Seferlis - Azure SQL Mana...NOVA SQL MeetUp Webinar Slides - June 5, 2020 Chris Seferlis - Azure SQL Mana...
NOVA SQL MeetUp Webinar Slides - June 5, 2020 Chris Seferlis - Azure SQL Mana...
 
Evaluating Cloud Database Offerings
Evaluating Cloud Database OfferingsEvaluating Cloud Database Offerings
Evaluating Cloud Database Offerings
 
New Database Migration Services & RDS Updates
New Database Migration Services & RDS UpdatesNew Database Migration Services & RDS Updates
New Database Migration Services & RDS Updates
 
Scalable relational database with SQL Azure
Scalable relational database with SQL AzureScalable relational database with SQL Azure
Scalable relational database with SQL Azure
 
What's New in Amazon RDS for Open-Source & Commercial Databases
What's New in Amazon RDS for Open-Source & Commercial DatabasesWhat's New in Amazon RDS for Open-Source & Commercial Databases
What's New in Amazon RDS for Open-Source & Commercial Databases
 
AZURE Data Related Services
AZURE Data Related ServicesAZURE Data Related Services
AZURE Data Related Services
 
Tech-Spark: Azure SQL Databases
Tech-Spark: Azure SQL DatabasesTech-Spark: Azure SQL Databases
Tech-Spark: Azure SQL Databases
 
Database Administration & Management - 01
Database Administration & Management - 01Database Administration & Management - 01
Database Administration & Management - 01
 
DBAM-01.pdf
DBAM-01.pdfDBAM-01.pdf
DBAM-01.pdf
 

Plus de Christopher Foot

Cloud's Hidden Impact on IT Shops
Cloud's Hidden Impact on IT ShopsCloud's Hidden Impact on IT Shops
Cloud's Hidden Impact on IT ShopsChristopher Foot
 
BI in the Cloud - Microsoft Power BI Overview and Demo
BI in the Cloud - Microsoft Power BI Overview and DemoBI in the Cloud - Microsoft Power BI Overview and Demo
BI in the Cloud - Microsoft Power BI Overview and DemoChristopher Foot
 
Secrets for Successful Regulatory Compliance Projects
Secrets for Successful Regulatory Compliance ProjectsSecrets for Successful Regulatory Compliance Projects
Secrets for Successful Regulatory Compliance ProjectsChristopher Foot
 
Rising Interest in Open Source Relational Databases
Rising Interest in Open Source Relational DatabasesRising Interest in Open Source Relational Databases
Rising Interest in Open Source Relational DatabasesChristopher Foot
 
RDX Insights Presentation - Microsoft Business Intelligence
RDX Insights Presentation - Microsoft Business IntelligenceRDX Insights Presentation - Microsoft Business Intelligence
RDX Insights Presentation - Microsoft Business IntelligenceChristopher Foot
 
NoSQL Architecture Overview
NoSQL Architecture OverviewNoSQL Architecture Overview
NoSQL Architecture OverviewChristopher Foot
 
Who Will Win the Database Wars?
Who Will Win the Database Wars?Who Will Win the Database Wars?
Who Will Win the Database Wars?Christopher Foot
 

Plus de Christopher Foot (7)

Cloud's Hidden Impact on IT Shops
Cloud's Hidden Impact on IT ShopsCloud's Hidden Impact on IT Shops
Cloud's Hidden Impact on IT Shops
 
BI in the Cloud - Microsoft Power BI Overview and Demo
BI in the Cloud - Microsoft Power BI Overview and DemoBI in the Cloud - Microsoft Power BI Overview and Demo
BI in the Cloud - Microsoft Power BI Overview and Demo
 
Secrets for Successful Regulatory Compliance Projects
Secrets for Successful Regulatory Compliance ProjectsSecrets for Successful Regulatory Compliance Projects
Secrets for Successful Regulatory Compliance Projects
 
Rising Interest in Open Source Relational Databases
Rising Interest in Open Source Relational DatabasesRising Interest in Open Source Relational Databases
Rising Interest in Open Source Relational Databases
 
RDX Insights Presentation - Microsoft Business Intelligence
RDX Insights Presentation - Microsoft Business IntelligenceRDX Insights Presentation - Microsoft Business Intelligence
RDX Insights Presentation - Microsoft Business Intelligence
 
NoSQL Architecture Overview
NoSQL Architecture OverviewNoSQL Architecture Overview
NoSQL Architecture Overview
 
Who Will Win the Database Wars?
Who Will Win the Database Wars?Who Will Win the Database Wars?
Who Will Win the Database Wars?
 

Dernier

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfRankYa
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek SchlawackFwdays
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLScyllaDB
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clashcharlottematthew16
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr BaganFwdays
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 

Dernier (20)

New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Search Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdfSearch Engine Optimization SEO PDF for 2024.pdf
Search Engine Optimization SEO PDF for 2024.pdf
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
DMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special EditionDMCC Future of Trade Web3 - Special Edition
DMCC Future of Trade Web3 - Special Edition
 
Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
"Subclassing and Composition – A Pythonic Tour of Trade-Offs", Hynek Schlawack
 
Developer Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQLDeveloper Data Modeling Mistakes: From Postgres to NoSQL
Developer Data Modeling Mistakes: From Postgres to NoSQL
 
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptxE-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
E-Vehicle_Hacking_by_Parul Sharma_null_owasp.pptx
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Powerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time ClashPowerpoint exploring the locations used in television show Time Clash
Powerpoint exploring the locations used in television show Time Clash
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan"ML in Production",Oleksandr Bagan
"ML in Production",Oleksandr Bagan
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 

Introduction to Azure SQL DB

  • 1. INSIGHTS Presentation Series SQL Azure Introduction to Azure SQL DB Environments James Donahoe Azure SQL DBA Chris Foot VP Tech Strategies Webinar Video Inside
  • 2. Who We Are The Largest Pure Play Provider of Managed Data Infrastructure Services 20 YEARS OF SERVICE DELIVERY EXPERIENCE Database Platforms SQL Server Oracle PostgreSQL* DB2 MongoDB* MySQL* Operating Systems Unix/Linux*Windows Edge Technologies SQL Server BI Oracle EBS SharePoint Exchange Environment 450+ Customers 10,000 Servers 200+ DBAs Fortune 100s Startups All Verticals Cloud Systems Amazon AWS/RDS Oracle Cloud DB DBaaS Msoft Azure IaaS (dozens) Hybrid Cloud * All distributions
  • 3. Including Cloud Database Management Systems Infrastructure as a Service (IaaS) Database as a Service (DBaaS) Supported Technologies
  • 4. January RDX Insights Series Presentation Strategies Tools Techniques Best Practices Heterogeneous and homogeneous on- premises DBMS Migrating On-Premises DBs to the Cloud
  • 5. Features and Benefits Azure SQL DB BenefitsInherent Cloud Benefits • Microsoft is stating that new features will be released for cloud systems before on- premises • Tuning advisors and automation • Advanced threat detection and security including encryption, data masking and row-level security • Elastic pools reduce costs and multi- database management activities • Robust monitoring and administration interfaces • In-Memory processing available • Automatic backups/self-service restore • Active geo-replication for DR • AD integration • JSON document support • Elasticity • Scalability • Pay-as-you-go rental fees • CapEx to OpEx • Reduce datacenter costs • Reduce administration costs • High availability SLAs • Ease of implementing HA • Ease of implementing DR • Faster application time-to-market
  • 6. Different Types of Cloud Platforms On-premises vs IaaS and PaaS On-Premises • Server is onsite at your physical plant • You buy it and provide server room, power, air, connectivity • YOU support all hardware • YOU support all software from OS up, including database IaaS – Infrastructure as a Service • Server is hosted by a provider • You rent their hardware • They provide server room, power, air, connectivity…. • PROVIDER supports hardware • YOU provide and support all software from OS up, including database PaaS – Platform as a Service • Server is hosted by a provider • You rent their hardware • They provide server room, air, connectivity…. • PROVIDER supports hardware • YOU RENT the OS and database • PROVIDER supports OS and database software Cloud Azure SQL DB is a PaaS Platform
  • 7. IaaS vs DBaaS The buzzword for PaaS offerings for databases is…. DBaaS Which is PaaS for databases! Infrastructure-as-a-Service Database-as-a-Service • Have to purchase DB and OS licenses • Able to install any software you choose – databases, applications, third-party tools • Easy to integrate your on-premises toolsets – monitoring, security, application development… • Allows you to maintain tight control of OS and DB configuration • Tight control over database utility execution – backups, index maintenance • Able to leverage cloud benefits that include elasticity, scalability and flexibility • Able to leverage features to reduce administrative time (varies according to vendor and particular offering selected) • Database products are limited by vendor offering • Rental fees include DB and OS licenses • Provider assumes greater administrative control over your environment (software installation, DB and OS configuration, patching, DB upgrades) • WATCH VENDOR SCHEDULING WINDOWS • Complex systems (HA, DR) are more easily configured • Data geo-redundancy is often inherent to offering • Provides backup and maintenance utility interfaces • Pricing can be complex and is configured by selecting tiers based on CPU, memory, disk utilization and performance • If you are renting the software, when relationship is over, you don’t own anything
  • 8. Data Factory Azure for MySQL Microsoft Azure Cloud DB Offerings Azure for PostgreSQL SQL Data Warehouse SQL Server Stretch DB Cosmos DB Redis Cache Table Storage
  • 9. SQL Server Platforms VMs On-Premises Infrastructure-as-a-Service Database-as-a-Service Most control Moderate Control Less Control Higher administration costs Lower administration costs Lowest administration costs Hardware and software costs Software costs Software costs Purchase licenses Rent OS, DB BYOL or rental Rent No system SLAs 99.95% on VM only 99.99% for entire environment Fewest system provided automations Some system provided automations Most system provided automations No changes to existing support procedures Minimal changes to existing support procedures Most changes to existing support procedures Build your own HA and DR (hardware and software) Design, install and configure your own HA and DR (software) System provided HA and DR (design and configure only) No changes to migrate DB Minimal to no changes to migrate on- premises DB Changes often required to migrate on- premises DB Slowest application time-to-market Moderate application time-to-market Fastest application time-to-market
  • 10. • New Staffing Roles and Responsibilities • Policies and Procedures • Impact on Existing Tools and Technologies • Change Management Cloud DBs Will Change the Way Your Organization Provides Support • Costing Models • Security • Training and Education • Become More Reliant on 3rd Parties Cloud Impact on Support • Storage • Compute • Provisioning • Monitoring Tools • Admin Tools • Backup • Security • Data Access • Performance • Vendor Lock In • DB Features • Elasticity • Scalability • Server Redundancy • Disaster Recovery Greater Impact DBaaS Less Impact IaaS
  • 11. When Migrating On-Premises SQL Server To Azure SQL DB – KNOW the Feature Differences RDX Recommendation • Always On Avail Groups • Attach a database • BACKUP command • Change data capture • Database mail • Database mirroring • Database snapshots • Event notifications https://docs.microsoft.com/en-us/azure/sql-database/sql-database-features • Distributed transactions • Extended stored procedures • Filestream • Linked servers • Log shipping • Polybase • Policy based management • RESTORE command • Semantic search • Service broker • SQL Server Agent • SSIS/SSAS/SSRS • SQL Server profiler • Windows Server Failover Clustering
  • 12. Azure SQL Managed Instances • GA in 2018 • SQL Server “Instance as a Service” • Same architecture as PaaS • All PaaS features • Near 100% compatibility with on- premises • Easy migration with DMS  Native backup/restore  Log Shipping • SQL Agent, 3-part names, DBMail, CDC… • Native support for virtual networks (injected into your VNET) • Allows private IP addresses • SSIS/SSAS/SSRS – Not available  Azure Data Factory (SSIS PaaS)  Azure Analysis Services  Virtual machines  Migrate to Power BI Platform as a Service Benefits On-Premises Compatibility + Azure DBaaS Managed Instance Managed Instance Elastic Pool Single DB More control compared to traditional Azure DBaaS Lower costs when compared to SQL Server on VMs https://azure.microsoft.com/en-us/blog/new-options-to-modernize-your-application-with-azure-sql-database/
  • 13. Azure SQL DB Pricing • 36 Worldwide Regions • Single DB vs Elastic Pool • Tiers • Basic • Standard • Premium RS • Premium • Performance Level • DTU and eDTU • Storage • DBs per Elastic Pool • Number of DBs or Pools • Time Period • Hours • Months • Days https://azure.microsoft.com/en-us/pricing/calculator/
  • 15. Database Transaction Units CPU MEMORY WRITESREADS HIGH HIGH HIGH HIGHLOW Microsoft measures database workloads by combining CPU, Memory and I/O into a unit of measurement called a DTU for single databases and eDTU’s for elastic pools
  • 16. DB Elastic Pools • Multiple databases • Share resources and costs amongst group • Good for DBs that have spikey workloads • Performance levels control sizing of other resources • Disk storage • In-Memory allocations • #DBs in pools • Max requests, logins, sessions • Min and Max eDTUs • Single database • No resource/cost sharing • Performance Levels control sizing of other resources • Disk storage • In-Memory allocations • Max requests, logins, sessions • Min and Max DTUs Databases vs Elastic Pools Azure Portal provides pool recommendations
  • 17. DB Elastic Pools Databases vs Elastic Pools Leverage Azure Portal Advisor elastic pool recommendations to reduce costs Jim Recommends
  • 18. UNDERSTAND Azure SQL DB’s pricing models – they can be complex MEASURE your current and estimate future workloads (Microsoft provides tools) TAKE YOUR TIME during configuration MONITOR consumption regularly BE PREPARED to adjust your configuration SET UP billing alerts Cloud DBMS Charges Don’t Get Surprised! RDX Recommends
  • 19. Availability Features https://docs.microsoft.com/en-us/azure/sql-database/sql-database-geo-replication-portal Geo-Replication • Choose a region that will store secondary database • Secondary must have same name and service level as primary • Uses asynchronous replication (changes committed on primary before being sent to secondary) for duplication • Manual failover from 1 of 4 readable secondaries in same or different region. Need to update connection strings to point to new primary • The secondary switches to become primary during failover process • Other secondaries are auto-linked to new primary • Azure SQL DB Failover Groups are in preview • Readable secondaries • One failover secondary in a different region is used for automatic failover • Configure auto-failover polices that trigger activation • Configure one address that does not need to be updated during failover. Like a Windows Cluster Name… Currently, PowerShell works better than the Portal GUI for administration Jim Recommends
  • 21. Performance Features • Able to easily increase or decrease resource allocations • Scale out using Elastic Database features (sharding) • In-memory capabilities • Robust array of performance monitoring dashboards, drilldowns, metrics and visuals • Azure Intelligent Insights • Automatic index management (not maintenance) • Plan regression • Robust monitoring alert configurations
  • 22. Performance Monitoring • Traditional tuning strategy of starting with high-level information and drilling down into specific details • Robust array of performance monitoring dashboards, drilldowns, metrics and visuals • Query Performance Insights accesses the Query Store to provide individual query performance data and recommendations • Create monitoring metric threshold alerts (DTU, CPU, I/O, failed connections, storage) • Metrics can be logged to Azure Event Hubs, Azure Log Analytics and Azure Storage https://docs.microsoft.com/en-us/azure/sql-database/sql-database-performance
  • 23. Monitoring Alerts • Configure using portal, PowerShell, CLI, REST API • Alerts are configured at the database level • Able to create both performance and availability alerts https://docs.microsoft.com/en-us/azure/sql-database/sql-database-insights-alerts-portal
  • 24. In-Memory OLTP • Azure SQL DB shares same in-memory implementation with SQL Server on-premises • Uses less resources to process workloads • Can be used with single DBs and databases in elastic pools • Azure Portal provides recommendations on tables that may benefit from in-memory In-Memory ConfigurationStandard DB Configuration https://channel9.msdn.com/Shows/Data-Exposed/In-Memory-OTLP-in-Azure-SQL-DB
  • 25. Intelligent Performance Analysis Intelligence Insights • Continuous monitoring • Creates baselines for SQL workload • Detects poor performance events • Sophisticated displays and drill-down features • Provides root cause analysis https://channel9.msdn.com/Events/Ignite/Microsoft-Ignite-Orlando-2017/BRK3087
  • 26. • Azure’s monitoring process continuously analyzes performance • Learns about the databases’ workload characteristics • Tuning activities include: • Index creation • Index deletion • Plan regression • Actions that don’t improve performance are rolled back • Can be set to perform all steps automatically Monitor Learn Adjust Verify Index/Plan Management Automatic Management • Understand how it works • Implement in test • Monitor closely Jim Recommends
  • 28. Tuning Microsoft’s Production Databases https://docs.microsoft.com/en-us/azure/sql-database/sql-database-automatic-tuning
  • 29. Sharding • Data is distributed to shards based on a shard key (individual key, range, hash) • The shard map manager contains global mapping information about all shards (DBs) in a shard set • Shard databases have identical structures • Elastic queries, transactions and jobs are used to access the shards in the shard set • Split-Merge utility and Elastic Database client libraries used to manage data and sharded environment • Good for: • Large amounts of data • High transaction throughput • SAS multi-tenant applications • Split data to different geographic areas Shard 1 Horizontally Scalable Horizontal Scalability Shard 3 Shard 2 Shard X Shard Key 1-100 Shard Key 101-200 Shard Key 101-200 Elastic Query Elastic Transactions Elastic Jobs https://docs.microsoft.com/en-us/azure/sql-database/sql-database-elastic-scale-introduction#sharding
  • 30. Allows you to scan, review, analyze and resolve issues. Can then set baseline. Subsequent reports show baseline exceptions Vulnerability Scanning Capture, retain, report and analyze selected events Auditing Detects suspicious activities that may be potential threats. Alerts can be configured for notification Threat Detection Protects data at rest, during transfer and in use. Encryption keys can be stored in Azure Key Vault Always Encrypted Allows cloud and on-premises access to Active Directory information Azure Active Directory Integration Policy-based security feature that hides data in the result set without changing data stored in DB Data Masking Security
  • 31. Six Ways RDX is Better for Business Vulnerability Assessments https://docs.microsoft.com/en-us/azure/sql-database/sql-vulnerability-assessment
  • 32. Six Ways RDX is Better for Business Automatic Threat Detection • $15/Month per server • Able to configure email alerts for a wide range of security events • Notifications include all of the information you need to begin your analysis • The alerts provide recommendations to help investigation and mitigate impact • Links to SQL audit records during time of the event https://docs.microsoft.com/en-us/azure/sql-database/sql-database-threat-detection
  • 33. Database Backups Weekly Full Backups Hourly Differentials T-Logs Every 5 Minutes Database Backups Azure Performs
  • 34. Azure SQL DB Demo View Azure Demo on YouTube
  • 35. Questions and Additional Information jdonahoe@rdx.com cfoot@rdx.com January’s Presentation – Migrating On-Premises Databases to the Cloud The RDX Report Microsoft Power BI Overview and Demo, MySQL in the Cloud, Microsoft’s Big Data Cloud Solutions, Top Security Threats – Mobile, Website, Network LinkedIn Selecting Cloud DBMS, NoSQL Architectures, Database Security Series, Improving Customer Service 20YEARS OF SERVICE DELIVERY EXPERIENCE Video recording of this presentation can be found on RDX’s YouTube Channel: https://youtu.be/L7YWfv9iGDg