SlideShare a Scribd company logo
1 of 33
Download to read offline
What is SQL Database?
Introduction to SQL Database
Athens Feb 24, 2017
PresenterInfo
1982 I started working with computers
1988 I started my professional career in computers
industry.
1996 I started working with SQL Server 6.0
1998 I earned my first certification at Microsoft as Microsoft
Certified Solution Developer (3rd in Greece)
I started my career as Microsoft Certified Trainer
(MCT) with more than 30.000 hours of training until
now!
2010 I became for first time Microsoft MVP on Data
Platform
I created the SQL School Greece www.sqlschool.gr
2012 I became MCT Regional Lead by Microsoft Learning
Program.
2013 I was certified as MCSE : Data Platform
& MCSE : Business Intelligence
2016 I was certified as MCSE: Data Management & Analytics
Antonios
Chatzipavlis
SQL Server Expert & Evangelist
MCT, MCSE, MCITP, MCPD, MCSD, MCDBA,
MCSA, MCTS, MCAD, MCP, OCA, ITIL-F
SQLschool.gr
Μια πηγή ενημέρωσης για τον Microsoft SQL Server προς τους Έλληνες IT Professionals,
DBAs, Developers, Information Workers αλλά και απλούς χομπίστες που απλά τους
αρέσει ο SQL Server.
@antoniosch / @sqlschool
fb/sqlschoolgr / fb/groups/sqlschool
yt/c/SqlschoolGr
SQL School Greece group
Follow us in socials
help@sqlschool.gr
Help line
• Articles about SQL Server
• SQL Server News
• SQL Nights
• Webcasts
• Downloads
• Resources
What we are doing here
 Sign up for a free membership today at sqlpass.org.
 Linked In: http://www.sqlpass.org/linkedin
 Facebook: http://www.sqlpass.org/facebook
 Twitter: @SQLPASS
 PASS: http://www.sqlpass.org
PresentationContent
 What is SQL Database on Azure?
 SQL Database Service Tiers
 Database Transaction Units
 Azure SQL Database logical server
 Management Tools for SQL Database
 Securing your SQL Database
What is SQL Database on
Azure?
 It’s a relational database service in the Microsoft cloud based on the
Microsoft SQL Server engine
 It’s capable of handling mission-critical workloads.
 It delivers predictable performance at
 Multiple service levels
 Dynamic scalability with no downtime
 Built-in business continuity
 Data protection
 All with near-zero administration
 These capabilities allow you to focus on rapid app development
 SQL Database supports existing SQL Server tools, libraries, and APIs
What is SQL Database on Azure?
SQL Database Features
Feature SQL Server Azure SQL Database
Active Geo-Replication Not supported - see AlwaysOn Availability Groups Supported
AlwaysEncrypted Supported Supported
AlwaysOn Availability Groups Supported Not supported - See Active Geo-Replication
Attach a database Supported Not supported
Application roles Supported Supported
Auto scale Not supported Supported
Azure Active Directory Not supported Supported
Azure Data Factory Not supported - see SQL Server Integration Services(SSIS) Supported
Auditing Supported Supported
BACPAC file (export) Supported Supported
BACPAC file (import) Supported Supported
BACKUP and RESTORE statements Supported Not supported
Built-in functions Supported Most
Change data capture Supported Not supported
Change tracking Supported Supported
Collation statements Supported Supported
Columnstore indexes Supported Premium edition only
Common language runtime (CLR) Supported Not supported
Contained databases Supported Built-in
Contained users Supported Supported
Control of flow language keywords Supported Supported
Cross-database queries Supported Elastic queries
Cursors Supported Supported
Data compression Supported Supported
Database backups Exposed for users Built-in
Database mail Supported Not supported
Database mirroring Supported Not supported
Database configuration options Supported Supported
Data Quality Services(DQS) Supported Not supported
Database snapshots Supported Not supported
Data types Supported Supported
DBCC statements All Some
DDL statements Supported Most
DDL triggers Supported Database only
Distributed transactions MS DTC Limited intra-SQL Database scenariosonly
DML statements Supported Most
DML triggers Supported Supported
DMVs All Some
elastic pools Not supported Supported
Elastic jobs Not supported - see SQL Server Agent Supported
Elastic queries Not supported - see Cross-database queries Supported
Event notifications Supported Supported
Expressions Supported Supported
Extended events Supported Some
Extended stored procedures Supported Not supported
File groups Supported Primary only
Filestream Supported Not supported
Full-text search Supported Not supported third-party word breakers
Functions Supported Most
In-memory optimization Supported Premium edition only
Jobs SQL Server Agent Supported
JSON data support Supported Supported
Language elements Supported Most
Linked servers Supported Not supported - see Elasticquery
Log shipping Supported Not supported - see Active Geo-Replication
Management commands Supported Not supported
Master Data Services(MDS) Supported Not supported
Minimallogging in bulk import Supported Not supported
Modifying system data Supported Not supported
Online index operations Supported Transaction size limited by service tier
Operators Supported Most
Point in time database restore Supported Supported
Polybase Supported [Not supported]
Policy-based management Supported Not supported
Predicates Supported Most
Resource governor Supported Built-in
Restore database from backup Supported From built-in backups only
Row LevelSecurity Supported Supported
Security statements Supported Some
Semanticsearch Supported Not supported
Sequence numbers Supported Supported
Service Broker Supported Not supported
Server configuration options Supported Not supported - see Database configuration options
Set statements Supported Most
Spatial Supported Supported
SQL Server Agent Supported Not supported - See Elasticjobs
SQL Server AnalysisServices(SSAS) Supported Not supported - see Azure Analysis Services
SQL Server Integration Services(SSIS) Supported Not supported - see Azure Data Factory
SQL Server PowerShell Supported Supported
SQL Server Profiler Supported Not supported - see Extended events
SQL Server Replication Supported Transactionaland snapshot replication subscriber only
SQL Server Reporting Services(SSRS) Supported Not supported
Stored procedures Supported Supported
System stored functions Supported Some
System stored procedures Supported Some
System tables Supported Some
System views Supported Some
Table Partitioning Supported Primary filegroup only
Temporary tables Localand global Localonly
Temporaltables Supported Supported
Transaction statements Supported Supported
Variables Supported
Transparent data encryption (TDE) Supported Supported
Windows Server Failover clustering Supported Not supported - See Active Geo-Replication
XML indexes Supported Supported
XML statements Supported Supported
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-features
Not supported features of SQL Server
• Attach database
• Backup – Restore statements
• Change Data Capture
• CLR
• Database mail
• Database Mirroring
• Limited Distributed Transactions
• Extended Stored Procedures
• Only Primary Filegroup
• Filestream
• Linked Servers
• Log Shipping
• Online Index operations
• Semantic search
• Service Broker
• SQL Server Agent (Elastic Jobs)
SQL Database Service Tiers
Service Tiers
Basic
Standard
Premium
Service Tiers
Basic
Standard
Premium
ALL have an uptime
SLA of 99.99%
Service Tiers
Basic
Standard
Premium
Target workloads
Best suited for a small database, supporting
typically one single active operation at a given time.
Examples include databases used for development or testing,
or small-scale infrequently used applications.
The go-to option for cloud applications with low to
medium IO performance requirements, supporting
multiple concurrent queries.
Examples include workgroup or web applications.
Designed for high transactional volume with high
IO performance requirements, supporting many
concurrent users.
Examples are databases supporting mission critical
applications.
Single database service tiers and performance levels
Basic Standard Premium
S0 S1 S2 S3 P1 P2 P4 P6 P11 P15
Max DTUs 5 10 20 50 100 125 250 500 1000 1750 4000
Max database size in GB of
data files (not log files)
2 250 250 250 250 500 500 500 500 1024 1024
Max in-memory OLTP
storage in GB
- - - - - 1 2 4 8 14 32
Max concurrent workers 30 60 90 120 200 200 400 800 1600 2400 6400
Max concurrent logins 30 60 90 120 200 200 400 800 1600 2400 6400
Max concurrent sessions 300 600 900 1200 2400 30000 30000 30000 30000 30000 30000
Price / hour € 0,0057 0,0017 0,034 0,085 0,17 0,5271 1,0541 2,1083 4,2165 7,9355 18,14
AskMicrosoft
sochania@microsoft.com
Sophia Chanialaki
Database Transaction Units
 It’s a unit of measure of the
