3. sql services 概览
TRANSCRIPT
1
Azure™ Services Platform
SQL Services 介绍
杨刚Technical Manager万锐信息技术服务有限公司Email: [email protected]: [email protected]
2
议题SQL Data Services 概述
能力 , 数据模型 , 架构数据同步概述
Project Huron, Data Hubs, 可扩展性BI 概述
报表 , 数据挖掘 , ETL
3
Microsoft Cloud Services
Azure™ Services Platform
Database Data Sync Reference Data
ETL Data Mining Reporting
4
SQL Data Services
云端的虚拟数据库不同于托管的数据库
使用 SQL Server 技术为基础分布式结构的 SQL Sever 节点来对你的数据进行查询,存储等处理。高可用性和扩展性架构基于节点间的分区和复制
5
SDS 和 Azure 存储
Data Spectrum
Dat
a Ca
pabi
lity
File System
Rich DataServices
Blobs Relational Data
SDS
Windows Azure
6
SDS 的发展
Evol
ves
SDS Next
TDS + TSQL Model
Web App
SQL Client*
Windows Azure
BrowserApplication
Application
REST Client
REST (Astoria)
ADO.Net + EF
Application
SQL Client*
Cloud
HTT
P
HTT
P+RE
ST
TDS
* Client access enabled using TDS for ODBC, ADO.Net, OLEDB, PHP-SQL, Ruby, …
Dat
a Ce
nter
ODBC, OLEDB, ADO.Net PHP, Ruby, …
SDS Current
REST/SOAP + ACE Model
Web App
REST Client
Windows Azure
BrowserApplication
Application
REST Client
HTT
P
HTT
P+RE
ST
Dat
a Ce
nter
Cloud
7
SDS 提供了什么 ?可用性 和敏捷性
到处可见的连接容易提供,灵活的数据模型
立即扩展存储多种数据多种流量
可靠性关键数据不会被丢失复制,备份
安全性保证数据的机密性丰富的验证和授权
成本效率低投入和运营花费
8
SDS 消灭了什么 ?
购买数据中心的存储空间配置数据库服务器
配置物理存储 (datafiles, redo logs, control files)配置逻辑存储 (tablespaces, schemas, extents, …)
管理硬件计算 DB Server(memory, CPU, …)安装软件打补丁诊断和解决问题
9
数据 & 运营模型数据模型 运营模型
Current Authority, Container, Entity (ACE) Model Flex Entities
Flexibility for multi-tenant applications Flexibility for applications where the content is being
created by users High performance scalability
Structure imposed by application
Current Rapid provisioning of accounts, authorities
and containers Relational query capabilities Accessible via internet-friendly
protocols and formats
Future More flexible organization of containers Additional data types & shapes
Nesting, hierarchy Schema support
Type checking, storage optimizations, inheritance, schema update
Relationships links, integrity constraints
Future Relational functionality
Joins, projection, aggregates Sub-queries
Distributed query Claims based authentication and authorization Geo-services
Distribution, hosting, redundancy
10
ACE 模型授权
Unit of geo-location and billingTied to DNS name
容器Partition of DataWidest domain of QueryCollection of Heterogeneous Entities
实体Property bag of name/value pairsLightly-typedUnit of update/retrievalSchema-less, Flexible
Authority
Container
Entity
11
架构模式
Fabric Replication
客户端层
Mgmt. Services
Data Node
SQL Server
Fabric
Mgmt. Services
Data Node
SQL Server
Fabric
Mgmt. Services
Data Node
SQL Server
Fabric
Mgmt. Services
Data Node
SQL Server
Fabric
Distributed SQL Data Cluster
Mgmt. Services
Data Node
SQL Server
Fabric
Mgmt. Services
SQL Server
Fabric
Data Node Data Node
SDS 服务层
存储层
[ADO.Net client]
REST SOAP
SDS Runtime
Microsoft Global Foundation Services
12
SDS Service & SDS Tools
demoData model
13
读取数据https://myauthority.data.database.windows.net/v1/mycontainer/myentity
14
写数据https://myauthority.data.database.windows.net/v1/mycontainer/myentity
15
查询模型• Textual query language through web-service head, passed in as
literal text string
• Language patterned after C# LINQ syntaxfrom e in entities.OfKind(“BlogEntry”)
where e[“Tag”] == “SDS” && e[“Posted”] >= DateTime(“2008-10-18”) && e[“IsPublic”] == true
select e
• Operator semantics handles variant values• e[“Posted”] could be DateTime in one entity and string in another
• e[“Tag”] == “CUSTOMER” means look for instances where Tag is a string and has value “CUSTOMER”. i.e. type inference using literal syntax
• Query supported over metadata and data properties• Ex: e.Id vs. e[“EntryId”]
16
查询操作查询模型支持
Simple boolean operators <, >, <=, >=, !=, ==, …Projection of full entity, no shaping or constructionSimple Join within ContainerOrderBy and TOP operations
未来增强Aggregates (Count, Sum, GroupBy)Skip, robust pagingStarts-With, Ends-With()More SQL-like features
17
安全模型CTP 版本提供基础认证
简单认证 简单授权
未来与 Azure Access Control 集成支持全部 Access Control 认证提供丰富的授权方式
18
Using REST & SOAP Access Data
demoData model
19
Database Reference Data
ETL Data Mining Reporting
Data Sync
20
实现 Data Hub从多个数据源获得可靠的数据可以在手机用户,远程办公是和商业伙伴处共享数据允许云计算提供 BI, ETL, Reporting时一个高可用性和扩展性的端点
21
Data Hub
Public App
On Premises Assets and Data
Mobile Users
22
Microsoft Sync Framework
解决了同步的难题碰撞 , 回路 , 有效的变更跟踪
提供通用存储容易创建新的自定义行为
不了解传输 , 数据 和 存储 支撑“ Huron”
23
"Huron" 项目
Mobile Clients Rich Clients
“Huron” Sync Service
SDS
Direct Clients
sync subset
利用 SQL Data Services 实现海量伸缩性云端的商业数据可以与桌面和移动用户共享网络可用时进行同步每个用户并不必必须连接一个单独的数据库Out-of-the-box publication of Microsoft databasesSolves the rendezvous problem
25
Database Reference Data
ETL Data Mining Reporting
Data Sync
26
快速实现商务智能
SQL Server Analysis Server (SSAS)
SQL Server Integration Server (SSIS)
SSIS source component
for SSDS
Data Provider
SQL Server Report Server (SSRS)
投资可以平衡云端数据– e.g. Reporting and ETL新服务基于市场领先的 BI 平台– e.g. data mining service
27
数据挖掘
扩展 SSAS Table 分析工具Leverage data from SSDS or load data from Excel好处
Rich “attached service” for use in building sophisticated appsZero setup/adminFriction free capacity (multiple users)
Excel add-inAnalyze your spreadsheet data
Thin Client• Pull data directly from
SQL Server Data Services• Upload your CSV files
29
报表服务On-premises 提供者
可以从 SDS 和 on-premises 数据源中获得数据
平衡现有的流程和资源使用存在工具 tools & run-time灵活的报表构建器丰富的可视化
31
总结
SQL Services 实现新的场景数据平台的发展横跨设备和服务
同步 “ +” in Software + Services从数据中获得更多价值注册 http://www.azure.com 获得 CTP 版本
32
资源Azure Services Platformhttp://www.azure.comRyan Dunnhttp://dunnry.com/blog/Sync Bloghttp://blogs.msdn.com/syncSQL Labs Incubation Projectshttp://sqlserviceslabs.netSDS Team Bloghttp://blogs.msdn.com/ssds
33
Q & A
34
© 2008 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista 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.