Contenu connexe Similaire à SQL Azure Overview Similaire à SQL Azure Overview (20) SQL Azure Overview1. Microsoft SQL Azure
Overview
Chandana N. Athauda
Microsoft MVP Email : info@inzeek.net
C o n s u l t a n t | C e r t i f i e d Tr a i n e r Web : http://www.inzeek.net
2. Session Objectives
What is SQL Azure?
SQL Azure Network Topology
Why SQL Azure?
Variations from SQL Server
SQL Azure Database Client Access
Variations from SQL Server
SQL Azure Database
SQL Azure Reporting
SQL Azure Data Sync
References & Resources
© 2012 inZeek All Rights Reserved 2
3. What is SQL Azure?
In simple terms, moving SQL Server into the cloud. SQL Azure is a
cloud based relational database & services based on SQL Server
technology.
SQL Azure offers:
• SQL Azure Database (Relational database service)
• SQL Azure Reporting (Visualizing data)
• SQL Azure Data Sync (bi-directional data synchronizations)
© 2012 inZeek All Rights Reserved 3
4. What is SQL Azure?
SQL Azure provides a relational database service called Microsoft SQL
Azure Database, a report generation service called Microsoft SQL Azure
Reporting, a data synchronization service called SQL Azure Data Sync,
and a web based database administration and design interface to
manage all above mentioned services in 8 data centers around the
world.
North Center US
South Center US
East US
West US
North Europe
Central Europe
Asia Pacific
Southeast Asia
© 2012 inZeek All Rights Reserved 4
6. Why SQL Azure Database?
This is where SQL Azure comes as database-as-a-service. It is an elastic
database platform which provides you the facility to instantly increase or
decrease your database server capacity and most importantly you only pay for
what you use (pay as you go). And also it does provide you manageability, high
availability, scalability, a familiar development model, and a relational data
model.
Manageability - SQL Azure database offers the scale and functionality of an enterprise
data center without the administrative overheads (self-managing capability).
High Availability - SQL Azure Database is runs on Windows Server and SQL Server
technologies. The SQL Azure service replicates multiple redundant copies of data to
multiple physical servers and across world wide data centers to maintain data
availability with automatic failover.
Scalability - SQL Azure Database natively support scale-out and scale-in data after
doing the data partitioning. Simply it performs scale as your data grows. But pay-as-
you-grow pricing model allows you only pay for the storage that you use.
Familiar SQL Server relational model
Using existing APIs & Tools
Accessible from Java, PHP, Ruby, etc.
Etc.
© 2012 inZeek All Rights Reserved 6
7. SQL Azure Database Editions
Web Edition :
Best suited for small Web applications.
Maximum size of 1 or 5 GB of data.
Business Edition :
Best suited for independent software vendors (ISVs) or EEnterprise applications.
Database is up to 150 GB of data, in 10GB increments up to 50GB, and then 50 GB
increments.
Web
Edition
Select Database
Less than
Location of data
10GB?
center
Business
Edition
© 2012 inZeek All Rights Reserved 7
8. Variations from SQL Server
SQL Azure source database must be based on SQL Server 2008 or higher.
Only supports SQL Server Authentication, not the Windows Authentication.
SQL Azure does not support heaps. Clustered Index required.
Unable to write cross-database reference code.
There is no SQL Server Agent in SQL Azure.
Unable to access linked servers in SQL Azure.
Certain Transact-SQL commands are fully supported; some are partially
supported while others are unsupported.
Transactional Replication, Log Shipping, Database Mirroring not supported.
Accessing SQL Azure over wire is same as SQL server using TDS but SSL is
required.
Must specific the IP range. SQL Azure has built-in firewall which blocks all
external IP’s.
© 2012 inZeek All Rights Reserved 8
9. SQL Azure Database Client Access
Application Code Web based Clients
ADO.NET/ODBC/PHP Browser, Silverlight, Etc.
Internet
TDS over SSL Windows Azure
Application Code
ADO.NET/ODBC/PHP
TDS over SSL
SQL Azure Database
© 2012 inZeek All Rights Reserved 9
10. SQL Azure Reporting Service
Microsoft SQL Azure Reporting is a cloud-based reporting service built on SQL
Azure and SQL Server Reporting Services technologies and core feature of
Windows Azure business intelligence (BI). By using SQL Azure Reporting, you
can easily provision and deploy reporting solutions to the cloud. We can use
SQL Azure Reporting to add a rich reporting experience to applications running
on-premise or in the cloud and most importantly we can author reports using
familiar Reporting Services SQL Server tools. And also SQL Azure Reporting
Service works the same as SQL Server Reporting Service.
*Image courtesy of David Pallmann © 2012 inZeek All Rights Reserved 10
11. SQL Azure Reporting Service
Client application Report Viewer
Business Intelligence Control
interfacing with SOAP
Development Studio /
endpoints of SQL Azure
Visual Studio 2011 On-premises Application
reporting web services Web Browser
Report Server Report Viewer
Manage Reporting View Reports Control
Windows Azure
Reporting Portal Windows Azure
Reports
Application
Windows Azure Reporting
Retrieve Data
Source Data
for Reports
SQL Azure Database
© 2012 inZeek All Rights Reserved 11
12. Variations from SQL Server Reporting (SSRS)
Creating subscriptions or schedule report snapshots or histories is not
supported.
Creating SMDL report models is not supported.
Creating reports from Report Builder 1.0, Report Builder 2.0, and Report
Builder 3.0 is not supported.
Report Manager is not available. But SQL Azure Reporting portal provides
same features.
Use only the SQL Azure data source type.
Use only SQL Server Authentication.
Report external image is not supported.
No extensions are supported in this release.
Permissions to reports and report-related items are controlled by role
assignment.
© 2012 inZeek All Rights Reserved 12
13. SQL Azure Data Sync
SQL Azure Data Sync is a web service (hosted on Microsoft SQL Azure) that you
use to keep your data scheduled bi-directional synchronized (cloud to cloud, on
premises to cloud) across multiple servers in different locations without writing
a single line of code. Microsoft SQL Azure Data Sync is built upon the Microsoft
Sync Framework.
A SQL Azure Data Sync service is ideal for implementing hybrid cloud scenario
and it does allow you to get data where you need it:
Sync SQL Azure instances
Sync SQL Server to SQL Azure
Sync offline apps to SQL Azure
Enable geo-replication of data
© 2012 inZeek All Rights Reserved 13
14. SQL Azure Data Sync
SQL Azure
Database
SQL Azure
Retail Stores Data Sync Remote Offices
Services
Sync
On-Premises (Headquarters)
*Image courtesy of Eric Nelson @ Microsoft © 2012 inZeek All Rights Reserved 14
15. SQL Azure Data Sync
Key Features :
Scale - Service scales as resources requirements grow.
No-Code Sync Configuration - Easily define data to be synchronized and locations.
Schedule Sync - Choose how often data is synchronized.
Conflict Handling - Detect and resolve conflicts caused by the same data being
changed in multiple locations.
Logging and Monitoring - Administration capabilities for tracking usage.
Cleanup Capabilities - Users can clean up their databases if the deprovisioning tasks
fail, Deprovisioning tool supports to remove data sync objects, etc.
What do I need in order to use SQL Azure Data Sync?
Windows Live ID
Active Windows Azure Account
Active SQL Azure subscription
If you are synchronizing with on premises SQL Server database, then must be SQL
Server 2005 SP3 or later.
© 2012 inZeek All Rights Reserved 15
16. References & Resources
Getting Started With SQL Azure Development :
http://blogs.msdn.com/b/socaldevgal/archive/2011/05/29/getting-started-with-sql-azure-
development.aspx
SQL Azure Labs :
http://www.microsoft.com/en-us/sqlazurelabs/default.aspx
SQL Azure Landing Page :
http://msdn.microsoft.com/en-us/library/windowsazure/gg619386.aspx
SQL Azure Tutorials :
http://sqlazuretutorials.com/
MSDN SQL Azure Forum :
http://social.msdn.microsoft.com/Forums/en-US/ssdsgetstarted/threads
© 2012 inZeek All Rights Reserved 16