resources that are guaranteed
to be available to a single
Azure SQL database at a
specific performance level
within a single database
service tier.
 It’s a blended measure of CPU,
memory, and data I/O and
transaction log I/O in a ratio
determined by an OLTP
benchmark workload designed
to be typical of real-world OLTP
workloads.
What are Database Transaction Units (DTUs)?
https://docs.microsoft.com/en-us/azure/sql-database/sql-database-benchmark-overview
 If you are looking to migrate an existing on-premises or SQL Server virtual
machine workload to Azure SQL Database, you can use the DTU Calculator to
approximate the number of DTUs needed
 For an existing Azure SQL Database workload, you can use SQL Database Query
Performance Insight to understand your database resource consumption
(DTUs) to get deeper insight into how to optimize your workload.
 You can also use the sys.dm_db_ resource_stats DMV to get the resource
consumption information for the last one hour.
 Alternatively, the catalog view sys.resource_stats can also be queried to get the
same data for the last 14 days, although at a lower fidelity of five-minute
averages.
How can I determine the number of DTUs needed by my workload?
 If your workload is hitting the limits in one of CPU/Data IO/Log IO
limits, you continue to receive the resources at the maximum
allowed level, but you are likely to see increased latencies for your
queries.
 These limits do not result in any errors, but rather a slowdown in
the workload, unless the slowdown becomes so severe that queries
start timing out.
 If you are hitting limits of maximum allowed concurrent user
sessions/requests (worker threads), you see explicit errors.
What happens when I hit my maximum DTUs?
 Resource governance
 Azure SQL Database behaves as if the database is running on its own machine, isolated from other
databases. Resource governance emulates this behavior
 If the aggregated resource utilization reaches the maximum available CPU, Memory, Log I/O, and
Data I/O resources assigned to the database, resource governance queues queries in execution and
assign resources to the queued queries as they free up
 Enforcement of limits
 Resources other than CPU, Memory, Log I/O, and Data I/O are enforced by denying new requests
when limits are reached. Clients receive an error message depending on the limit that has been
reached
Azure SQL Database resource limits
Azure SQL Database logical
server
 An Azure SQL Database logical server acts as a central
administrative point for multiple databases
 In SQL Database, a server is a logical construct that is distinct from
a SQL Server instance that you may be familiar with in the on-
premises world
 Specifically, the SQL Database service makes no guarantees
regarding location of the databases in relation to their logical
servers, and exposes no instance-level access or features
Azure SQL Database logical server
 Is created within an Azure subscription, but can be moved with its contained resources to another subscription
 Is the parent resource for databases, elastic pools, and data warehouses
 Provides a namespace for databases, elastic pools, data warehouses
 Is a logical container with strong lifetime semantics - delete a server and it deletes the contained databases, elastic pools,
