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

Post on 24-Dec-2015

215 views 0 download

Tags:

transcript

Manage & Configure SQL Database on the CloudHaishi BaiTechnical EvangelistMicrosoft

A Continuous Offering From Private to

Public Cloud

PaaS SaaSPhysical Virtual IaaS

Windows Azure SQL Database

SQL Server in a Virtual Machine

Full SQL Server capability

Low TCO for existing apps

Flexibility & control

Managed infrastructure

Windows Azure SQL Database

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

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

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®

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

Migrate to Windows Azure SQL DatabaseDemo

SQL Database Management

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

SQL Database Management PortalDemo

Diagnostics

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)

Dynamic ManagementViews Demo

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

SQL Database Features

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

SQL FederationDemo

SQL Reporting

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

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)

Summaries

SQL Database Migration to Cloud

SQL Database Management Portal

DMVs, Extended Events, Event Table

Federation, Data Sync, Reporting

Contact me

hbai@microsoft.com

blog.haishibai.com

@haishibai2010

© 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.