windows azure sql database overview

22
Artemakis Artemiou SQL Server MVP CDNUG Lead INETA-Europe Country Leader (CY) http://aartemiou.blogspot.com Windows Azure SQL Database Overview - May 22, 2013 -

Upload: artemakis-artemiou

Post on 28-Nov-2014

1.534 views

Category:

Technology


1 download

DESCRIPTION

Windows Azure SQL Database (formerly SQL Azure) is a cloud database service provided by Microsoft through its cloud platform Windows Azure. In this session, SQL Server MVP Artemakis Artemiou goes through the key features of SQL Database and compares it with Microsoft SQL Server’s features.

TRANSCRIPT

Page 1: Windows Azure SQL Database Overview

Artemakis Artemiou

SQL Server MVP

CDNUG Lead

INETA-Europe Country Leader (CY)

http://aartemiou.blogspot.com

Windows Azure SQL

Database Overview

- May 22, 2013 -

Page 2: Windows Azure SQL Database Overview

Agenda

•Introducing Windows Azure SQL Database

•Architecture

•Key Features

•Security

•Administration

•Development

•…

•and lots and lots of demos!

“Windows Azure SQL Database Overview” by Artemakis Artemiou – 22/05/2013 – Slide 2

Page 3: Windows Azure SQL Database Overview

Introduction

•Windows Azure SQL Database

•Cloud database service from Microsoft

•Formerly SQL Azure

•*SQL Server on the Cloud

•Rich relational programming model/TDS

•Deployment with T-SQL DDL

•Windows Azure Management Portal

“Windows Azure SQL Database Overview” by Artemakis Artemiou – 22/05/2013 – Slide 3

Page 4: Windows Azure SQL Database Overview

DEMO

Windows Azure SQL Database

Management Portal

“Windows Azure SQL Database Overview” by Artemakis Artemiou – 22/05/2013 – Demo

Page 5: Windows Azure SQL Database Overview

Architecture:

Page 6: Windows Azure SQL Database Overview

Key Features (I) •Manageability •No administrative overheads

•Provisioning

•High Availability •Build on proven Windows Server and SQL Server technologies

•Redundant copies of the data to multiple physical servers

•Data availability and business continuity.

•Automatic failover

“Windows Azure SQL Database Overview” by Artemakis Artemiou – 22/05/2013 – Slide 6

Page 7: Windows Azure SQL Database Overview

Key Features (II) •Scalability

•Data partitioning / The service scales as the data

grows

•Pay-as-you-grow pricing model for storage

•Familiar Development Environment

•Tabular data stream (TDS) protocol

•Use the same tools and libraries to build client

applications as on-premise development

“Windows Azure SQL Database Overview” by Artemakis Artemiou – 22/05/2013 – Slide 7

Page 8: Windows Azure SQL Database Overview

Key Features (III) •Relational Data Model

•Data is stored by using Transact-SQL

•Same data model as in SQL Server

DB Server DBs Tables, Views, Stored Procedures,

indices, etc.

•Synchronization and Support for Offline

Scenarios

•Integration with Microsoft Sync Framework

•Ability to deploy a common data hub in the cloud

“Windows Azure SQL Database Overview” by Artemakis Artemiou – 22/05/2013 – Slide 8

Page 9: Windows Azure SQL Database Overview

Security •Same set of security principals that are

available in SQL Server with SQL Server

Authentication:

•SQL Server Logins

•Database Users

•Database Roles

•Firewall Rules

•IP Ranges

“Windows Azure SQL Database Overview” by Artemakis Artemiou – 22/05/2013 – Slide 9

Page 10: Windows Azure SQL Database Overview

DEMO

Security

“Windows Azure SQL Database Overview” by Artemakis Artemiou – 22/05/2013 – Demo

Page 11: Windows Azure SQL Database Overview

Administration (I) •Windows Azure SQL Database Firewall

•IP Ranges

•Managing Databases and Logins

•Using T-SQL

•The loginmanager Role

•The dbmanager Role

“Windows Azure SQL Database Overview” by Artemakis Artemiou – 22/05/2013 – Slide 11