data warehouses
 Participates in Azure role-based access control (RBAC); databases, elastic pools within a server inherit access rights from
the server
 Is a high-order element of the identity of databases and elastic pools for Azure resource management purposes (see the
URL scheme for databases and pools)
 Collocates resources in a region
 Provides a connection endpoint for database access (.database.windows.net)
 Provides access to metadata regarding contained resources via DMVs by connecting to a master database
 Provides the scope for management policies that apply to its databases: logins, firewall, audit, threat detection, etc.
 Is restricted by a quota within the parent subscription (six servers per subscription)
 Provides the scope for database quota and DTU quota for the resources it contains (such as 45000 DTU in V12)
 Is the versioning scope for capabilities enabled on contained resources (latest version is V12)
 Server-level principal logins can manage all databases on a server
 Can contain logins similar to those in instances of SQL Server on your premises that are granted access to one or more
databases on the server, and can be granted limited administrative rights
What is an Azure SQL Database logical server?
 Authentication and authorization:
 SQL authentication
 Azure Active Directory Authentication (with certain limitations)
 You can connect and authenticate to Azure SQL databases through the server's master database or
directly to a user database
 Windows Authentication is not supported.
 TDS
 Microsoft Azure SQL Database supports tabular data stream (TDS) protocol client version 7.3 or later.
 TCP/IP
 Only TCP/IP connections are allowed.
 SQL Database firewall
 To help protect your data, a SQL Database firewall prevents all access to your database server or its
databases until you specify which computers have permission
How do I connect and authenticate to an Azure SQL Database logical server?
Management Tools for SQL
Database
 Azure portal
 New SQL Database Query Editor
 SQL Server Management Studio (SSMS)
 SQL Server Data Tools (SSDT) in Visual Studio
 PowerShell
Management Tools for SQL Database
Securing your SQL Database
 Control Access
 Firewall and firewall rules
 Authentication using SQL Authentication or Azure AD
 Authorization by user account’s database role memberships and object-level permissions
 Row-level security
 Data masking
 Proactive monitoring
 Auditing
 Threat detection
 Data masking
 Compliance
 ISO/IEC, CSA/CCM, ITAR, CJIS, HIPAA, IRS 1075
Securing your SQL Database
Demo
SELECT KNOWLEDGE FROM SQL SERVER
Copyright © 2017 SQLschool.gr. All right reserved.
PRESENTER MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION

More Related Content

What's hot

What's new in SQL Server 2016
What's new in SQL Server 2016What's new in SQL Server 2016
What's new in SQL Server 2016James Serra
 
Azure SQL Database Introduction by Tim Radney
Azure SQL Database Introduction by Tim RadneyAzure SQL Database Introduction by Tim Radney
Azure SQL Database Introduction by Tim RadneyHasan Savran
 
Everything you need to know about SQL Server 2016
Everything you need to know about SQL Server 2016Everything you need to know about SQL Server 2016
Everything you need to know about SQL Server 2016Softchoice Corporation
 
SQL Server 2016: Just a Few of Our DBA's Favorite Things
SQL Server 2016: Just a Few of Our DBA's Favorite ThingsSQL Server 2016: Just a Few of Our DBA's Favorite Things
SQL Server 2016: Just a Few of Our DBA's Favorite ThingsHostway|HOSTING
 
SQL Server 2016 - Stretch DB
SQL Server 2016 - Stretch DB SQL Server 2016 - Stretch DB
SQL Server 2016 - Stretch DB Shy Engelberg
 
Introducing Azure SQL Data Warehouse
Introducing Azure SQL Data WarehouseIntroducing Azure SQL Data Warehouse
Introducing Azure SQL Data WarehouseGrant Fritchey
 
Getting Started with Azure SQL Database (Presented at Pittsburgh TechFest 2018)
Getting Started with Azure SQL Database (Presented at Pittsburgh TechFest 2018)Getting Started with Azure SQL Database (Presented at Pittsburgh TechFest 2018)
Getting Started with Azure SQL Database (Presented at Pittsburgh TechFest 2018)Chad Green
 
Using extended events for troubleshooting sql server
Using extended events for troubleshooting sql serverUsing extended events for troubleshooting sql server
Using extended events for troubleshooting sql serverAntonios Chatzipavlis
 
Designing a modern data warehouse in azure
Designing a modern data warehouse in azure   Designing a modern data warehouse in azure
Designing a modern data warehouse in azure Antonios Chatzipavlis
 
Sql server 2016 new features
Sql server 2016 new featuresSql server 2016 new features
Sql server 2016 new featuresAjeet Singh
 
Sql 2016 - What's New
Sql 2016 - What's NewSql 2016 - What's New
Sql 2016 - What's Newdpcobb
 
HA/DR options with SQL Server in Azure and hybrid
HA/DR options with SQL Server in Azure and hybridHA/DR options with SQL Server in Azure and hybrid
HA/DR options with SQL Server in Azure and hybridJames Serra
 
Data Platform Overview
Data Platform OverviewData Platform Overview
Data Platform OverviewHamid J. Fard
 
Introducing Azure SQL Database
Introducing Azure SQL DatabaseIntroducing Azure SQL Database
Introducing Azure SQL DatabaseJames Serra
 
