Upload
itproceed
View
53
Download
4
Tags:
Embed Size (px)
Citation preview
Azure SQL Database v12at your (database-as-a) servicePieter Vanhove
Tweet and win an Ignite 2016 ticket #itproceed
Agenda V12 Overview• Service Tiers and Performance Levels• Scale up or down• Expanded Database Management
Security• Dynamic Data Masking• Row-level Security• Auditing
Monitor and Troubleshoot• Better Customer Insights• Alerts and Events• Backup and Restore
Agenda V12 Overview• Service Tiers and Performance
Levels• Scale up or down• Expanded Database Management
Security• Dynamic Data Masking• Row-level Security• Auditing
Monitor and Troubleshoot• Better Customer Insights• Alerts and Events• Backup and Restore
Cloud Computing
Software as a Service
Consume
SaaSPlatform as a Service
Build
PaaSInfrastructure as a Service
Host
IaaS
A Server is not a machine
SQL Server A Machine
SQL Database
Server
A TDS* Endpoint
*TDS = Tabular Data Stream
Service Tiers
Basic
• Best suited for a small size database, supporting typically one single active operation at a given time.
Standard
• The go-to option for most cloud applications, supporting multiple concurrent queries.
Premium
• Designed for high transactional volume, supporting a large number of concurrent users and requiring the highest level of business continuity capabilities.
Overview of the Performance Model
Basic
• DTU = 5
• Max DB Size = 2GB
• 16 600 Trans/hour
Standard
• S0/S1/S2/S3
• DTU = 10 – 100
• Max DB Size = 250 GB
• 5100 Trans/min
Premium
• P1/P2/P3
• DTU = 125 – 1000
• Max DB Size = 500 GB
• 735 Trans/sec
http://azure.microsoft.com/en-in/documentation/articles/sql-database-service-tiers/
Upgrade to a Higher Service Tier
Downgrade to a Lower Service Tier
Changing Performance Level
Scale up or down
Impact of Database Changes• Connections to the database may be
temporarily dropped
• SLO change for a database often involves data movement
3 x (5 minutes + database size / 150 MB/minute)
Expanded Database Management
Users in contained databases Table partitioning Larger
transactionsOnline index build
and rebuild
CHECKPOINT support
ALTER TABLE enhancement
TRUNCATE TABLE enhancement
More options on ALTER DATABASE
More DBCC commands
Window functions in Transact-SQL
queries
Change tracking for data Table as a heap
Agenda V12 Overview• Service Tiers and Performance Levels• Scale up or down• Expanded Database Management
Security• Dynamic Data Masking• Row-level Security• Auditing
Monitor and Troubleshoot• Better Customer Insights• Alerts and Events• Backup and Restore
Agenda V12 Overview• Service Tiers and Performance Levels• Scale up or down• Expanded Database Management
Security• Dynamic Data Masking• Row-level Security• Auditing
Monitor and Troubleshoot• Better Customer Insights• Alerts and Events• Backup and Restore
Row-level Security• Control access to rows in a database table
based on the characteristics of the user executing a query
• Simplifies the design and coding of security in your application.
• The access restriction logic is located in the database tier not in the application tier
RLS – How it works
Data selected from a table
Security predicate
filter
Inline table valued
function
Enforced by a security policy
Restrict the rows that may be viewed
Auditing• Tracks database events and writes
audited events to an audit log
• Auditing can help you with• Maintain regulatory compliance• Understand database activity• Gain insight into discrepancies and anomalies
Agenda V12 Overview• Service Tiers and Performance Levels• Scale up or down• Expanded Database Management
Security• Dynamic Data Masking• Row-level Security• Auditing
Monitor and Troubleshoot• Better Customer Insights• Alerts and Events• Backup and Restore
Agenda V12 Overview• Service Tiers and Performance Levels• Scale up or down• Expanded Database Management
Security• Dynamic Data Masking• Row-level Security• Auditing
Monitor and Troubleshoot• Better Customer Insights• Alerts and Events• Backup and Restore
Better Customer Insights
DMVs
• Several DMVs are added in V12
Change
tracking
• V12 fully supports change tracking.
Columnstore
indexes
• A columnstore index improves system performance for data warehouses
Alerts and events
Define rule
Specify threshold
Threshold violated
Alert rule active
Registers an alert
Send E-mail
(optional)
SQL Database Alert RulesBlocked by
FirewallFailed
ConnectionsSuccessful
Connections
CPU Percentage Deadlocks DTU
Percentage
Log IO Percentage
Data IO Percentage
Total Database Size
Backup & RestoreService Tier Geo-Restore Self-Service Point
in Time RestoreBackup Retention
PeriodRestore a Deleted
Database
Basic Supported Supported 7 days Supported
Standard Supported Supported 14 days Supported
Premium Supported Supported 35 days Supported
Web Not supported Not supported n/a n/a
Business Not supported Not supported n/a n/a
Automatic Backup
Creates backups of every active database
Every hour a backup is taken
Geo-replicated
Every 5 minutes a transaction Log backup is taken
200% of your maximum provisioned database storage of backup storage at no additional cost
Point-in-Time RestoreDesigned to recover a database to a specific point in time
Creates a new database with the same service tier
The time taken to complete a restore depends on the size of the database and the length of the log chain
Restoring a deleted database
Geo-Restore as disaster recovery option
Agenda V12 Overview• Service Tiers and Performance Levels• Scale up or down• Expanded Database Management
Security• Dynamic Data Masking• Row-level Security• Auditing
Monitor and Troubleshoot• Better Customer Insights• Alerts and Events• Backup and Restore
Follow Technet Belgium@technetbelux
Subscribe to the TechNet newsletteraka.ms/benews
Be the first to know