Page 12: Windows Azure SQL Database Overview

Administration (II) •Migrating to Windows Azure SQL Database

•Export DDL Script Execute on Azure

•Using Microsoft Sync Framework 2.1

•Using Data-tier Application Export and Import

•Community Tool: SQL Database Migration Wizard

•Copying a Database

-- Execute on the master database

CREATE DATABASE Database1B AS COPY OF DB1;

CREATE DATABASE Database2A AS COPY OF Server1.DB1;

“Windows Azure SQL Database Overview” by Artemakis Artemiou – 22/05/2013 – Slide 12

Page 13: Windows Azure SQL Database Overview

Administration (III) •Backing Up a Database

•Create a Copy of the source database using

Database Copy

•Create a logical backup (BACPAC) file using SQL

Database Import/Export Service

•Create a logical backup (BACPAC) file using SQL

Server Management Studio

“Windows Azure SQL Database Overview” by Artemakis Artemiou – 22/05/2013 – Slide 13

Page 14: Windows Azure SQL Database Overview

DEMO

Administration

“Windows Azure SQL Database Overview” by Artemakis Artemiou – 22/05/2013 – Demo

Page 15: Windows Azure SQL Database Overview

Development (I) •Building and Hosting SQL Database

Applications

•Method 1:

•Host application code on-premises

•Host database in Windows Azure SQL Database

•Method 2 (minimizes network latency):

•Host application code in Windows Azure

•Host database in Windows Azure SQL Database

•Comment: It depends on the nature of your

application

“Windows Azure SQL Database Overview” by Artemakis Artemiou – 22/05/2013 – Slide 15

Page 16: Windows Azure SQL Database Overview

Development (II) •Transact-SQL Support

•A subset of Transact-SQL for SQL Server is supported

•SQL Server Database Engine features marked

for deprecation may not be supported in

Windows Azure SQL Database

•List of Supported/Unsupported T-SQL Features

•http://msdn.microsoft.com/en-

us/library/windowsazure/ee336250.aspx “Windows Azure SQL Database Overview” by Artemakis Artemiou – 22/05/2013 – Slide 16

Page 17: Windows Azure SQL Database Overview

Development (III) •Key Tools and Utilities Supported

• The sqlcmd Utility

• SQL Server Management Studio

• The Windows Azure Platform Management Portal

• The Management Portal for SQL Database

• Data-tier Applications

•Generate and Publish Scripts Wizard

• SQL Server Integration Services

• The bcp Utility

• SQL Server Analysis/Reporting Services

• SQL Reporting

• SQL Server Management Objects (SMO)

• SQL Server Migration Assistant (SSMA)

•Microsoft Access

• PowerPivot for Excel

“Windows Azure SQL Database Overview” by Artemakis Artemiou – 22/05/2013 – Slide 17

Page 18: Windows Azure SQL Database Overview

DEMO

Development / Reporting

“Windows Azure SQL Database Overview” by Artemakis Artemiou – 22/05/2013 – Demo

Page 19: Windows Azure SQL Database Overview

Summary •Windows Azure SQL Database: •Highly Scalable

•Highly Available

•No Administrative Overheads

•Pay-as-you-grow Pricing Model

•Familiar Development Environment

•Relational Data Model

•Use your Imagination: •Hybrid applications: Extend on-premises applications

•Build data hubs

•There are many uses for this technology!

“Windows Azure SQL Database Overview” by Artemakis Artemiou – 22/05/2013 – Slide 19

Page 20: Windows Azure SQL Database Overview

Resources •Windows Azure Official Website

•http://www.windowsazure.com

•Getting Started with Windows Azure SQL Database

•http://bit.ly/110JVL5

•CDNUG Website

•http://www.cdnug.net

•Blog

•http://aartemiou.blogspot.com

•YouTube Channel

•http://www.youtube.com/sqlserverdotnetblog

•Email: [email protected]

Page 21: Windows Azure SQL Database Overview

Q & A

Page 22: Windows Azure SQL Database Overview

Thank you for attending!

Please do not forget to leave your feedback at:

http://goo.gl/YQSSt