Azure SQL Database & Azure SQL Data Warehouse
Azure SQL Database & Azure SQL Data WarehouseAzure SQL Database & Azure SQL Data Warehouse
Azure SQL Database & Azure SQL Data WarehouseMohamed Tawfik
 
The Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed InstanceThe Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed InstanceJavier Villegas
 

What's hot (20)

Exploring sql server 2016
Exploring sql server 2016Exploring sql server 2016
Exploring sql server 2016
 
What's new in SQL Server 2016
What's new in SQL Server 2016What's new in SQL Server 2016
What's new in SQL Server 2016
 
Azure data platform overview
Azure data platform overviewAzure data platform overview
Azure data platform overview
 
Azure SQL Data Warehouse
Azure SQL Data Warehouse Azure SQL Data Warehouse
Azure SQL Data Warehouse
 
Azure SQL Database Introduction by Tim Radney
Azure SQL Database Introduction by Tim RadneyAzure SQL Database Introduction by Tim Radney
Azure SQL Database Introduction by Tim Radney
 
Everything you need to know about SQL Server 2016
Everything you need to know about SQL Server 2016Everything you need to know about SQL Server 2016
Everything you need to know about SQL Server 2016
 
SQL Server 2016: Just a Few of Our DBA's Favorite Things
SQL Server 2016: Just a Few of Our DBA's Favorite ThingsSQL Server 2016: Just a Few of Our DBA's Favorite Things
SQL Server 2016: Just a Few of Our DBA's Favorite Things
 
SQL Server 2016 - Stretch DB
SQL Server 2016 - Stretch DB SQL Server 2016 - Stretch DB
SQL Server 2016 - Stretch DB
 
Introducing Azure SQL Data Warehouse
Introducing Azure SQL Data WarehouseIntroducing Azure SQL Data Warehouse
Introducing Azure SQL Data Warehouse
 
Getting Started with Azure SQL Database (Presented at Pittsburgh TechFest 2018)
Getting Started with Azure SQL Database (Presented at Pittsburgh TechFest 2018)Getting Started with Azure SQL Database (Presented at Pittsburgh TechFest 2018)
Getting Started with Azure SQL Database (Presented at Pittsburgh TechFest 2018)
 
SQL Server 2016 BI updates
SQL Server 2016 BI updatesSQL Server 2016 BI updates
SQL Server 2016 BI updates
 
Using extended events for troubleshooting sql server
Using extended events for troubleshooting sql serverUsing extended events for troubleshooting sql server
Using extended events for troubleshooting sql server
 
Designing a modern data warehouse in azure
Designing a modern data warehouse in azure   Designing a modern data warehouse in azure
Designing a modern data warehouse in azure
 
Sql server 2016 new features
Sql server 2016 new featuresSql server 2016 new features
Sql server 2016 new features
 
Sql 2016 - What's New
Sql 2016 - What's NewSql 2016 - What's New
Sql 2016 - What's New
 
HA/DR options with SQL Server in Azure and hybrid
HA/DR options with SQL Server in Azure and hybridHA/DR options with SQL Server in Azure and hybrid
HA/DR options with SQL Server in Azure and hybrid
 
Data Platform Overview
Data Platform OverviewData Platform Overview
Data Platform Overview
 
Introducing Azure SQL Database
Introducing Azure SQL DatabaseIntroducing Azure SQL Database
Introducing Azure SQL Database
 
Azure SQL Database & Azure SQL Data Warehouse
Azure SQL Database & Azure SQL Data WarehouseAzure SQL Database & Azure SQL Data Warehouse
Azure SQL Database & Azure SQL Data Warehouse
 
The Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed InstanceThe Evolution of SQL Server as a Service - SQL Azure Managed Instance
The Evolution of SQL Server as a Service - SQL Azure Managed Instance
 

Similar to Introduction to sql database on azure

Rock Solid SQL Server Management
Rock Solid SQL Server ManagementRock Solid SQL Server Management
Rock Solid SQL Server ManagementTony Bain
 
SQL Server 2019 ctp2.2
SQL Server 2019 ctp2.2SQL Server 2019 ctp2.2
SQL Server 2019 ctp2.2Gianluca Hotz
 
Saying goodbye to SQL Server 2000
Saying goodbye to SQL Server 2000Saying goodbye to SQL Server 2000
Saying goodbye to SQL Server 2000ukdpe
 
Azure Data platform
Azure Data platformAzure Data platform
Azure Data platformMostafa
 
Azure SQL Managed Instance - SqlBits 2019
Azure SQL Managed Instance - SqlBits 2019Azure SQL Managed Instance - SqlBits 2019
Azure SQL Managed Instance - SqlBits 2019Jovan Popovic
 
What’s new in SQL Server 2017
What’s new in SQL Server 2017What’s new in SQL Server 2017
What’s new in SQL Server 2017James Serra
 
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloud
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloudKoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloud
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloudTobias Koprowski
 
Expert summit SQL Server 2016
Expert summit   SQL Server 2016Expert summit   SQL Server 2016
Expert summit SQL Server 2016Łukasz Grala
 
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginnersSQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginnersTobias Koprowski
 
Higher Productivity With Ase
Higher Productivity With AseHigher Productivity With Ase
Higher Productivity With Asesparkwan
 
Novidades do SQL Server 2016
Novidades do SQL Server 2016Novidades do SQL Server 2016
Novidades do SQL Server 2016Marcos Freccia
 
Azure SQL Database Managed Instance
Azure SQL Database Managed InstanceAzure SQL Database Managed Instance
Azure SQL Database Managed InstanceJames Serra
 
