4. Agenda
SQL Server 2014 in Azure VM
Deploy a database to SQL Server in a
WindowsAzure Virtual Machine
SQL Server Backup and Restore to Azure
Blob Storage Service
WindowsAzure SQL Database
WindowsAzure SQL Data Sync
How to choose
16. Backup and Restore
to Azure Blob Storage
DAC
bacpac dacpac
SQL
Server DB
SQL Server 2012 SP1 with cu2
http://blog.sanc.idv.tw/2013/08/windows-azure-sql-serverdacazureblob.html
24. Create Database…
Use Familiar Technologies
Transact-SQL
Languages
.NET Framework (C#, Visual Basic, F#) via ADO.NET
C / C++ via ODBC
Java via Microsoft JDBC provider
PHP via Microsoft PHP provider
Frameworks
OData, Entity Framework, WCF Data Services, NHibernate
Tools
SQL Server Management Studio (2008 R2 and later)
SQL Server command-line utilities (SQLCMD, BCP)
SQL Server Comparison
專注於邏輯 vs. 實體的管理
Database and log files自動放置
高可用性副本 – 每個資料庫都會自動放置三份
每個Table都需要建立clustered index
最大為150 GB
Unsupported SQL Server Features
使用命令,分佈式的transactions, 分佈式的views
Service Broker
Common Language Runtime (CLR)
SQL Agent
Native Encryption
*Backup / Restore
27. Database identity and access
control
.
dbo.
Database dbo .
CREATE / ALTER / DROP USER
sp_add_rolemember
28. Securing your
data IP SQL
Database
IP
SQL Database Portal
RESTAPI
disable/enable
WindowsAzure
29. SQL Database Management Portal
tables, views, stored procs
SQL Server Data Tools
(SSDT) Visual Studio IDE Database
SQL Server (2005 and above)
SQL Database
30. Connecting To SQL
Database
TDS (Tabular Data Stream) protocol
over TCP/IP
SSL
ASP.NET EXAMPLE:
<connectionStrings>
<addname="AdventureWorks"connectionString=
"Data
Source=[server].database.windows.net;
Integrated Security=False;
Initial Catalog=ProductsDb;
User Id=[login];
Password=[password];
Trusted_Connection=False;
Encrypt=true;"
providerName="System.Data.SqlClient"/>
</connectionStrings>
38. SQL Database vs. SQL Server in Azure
VM
是否需要完整兼容SQL Server產品
想要的控制權與成本
數據庫的規模與要求
http://blogs.msdn.com/b/windowsazure/archive/2012/06/26/data-series-sql-server-in-
windows-azure-virtual-machine-vs-sql-database.aspx
39. SQL Server inside Windows
Azure VM
Windows Azure
SQL Database
遷移現有的應用程式 快 中
建立新的應用程式 中 快
40. SQL Server inside
Windows Azure VM
Windows Azure
SQL Database
硬體管理 無 無
軟體管理 (Database & OS) 中 無
機器高可用性 自動 不需要
數據高可用性 需手動建立 內建標準功能
花費 中 低
41. Scale Model
SQL Server inside
Windows Azure VM
Windows Azure
SQL Database
Scale-Up
X-Large VM
(8 cores, 14GB RAM,
up to 16 TB disk space)
不支援
Scale-Out 需手動設定 內建功能
42. Control & Customize
SQL Server inside Windows
Azure VM
Windows Azure
SQL Database
OS and VM 完全控制 不可控制
SQL Server Database
兼容與功能
完整支援SSIS, SSAS, SSRS
較大的
SQL Server功能
44. Manageability
SQL Server inside
Windows Azure VM
Windows Azure SQL
Database
資源管理與安全級別 SQL Instance/VM Logical DB Server
工具支援
現有的SQL Server tools
包含SSMS,
System Center和SSDT
現有的SQL Server
tools 包含SSMS,
System Center和SSDT
Slide Objectives:Understand that while there are physical SQL Server boxes behind the scenes, when connecting to SQL Database, you are not connecting to a physical server, but to a TDS endpoint.Transition:The key to understanding SQL Database is understanding while SQL Database is SQL Server, we do not interact with them in the same physical manner. Speaking Points:In an on-premises environment, we typically have physical access to the actual SQL Server server.In Windows Azure, we do not have physical access to the actual server.Notes:It is important that the attendee understands that it IS INDEED SQL Server at the platform layer. There are physical boxes running SQL Server 2012 Enterprise Edition. However, due to the nature of the Azure environment to provide the high-availability and scalability necessary, access to the physical boxes is currently not supported.