+ All Categories
Home > Documents > Introduction to SQL Azure via PHP

Introduction to SQL Azure via PHP

Date post: 25-Feb-2016
Category:
Upload: genero
View: 39 times
Download: 1 times
Share this document with a friend
Description:
Introduction to SQL Azure via PHP. Brian Swan PHP Developer Outreach, Microsoft @ brian_swan [email protected] http://blogs.msdn.com/brian_swan http://www.linkedin.com/in/brianeswan. The Windows Azure Platform. Developer Experience. Use existing skills and tools. Relational data. - PowerPoint PPT Presentation
Popular Tags:
15
Introduction to SQL Azure via PHP Brian Swan PHP Developer Outreach, Microsoft @brian_swan [email protected] http://blogs.msdn.com/brian_swan http://www.linkedin.com/in/brianeswan
Transcript
Page 1: Introduction to SQL Azure  via PHP

Introduction to SQL Azure via PHP

Brian SwanPHP Developer Outreach, Microsoft

@[email protected]

http://blogs.msdn.com/brian_swanhttp://www.linkedin.com/in/brianeswan

Page 2: Introduction to SQL Azure  via PHP

Developer ExperienceUse existing skills and tools

The Windows Azure Platform

platformAppFabric

Compute Storage Management Relational data Management Connectivity Access control Reporting & BI

Billing & Payments

Flexible APIs

Information Marketplace

Page 3: Introduction to SQL Azure  via PHP

SQL Azure DatabaseThe first true relational database as a service

Elastic Scale Developer Agility

Self-managed

• Database utility; pay as you grow

• Flexible load balancing• Business-ready SLAs• Enable multi-tenant

solutions• World-wide presence

• Easy provisioning and deployment

• Auto high-availability and fault tolerance

• Self-maintaining infrastructure; self-healing

• No need for server or VM administration

• Build cloud-based database solutions on consistent relational model

• Leverage existing skills through existing ecosystem of developer and management tools

• Explore new data application patterns

Page 4: Introduction to SQL Azure  via PHP

SQL AzureArchitecture

Page 5: Introduction to SQL Azure  via PHP

SQL AzureDeployment

Web Portal(API)

SQL AzureTDS

DB Script

Page 6: Introduction to SQL Azure  via PHP

SQL AzureAccessing databases

Web Portal(API)

SQL AzureTDS

Your App

Change Connection String

Page 7: Introduction to SQL Azure  via PHP

Database Replicas

Replica 1

Replica 2

Replica 3

DB

Single Database Multiple Replicas

Single Primary

Page 8: Introduction to SQL Azure  via PHP

SQL AzureDatabase Monitoring & Recovery

Web Portal(API)

SQL AzureTDS

Your App !

Page 9: Introduction to SQL Azure  via PHP

SQL Azure Features• Supported– Tables, Indexes, Views– Stored Procedures– Triggers– Constraints– Table Variables– Temp Tables (#Name)

• Not Supported– Physical Server Access – Catalog DDL– Common Language

Runtime– Service Broker– Reporting Services– Analysis Services– Distributed Transactions

and QueriesWhitepaper: SQL Azure vs. SQL Server

Page 10: Introduction to SQL Azure  via PHP

SQL Azure Pricing• Web Edition

• Up to 1 GB relational database = $9.99 / month • Up to 5 GB relational database = $49.95 / month**

• Business Edition• Up to 10 GB relational database = $99.99 / month • Up to 20 GB relational database = $199.98 / month**• Up to 30 GB relational database = $299.97 / month**• Up to 40 GB relational database = $399.96 / month**• Up to 50 GB relational database = $499.95 / month**

• Data transfers • $0.10 in / $0.15 out / GB - ($0.30 in / $0.45 out / GB in Asia)

* No charge for inbound data transfers during off-peak times through October 31, 2010** SQL Azure 50 GB Business Edition Database and 5 GB Web Edition Database will be available starting on June 28, 2010.

http://www.microsoft.com/windowsazure/offers/

Page 11: Introduction to SQL Azure  via PHP

PHP with SQL Azure• SQL Server Driver for PHP – Binaries: http://bit.ly/sqlsrvdriver – Source code: http://sqlsrvphp.codeplex.com/

• Supports PHP access to SQL Azure

• Features– Choose between SQL Server and SQL Azure by changing

connection string– Use from on-premises or in Windows Azure

Page 12: Introduction to SQL Azure  via PHP

SQL Server Driver for PHP - Architecture

Page 13: Introduction to SQL Azure  via PHP

Windows AuthenticationConnection poolingStreamingServer-side “scrollable” cursorsUTF-8 supportSQL Azure supportPDO support (Beta)

SQL Server Driver for PHP - Features

Page 14: Introduction to SQL Azure  via PHP

Demo


Recommended