Azure SQL - more or/and less than SQL Server
Azure SQL - more or/and less than SQL ServerAzure SQL - more or/and less than SQL Server
Azure SQL - more or/and less than SQL ServerRafał Hryniewski
 
SQL Server 2016 - Always On.pptx
SQL Server 2016 - Always On.pptxSQL Server 2016 - Always On.pptx
SQL Server 2016 - Always On.pptxQuyVo27
 
AnalysisServices
AnalysisServicesAnalysisServices
AnalysisServiceswebuploader
 
In-memory ColumnStore Index
In-memory ColumnStore IndexIn-memory ColumnStore Index
In-memory ColumnStore IndexSolidQ
 
Migrating on premises workload to azure sql database
Migrating on premises workload to azure sql databaseMigrating on premises workload to azure sql database
Migrating on premises workload to azure sql databasePARIKSHIT SAVJANI
 
Sql azure dec_2010 Lynn & Ike
Sql azure dec_2010 Lynn & IkeSql azure dec_2010 Lynn & Ike
Sql azure dec_2010 Lynn & IkeIke Ellis
 

Similar to Introduction to sql database on azure (20)

Rock Solid SQL Server Management
Rock Solid SQL Server ManagementRock Solid SQL Server Management
Rock Solid SQL Server Management
 
SQL Server 2019 ctp2.2
SQL Server 2019 ctp2.2SQL Server 2019 ctp2.2
SQL Server 2019 ctp2.2
 
Saying goodbye to SQL Server 2000
Saying goodbye to SQL Server 2000Saying goodbye to SQL Server 2000
Saying goodbye to SQL Server 2000
 
Azure Data platform
Azure Data platformAzure Data platform
Azure Data platform
 
Azure SQL Managed Instance - SqlBits 2019
Azure SQL Managed Instance - SqlBits 2019Azure SQL Managed Instance - SqlBits 2019
Azure SQL Managed Instance - SqlBits 2019
 
Introduction to Azure Data Lake
Introduction to Azure Data LakeIntroduction to Azure Data Lake
Introduction to Azure Data Lake
 
What’s new in SQL Server 2017
What’s new in SQL Server 2017What’s new in SQL Server 2017
What’s new in SQL Server 2017
 
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloud
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloudKoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloud
KoprowskiT_SQLSat230_Rheinland_SQLAzure-fromPlantoBackuptoCloud
 
Expert summit SQL Server 2016
Expert summit   SQL Server 2016Expert summit   SQL Server 2016
Expert summit SQL Server 2016
 
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginnersSQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
SQLSaturday#290_Kiev_WindowsAzureDatabaseForBeginners
 
Higher Productivity With Ase
Higher Productivity With AseHigher Productivity With Ase
Higher Productivity With Ase
 
Novidades do SQL Server 2016
Novidades do SQL Server 2016Novidades do SQL Server 2016
Novidades do SQL Server 2016
 
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
 
Azure SQL Database Managed Instance
Azure SQL Database Managed InstanceAzure SQL Database Managed Instance
Azure SQL Database Managed Instance
 
Azure SQL - more or/and less than SQL Server
Azure SQL - more or/and less than SQL ServerAzure SQL - more or/and less than SQL Server
Azure SQL - more or/and less than SQL Server
 
SQL Server 2016 - Always On.pptx
SQL Server 2016 - Always On.pptxSQL Server 2016 - Always On.pptx
SQL Server 2016 - Always On.pptx
 
AnalysisServices
AnalysisServicesAnalysisServices
AnalysisServices
 
In-memory ColumnStore Index
In-memory ColumnStore IndexIn-memory ColumnStore Index
In-memory ColumnStore Index
 
Migrating on premises workload to azure sql database
Migrating on premises workload to azure sql databaseMigrating on premises workload to azure sql database
Migrating on premises workload to azure sql database
 
Sql azure dec_2010 Lynn & Ike
Sql azure dec_2010 Lynn & IkeSql azure dec_2010 Lynn & Ike
Sql azure dec_2010 Lynn & Ike
 

More from Antonios Chatzipavlis

Workload Management in SQL Server 2019
Workload Management in SQL Server 2019Workload Management in SQL Server 2019
Workload Management in SQL Server 2019Antonios Chatzipavlis
 
Loading Data into Azure SQL DW (Synapse Analytics)
Loading Data into Azure SQL DW (Synapse Analytics)Loading Data into Azure SQL DW (Synapse Analytics)
Loading Data into Azure SQL DW (Synapse Analytics)Antonios Chatzipavlis
 
Building diagnostic queries using DMVs and DMFs
Building diagnostic queries using DMVs and DMFs Building diagnostic queries using DMVs and DMFs
Building diagnostic queries using DMVs and DMFs Antonios Chatzipavlis
 
Designing a modern data warehouse in azure
Designing a modern data warehouse in azure   Designing a modern data warehouse in azure
Designing a modern data warehouse in azure Antonios Chatzipavlis
 
Modernizing your database with SQL Server 2019
Modernizing your database with SQL Server 2019Modernizing your database with SQL Server 2019
Modernizing your database with SQL Server 2019Antonios Chatzipavlis
 
Implementing Mobile Reports in SQL Sserver 2016 Reporting Services
Implementing Mobile Reports in SQL Sserver 2016 Reporting ServicesImplementing Mobile Reports in SQL Sserver 2016 Reporting Services
Implementing Mobile Reports in SQL Sserver 2016 Reporting ServicesAntonios Chatzipavlis
 
