Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

SQL Azure

715 views

Published on

Published in: Technology
  • Be the first to comment

  • Be the first to like this

SQL Azure

  1. 1. SQL Azure Pavlo Revenkov EPAM Cloud Computing Competency Center Email: pavlo_revenkov@epam.com Habrahabr: habrahabr.ru/users/risingstar/ Skype: rp_risingstar
  2. 2. Data management services 2 Web-role Worker-role Worker-role Worker-role Web-role Drive SQL Azure Blobs Tables Queues
  3. 3. Logical structure Subscription 3 SQL Azure Databases Storage Server DB 1 DB 1 DB 2 Cloud services Server DB 2 … … …
  4. 4. Characteristics • Up to 6 logical servers. Increasing is possible via contact support. • Up to 150 databases on each server. 1 system database “master” with metadata. • Database size restriction – 150 Gb: • Web Edition (1 – 5 Gb) • Business Edition (10 - 150 Gb). • Tabular data stream (TDS) protocol client version 7.3 or later (SQL Server 2008 R2). 4
  5. 5. Physical structure 5 TDS-endpoint SQL Azure Gateway Service SQL Server SQL Server SQL Server Cats Cats Cats Dogs Dogs Dogs Bears Bears Bears
  6. 6. 6 Microsoft® Microsoft® SQL Server SQL Azure - SQL/Windows authentication - SQL authentication - All index types - Clustered indexes - Many DBs – one connection - One DB – one connection - No scaling - Sharding - Server-side roles - Metadata DB roles - Server side firewall - Build-in Firewall - SQL Agent Jobs - SQL Azure Data Sync * - http://msdn.microsoft.com/en-us/library/windowsazure/ff394115.aspx
  7. 7. What else? • SQL Azure uses a quorum based commit scheme where data is written to the primary and one secondary replica before it considers the transaction committed. • Two variants of deployment: • Code near; • Code far. • SQL Azure Data Sync service provides synchronization of data between two or more SQL Databases. The databases can be in the same data center, different data centers or on-premises. 7
  8. 8. Migration You can transfer data to SQL Azure by using the following: • SQL Server Integration Services (SSIS): - Deploy/Execute SSIS packages; • Generate Script Wizard: • SQL Server 2008 R2 and higher only (schema + data). • SQL Server Migration Assistant (SSMA): • Sybase, Oracle, MySQL, Access. • Bulk Copy (BCP.exe): • System.Data.SqlClient.SqlBulkCopy class. Windows Azure SQL Database does not support: • The RESTORE statement; • Attaching a database to the SQL Database server. 8
  9. 9. Demo 9
  10. 10. References Inside Windows Azure SQL Database 10 General Guidelines and limitations of SQL Azure Compare SQL Server with SQL Azure
  11. 11. Questions? 11

×