200 likes | 355 Views
Questions?. Text Microsoft to 60300 Or Tweet # uktechdays. SQL Azure Highly available, scalable, multi-tenant database services in the cloud. Dr Keith Burns Data Architect Microsoft UK. Session Objectives and Takeaways. Session Objective(s): Get up to speed on SQL Azure
E N D
Questions? Text Microsoftto 60300 Or Tweet #uktechdays
SQL AzureHighly available, scalable, multi-tenant database services in the cloud. Dr Keith Burns Data Architect Microsoft UK
Session Objectives and Takeaways • Session Objective(s): • Get up to speed on SQL Azure • Learn about the new features in SQL Azure • Demonstration some working features in action • Determine whether SQL Azure is ready for your application
The Windows Azure Platform • Developer Experience • Use existing skills and tools Relational data Management platform Compute Storage Management AppFabric Flexible APIs Connectivity Access control Information Marketplace Reporting & BI Billing & Payments
Extending SQL Server to the Cloud Data Sync Reporting Business Intelligence Database Symmetric Programming Model and tools • At PDC – core RDBMS capabilities with SQL Azure Database • Future Offerings • Additional data platform capabilities: Reporting, BI • New services: Data and Web Services
SQL Azure SQL Azure delivers the value of hosted relational database with the differentiated benefits of a managed database as a utility Hosted RDBMS Managed RDBMS • SQL query processor • Familiar relational model • Transactions • Ecosystem of familiar development and management tools • Low-friction provisioning • High scale • Multi-tenant • Self-management • Automatic HA and DR
Customer Scenarios Departmental Collab. Apps Custom Web Applications Small customers or start ups with Web applications of all scale that have simple RDBMS needs • Departmental workgroup applications with low concurrency and cyclical usage patterns Packaged LOB Applications • ISVs extending offering or selling software hosted in the cloud
demo Provisioning and connection to SQL Azure
Architecture • Shared infrastructure at SQL database and below • Request routing, security and isolation • Scalable HA technology provides the glue • Automatic replication and failover • Provisioning, metering and billing infrastructure Machine 5 Machine 4 Machine 6 SQL Instance SQL Instance SQL Instance SQL DB SQL DB SQL DB UserDB1 UserDB1 UserDB1 UserDB2 UserDB2 UserDB2 UserDB3 UserDB3 UserDB3 UserDB4 UserDB4 UserDB4 SDS Provisioning (databases, accounts, roles, …), Metering, and Billing Scalability and Availability: Fabric, Failover, Replication, and Load balancing
Database Replicas Single Database Multiple Replicas Replica 1 Single Primary Replica 2 DB Multiple Secondaries Replica 3
Redundant Environment Scale Unit Scale Unit C D A B D Scale Unit Scale Unit C C B A A B D
Connection Model • Use existing client libraries • ADO.NET, ODBC, PHP • Client libraries pre-installed in Azure roles • Support for ASP.NET controls • Clients connect directly to a database • Cannot hop across DBs (no USE)
Logical vs. Physical Administration • SQL Azure focus on logical administration • Schema creation and management • Query optimization • Security management (Logins, Users, Roles) • Service handles physical management • Automatically replicated with HA “out of box” • Transparent failover in case of failure • Load balancing of data to ensure SLA DBA role places more focus on logical management
Deployment • Support for basic deployment options • SQL scripts work (but not attach database) • Co-location of Windows Azure compute and SQL Azure Databases • Support for Data Tier Applications • DACPAC is unit of deployment • Cloud or on-premise is a deployment time choice • Visibility of data across on-premise and the cloud Support existing and new forms of deployment
Security Model • Uses regular SQL security model • Authenticate logins, map to users and roles • Authorize users and roles to SQL objects • Support for standard SQL Auth logins • Username + password • Future AD Federation, WLID, etc as alternate authentication protocols Security model is 100% compatible with on-premise SQL
demo Developing using SQL Azure
Other features • SQL Azure Data Sync • oData services for SQL Azure
Futures • SU2 • MARS Support • SU3 June • Spatial Support • Copy database
For resources, decks and video: www.microsoft.com/uk/techdays SQL Azure: https://www.microsoft.com/windowsazure/sqlazure/ http://sql.azure.com http://www.sqlazurelabs.com Docs: http://msdn.microsoft.com/en-gb/sqlserver/ dataservices/default.aspx Team Blog:http://blogs.msdn.com/ssds/