Dynamic data masking sql server 2016
Dynamic data masking sql server 2016Dynamic data masking sql server 2016
Dynamic data masking sql server 2016Antonios Chatzipavlis
 

More from Antonios Chatzipavlis (20)

Data virtualization using polybase
Data virtualization using polybaseData virtualization using polybase
Data virtualization using polybase
 
SQL server Backup Restore Revealed
SQL server Backup Restore RevealedSQL server Backup Restore Revealed
SQL server Backup Restore Revealed
 
Migrate SQL Workloads to Azure
Migrate SQL Workloads to AzureMigrate SQL Workloads to Azure
Migrate SQL Workloads to Azure
 
Machine Learning in SQL Server 2019
Machine Learning in SQL Server 2019Machine Learning in SQL Server 2019
Machine Learning in SQL Server 2019
 
Workload Management in SQL Server 2019
Workload Management in SQL Server 2019Workload Management in SQL Server 2019
Workload Management in SQL Server 2019
 
Loading Data into Azure SQL DW (Synapse Analytics)
Loading Data into Azure SQL DW (Synapse Analytics)Loading Data into Azure SQL DW (Synapse Analytics)
Loading Data into Azure SQL DW (Synapse Analytics)
 
Introduction to DAX Language
Introduction to DAX LanguageIntroduction to DAX Language
Introduction to DAX Language
 
Building diagnostic queries using DMVs and DMFs
Building diagnostic queries using DMVs and DMFs Building diagnostic queries using DMVs and DMFs
Building diagnostic queries using DMVs and DMFs
 
Exploring T-SQL Anti-Patterns
Exploring T-SQL Anti-Patterns Exploring T-SQL Anti-Patterns
Exploring T-SQL Anti-Patterns
 
Designing a modern data warehouse in azure
Designing a modern data warehouse in azure   Designing a modern data warehouse in azure
Designing a modern data warehouse in azure
 
Modernizing your database with SQL Server 2019
Modernizing your database with SQL Server 2019Modernizing your database with SQL Server 2019
Modernizing your database with SQL Server 2019
 
SQLServer Database Structures
SQLServer Database Structures SQLServer Database Structures
SQLServer Database Structures
 
Sqlschool 2017 recap - 2018 plans
Sqlschool 2017 recap - 2018 plansSqlschool 2017 recap - 2018 plans
Sqlschool 2017 recap - 2018 plans
 
Statistics and Indexes Internals
Statistics and Indexes InternalsStatistics and Indexes Internals
Statistics and Indexes Internals
 
Implementing Mobile Reports in SQL Sserver 2016 Reporting Services
Implementing Mobile Reports in SQL Sserver 2016 Reporting ServicesImplementing Mobile Reports in SQL Sserver 2016 Reporting Services
Implementing Mobile Reports in SQL Sserver 2016 Reporting Services
 
Auditing Data Access in SQL Server
Auditing Data Access in SQL ServerAuditing Data Access in SQL Server
Auditing Data Access in SQL Server
 
Exploring sql server 2016 bi
Exploring sql server 2016 biExploring sql server 2016 bi
Exploring sql server 2016 bi
 
Dynamic data masking sql server 2016
Dynamic data masking sql server 2016Dynamic data masking sql server 2016
Dynamic data masking sql server 2016
 
Row level security
Row level securityRow level security
Row level security
 
Troubleshooting sql server
Troubleshooting sql serverTroubleshooting sql server
Troubleshooting sql server
 

Recently uploaded

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoffsammart93
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024The Digital Insurer
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024The Digital Insurer
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)wesley chun
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...Neo4j
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Scriptwesley chun
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 

