Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

24

Transcript of Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

Page 1: Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.
Page 2: Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

Manage & Configure SQL Database on the CloudHaishi BaiTechnical EvangelistMicrosoft

Page 3: Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

A Continuous Offering From Private to

Public Cloud

PaaS SaaSPhysical Virtual IaaS

Windows Azure SQL Database

Page 4: Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

SQL Server in a Virtual Machine

Full SQL Server capability

Low TCO for existing apps

Flexibility & control

Managed infrastructure

Page 5: Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

Windows Azure SQL Database

Relational Data StorageRelational database as a serviceFully managedHigh availability, scalability, & global reachFamiliar language and framework support

Page 6: Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

Backend Node Replica 1

SQL DB

Backend Node Replica 2

SQL DB

Backend Primary Node

SQL DB

Inside Windows Azure SQL Database

Scalability and Availability: Fabric, Failover, Replication, and Load balancing

1 New Database Request

2Primary & Replica Databases Created

TDS Gateway

Front-end Node

TDS Session

Page 7: Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

Familiar and Consistent ToolsUse familiar technologiesSupports Transact-SQL

Supports popular languages.NET Framework (C#, Visual Basic, F#) via ADO.NET

C / C++ via ODBC

Java via Microsoft JDBC provider

PHP via Microsoft PHP provider

Supports popular frameworksOData, Entity Framework, WCF Data Services, NHibernate

Supports popular toolsSQL Server Management Studio (2008 R2 and later)

SQL Server command-line utilities (SQLCMD, BCP)

CA Erwin® Data Modeler

Embarcadero Technologies DBArtisan®

Page 8: Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

Clustered index on all tables

UnsupportedCommon Language Runtime (CLR)Distributed queriesDistributed transactionsTable partitionDatabase mirroringBackup and restore…(http://msdn.microsoft.com/en-us/library/windowsazure/ff394115.aspx)

Limitations

Page 9: Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

Migrate to Windows Azure SQL DatabaseDemo

Page 10: Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

SQL Database Management

Page 11: Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

Physical vs. Logical Administration

Instance

App Admin role places more focus on logical management

Security

Database

HA Configuration

Schema Creation & Management

Transparent Failovers

Load Balancing

Query Optimization

Page 12: Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

SQL Database Management PortalDemo

Page 13: Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

Diagnostics

Page 14: Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

Support some of SQL Server built-in DMVshttp://msdn.microsoft.com/en-us/library/windowsazure/ee336238.aspx

Requires VIEW DATABASE STATEGRANT VIEW DATABASE STATE TO database_user;

More to comeNew DMVs are being added based on user feedbacks

Dynamic Management Views (DMV)

Page 15: Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

Dynamic ManagementViews Demo

Page 16: Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

What’s coming?

Extended DMV supportsNew DMVs are being added based on user feedbacks

Database Extended EventsConsistent experience between on-premise and SQL Database troubleshooting

Event TableEvent table provides historical event logging inside the logical master

Page 17: Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

SQL Database Features

Page 18: Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

SQL Federation

Scale Out Your DataIntegrated database partitioningMulti-tenancy via flexible repartitioningAdd and remove database nodes seamlesslyEnables greater scalability and performanceDynamic partitioning with no downtime

Page 19: Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

SQL FederationDemo

Page 20: Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

SQL Reporting

Visualize Your DataReporting delivered as cloud serviceElastically scales with demandFamiliar tools & programming modelSecurely view & manage reports

Page 21: Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

SQL Data Sync

Synchronize Your DataDatabase synchronization as a serviceOn-premises & Azure SQL DatabaseConfiguration drivenElastically scales with demand

Azure SQL Databases

SQL Server (On-Premises)

Page 22: Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

Summaries

SQL Database Migration to Cloud

SQL Database Management Portal

DMVs, Extended Events, Event Table

Federation, Data Sync, Reporting

Page 23: Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

Contact me

[email protected]

blog.haishibai.com

@haishibai2010

Page 24: Manage & Configure SQL Database on the Cloud Haishi Bai Technical Evangelist Microsoft.

© 2012 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries.The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.