Recently uploaded (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 

Introduction to sql database on azure

  • 1.
  • 2. What is SQL Database? Introduction to SQL Database Athens Feb 24, 2017
  • 3. PresenterInfo 1982 I started working with computers 1988 I started my professional career in computers industry. 1996 I started working with SQL Server 6.0 1998 I earned my first certification at Microsoft as Microsoft Certified Solution Developer (3rd in Greece) I started my career as Microsoft Certified Trainer (MCT) with more than 30.000 hours of training until now! 2010 I became for first time Microsoft MVP on Data Platform I created the SQL School Greece www.sqlschool.gr 2012 I became MCT Regional Lead by Microsoft Learning Program. 2013 I was certified as MCSE : Data Platform & MCSE : Business Intelligence 2016 I was certified as MCSE: Data Management & Analytics Antonios Chatzipavlis SQL Server Expert & Evangelist MCT, MCSE, MCITP, MCPD, MCSD, MCDBA, MCSA, MCTS, MCAD, MCP, OCA, ITIL-F
  • 4. SQLschool.gr Μια πηγή ενημέρωσης για τον Microsoft SQL Server προς τους Έλληνες IT Professionals, DBAs, Developers, Information Workers αλλά και απλούς χομπίστες που απλά τους αρέσει ο SQL Server. @antoniosch / @sqlschool fb/sqlschoolgr / fb/groups/sqlschool yt/c/SqlschoolGr SQL School Greece group Follow us in socials help@sqlschool.gr Help line • Articles about SQL Server • SQL Server News • SQL Nights • Webcasts • Downloads • Resources What we are doing here
  • 5.  Sign up for a free membership today at sqlpass.org.  Linked In: http://www.sqlpass.org/linkedin  Facebook: http://www.sqlpass.org/facebook  Twitter: @SQLPASS  PASS: http://www.sqlpass.org
  • 6.
  • 7. PresentationContent  What is SQL Database on Azure?  SQL Database Service Tiers  Database Transaction Units  Azure SQL Database logical server  Management Tools for SQL Database  Securing your SQL Database
  • 8. What is SQL Database on Azure?
  • 9.  It’s a relational database service in the Microsoft cloud based on the Microsoft SQL Server engine  It’s capable of handling mission-critical workloads.  It delivers predictable performance at  Multiple service levels  Dynamic scalability with no downtime  Built-in business continuity  Data protection  All with near-zero administration  These capabilities allow you to focus on rapid app development  SQL Database supports existing SQL Server tools, libraries, and APIs What is SQL Database on Azure?
  • 10. SQL Database Features Feature SQL Server Azure SQL Database Active Geo-Replication Not supported - see AlwaysOn Availability Groups Supported AlwaysEncrypted Supported Supported AlwaysOn Availability Groups Supported Not supported - See Active Geo-Replication Attach a database Supported Not supported Application roles Supported Supported Auto scale Not supported Supported Azure Active Directory Not supported Supported Azure Data Factory Not supported - see SQL Server Integration Services(SSIS) Supported Auditing Supported Supported BACPAC file (export) Supported Supported BACPAC file (import) Supported Supported BACKUP and RESTORE statements Supported Not supported Built-in functions Supported Most Change data capture Supported Not supported Change tracking Supported Supported Collation statements Supported Supported Columnstore indexes Supported Premium edition only Common language runtime (CLR) Supported Not supported Contained databases Supported Built-in Contained users Supported Supported Control of flow language keywords Supported Supported Cross-database queries Supported Elastic queries Cursors Supported Supported Data compression Supported Supported Database backups Exposed for users Built-in Database mail Supported Not supported Database mirroring Supported Not supported Database configuration options Supported Supported Data Quality Services(DQS) Supported Not supported Database snapshots Supported Not supported Data types Supported Supported DBCC statements All Some DDL statements Supported Most DDL triggers Supported Database only Distributed transactions MS DTC Limited intra-SQL Database scenariosonly DML statements Supported Most DML triggers Supported Supported DMVs All Some elastic pools Not supported Supported Elastic jobs Not supported - see SQL Server Agent Supported Elastic queries Not supported - see Cross-database queries Supported Event notifications Supported Supported Expressions Supported Supported Extended events Supported Some Extended stored procedures Supported Not supported File groups Supported Primary only Filestream Supported Not supported Full-text search Supported Not supported third-party word breakers Functions Supported Most In-memory optimization Supported Premium edition only Jobs SQL Server Agent Supported JSON data support Supported Supported Language elements Supported Most Linked servers Supported Not supported - see Elasticquery Log shipping Supported Not supported - see Active Geo-Replication Management commands Supported Not supported Master Data Services(MDS) Supported Not supported Minimallogging in bulk import Supported Not supported Modifying system data Supported Not supported Online index operations Supported Transaction size limited by service tier Operators Supported Most Point in time database restore Supported Supported Polybase Supported [Not supported] Policy-based management Supported Not supported Predicates Supported Most Resource governor Supported Built-in Restore database from backup Supported From built-in backups only Row LevelSecurity Supported Supported Security statements Supported Some Semanticsearch Supported Not supported Sequence numbers Supported Supported Service Broker Supported Not supported Server configuration options Supported Not supported - see Database configuration options Set statements Supported Most Spatial Supported Supported SQL Server Agent Supported Not supported - See Elasticjobs SQL Server AnalysisServices(SSAS) Supported Not supported - see Azure Analysis Services SQL Server Integration Services(SSIS) Supported Not supported - see Azure Data Factory SQL Server PowerShell Supported Supported SQL Server Profiler Supported Not supported - see Extended events SQL Server Replication Supported Transactionaland snapshot replication subscriber only SQL Server Reporting Services(SSRS) Supported Not supported Stored procedures Supported Supported System stored functions Supported Some System stored procedures Supported Some System tables Supported Some System views Supported Some Table Partitioning Supported Primary filegroup only Temporary tables Localand global Localonly Temporaltables Supported Supported Transaction statements Supported Supported Variables Supported Transparent data encryption (TDE) Supported Supported Windows Server Failover clustering Supported Not supported - See Active Geo-Replication XML indexes Supported Supported XML statements Supported Supported https://docs.microsoft.com/en-us/azure/sql-database/sql-database-features Not supported features of SQL Server • Attach database • Backup – Restore statements • Change Data Capture • CLR • Database mail • Database Mirroring • Limited Distributed Transactions • Extended Stored Procedures • Only Primary Filegroup • Filestream • Linked Servers • Log Shipping • Online Index operations • Semantic search • Service Broker • SQL Server Agent (Elastic Jobs)
  • 14. Service Tiers Basic Standard Premium Target workloads Best suited for a small database, supporting typically one single active operation at a given time. Examples include databases used for development or testing, or small-scale infrequently used applications. The go-to option for cloud applications with low to medium IO performance requirements, supporting multiple concurrent queries. Examples include workgroup or web applications. Designed for high transactional volume with high IO performance requirements, supporting many concurrent users. Examples are databases supporting mission critical applications.
  • 15. Single database service tiers and performance levels Basic Standard Premium S0 S1 S2 S3 P1 P2 P4 P6 P11 P15 Max DTUs 5 10 20 50 100 125 250 500 1000 1750 4000 Max database size in GB of data files (not log files) 2 250 250 250 250 500 500 500 500 1024 1024 Max in-memory OLTP storage in GB - - - - - 1 2 4 8 14 32 Max concurrent workers 30 60 90 120 200 200 400 800 1600 2400 6400 Max concurrent logins 30 60 90 120 200 200 400 800 1600 2400 6400 Max concurrent sessions 300 600 900 1200 2400 30000 30000 30000 30000 30000 30000 Price / hour € 0,0057 0,0017 0,034 0,085 0,17 0,5271 1,0541 2,1083 4,2165 7,9355 18,14
  • 18.  It’s a unit of measure of the resources that are guaranteed to be available to a single Azure SQL database at a specific performance level within a single database service tier.  It’s a blended measure of CPU, memory, and data I/O and transaction log I/O in a ratio determined by an OLTP benchmark workload designed to be typical of real-world OLTP workloads. What are Database Transaction Units (DTUs)? https://docs.microsoft.com/en-us/azure/sql-database/sql-database-benchmark-overview
  • 19.  If you are looking to migrate an existing on-premises or SQL Server virtual machine workload to Azure SQL Database, you can use the DTU Calculator to approximate the number of DTUs needed  For an existing Azure SQL Database workload, you can use SQL Database Query Performance Insight to understand your database resource consumption (DTUs) to get deeper insight into how to optimize your workload.  You can also use the sys.dm_db_ resource_stats DMV to get the resource consumption information for the last one hour.  Alternatively, the catalog view sys.resource_stats can also be queried to get the same data for the last 14 days, although at a lower fidelity of five-minute averages. How can I determine the number of DTUs needed by my workload?
  • 20.  If your workload is hitting the limits in one of CPU/Data IO/Log IO limits, you continue to receive the resources at the maximum allowed level, but you are likely to see increased latencies for your queries.  These limits do not result in any errors, but rather a slowdown in the workload, unless the slowdown becomes so severe that queries start timing out.  If you are hitting limits of maximum allowed concurrent user sessions/requests (worker threads), you see explicit errors. What happens when I hit my maximum DTUs?
  • 21.  Resource governance  Azure SQL Database behaves as if the database is running on its own machine, isolated from other databases. Resource governance emulates this behavior  If the aggregated resource utilization reaches the maximum available CPU, Memory, Log I/O, and Data I/O resources assigned to the database, resource governance queues queries in execution and assign resources to the queued queries as they free up  Enforcement of limits  Resources other than CPU, Memory, Log I/O, and Data I/O are enforced by denying new requests when limits are reached. Clients receive an error message depending on the limit that has been reached Azure SQL Database resource limits
  • 22. Azure SQL Database logical server
  • 23.  An Azure SQL Database logical server acts as a central administrative point for multiple databases  In SQL Database, a server is a logical construct that is distinct from a SQL Server instance that you may be familiar with in the on- premises world  Specifically, the SQL Database service makes no guarantees regarding location of the databases in relation to their logical servers, and exposes no instance-level access or features Azure SQL Database logical server
  • 24.  Is created within an Azure subscription, but can be moved with its contained resources to another subscription  Is the parent resource for databases, elastic pools, and data warehouses  Provides a namespace for databases, elastic pools, data warehouses  Is a logical container with strong lifetime semantics - delete a server and it deletes the contained databases, elastic pools, data warehouses  Participates in Azure role-based access control (RBAC); databases, elastic pools within a server inherit access rights from the server  Is a high-order element of the identity of databases and elastic pools for Azure resource management purposes (see the URL scheme for databases and pools)  Collocates resources in a region  Provides a connection endpoint for database access (.database.windows.net)  Provides access to metadata regarding contained resources via DMVs by connecting to a master database  Provides the scope for management policies that apply to its databases: logins, firewall, audit, threat detection, etc.  Is restricted by a quota within the parent subscription (six servers per subscription)  Provides the scope for database quota and DTU quota for the resources it contains (such as 45000 DTU in V12)  Is the versioning scope for capabilities enabled on contained resources (latest version is V12)  Server-level principal logins can manage all databases on a server  Can contain logins similar to those in instances of SQL Server on your premises that are granted access to one or more databases on the server, and can be granted limited administrative rights What is an Azure SQL Database logical server?
  • 25.  Authentication and authorization:  SQL authentication  Azure Active Directory Authentication (with certain limitations)  You can connect and authenticate to Azure SQL databases through the server's master database or directly to a user database  Windows Authentication is not supported.  TDS  Microsoft Azure SQL Database supports tabular data stream (TDS) protocol client version 7.3 or later.  TCP/IP  Only TCP/IP connections are allowed.  SQL Database firewall  To help protect your data, a SQL Database firewall prevents all access to your database server or its databases until you specify which computers have permission How do I connect and authenticate to an Azure SQL Database logical server?
  • 26. Management Tools for SQL Database
  • 27.  Azure portal  New SQL Database Query Editor  SQL Server Management Studio (SSMS)  SQL Server Data Tools (SSDT) in Visual Studio  PowerShell Management Tools for SQL Database
  • 28. Securing your SQL Database
  • 29.  Control Access  Firewall and firewall rules  Authentication using SQL Authentication or Azure AD  Authorization by user account’s database role memberships and object-level permissions  Row-level security  Data masking  Proactive monitoring  Auditing  Threat detection  Data masking  Compliance  ISO/IEC, CSA/CCM, ITAR, CJIS, HIPAA, IRS 1075 Securing your SQL Database
  • 30. Demo
  • 31.
  • 32.
  • 33. SELECT KNOWLEDGE FROM SQL SERVER Copyright © 2017 SQLschool.gr. All right reserved. PRESENTER MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION