Survey
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
• intended audience : – SQL DBA’s, SQL Server enthousiasts, non Azure Database developers • goal : – Enlight the most valueable aspects on Windows Azure SQL Database and all related material An evening in the cloud: The old, the new and the big Techmike2KX.wordpress.com @Techmike2KX [email protected] A quick intro to Windows Azure Cloud Services Cloud Platforms Public Cloud Platforms Platform as a Service (PaaS) Private Cloud Platforms Infrastructure as a service (IaaS) For Scalable Web Apps For Data-Driven Business Apps For Collaboration Apps Hosters Microsoft Dynamic infrastructure Toolkit for System Center (Hyper-V Cloud, AppFabric Server) Dynamic DataCenter Toolkit for Hosters (Hyper-V Cloud) Windows Azure Platform Dynamics CRM / xRM Online Office 365 Windows Live Hosters VMWare vSphere (ESX, vCenter) VMWare vCloud Initiative (ESX, vCenter) Others Web Services AmazonAmazon Web Services GoGrid Cloud Hosting, RackSPace, others Google AppEngine Saleforce.com Force.com Google Docs A SQL Database Architecture in Azure Single Database Three Replicas ! Replica 1 DB Replica 2 Replica 3 Replica 4 Single Primary Provisioning a SQL Database in Azure • supported : • partially supported : • unsupported : http://msdn.microsoft.com/en-us/library/ee336270.aspx http://msdn.microsoft.com/en-us/library/ee336267.aspx http://msdn.microsoft.com/en-us/library/ee336253.aspx Database Benefits Securing your data 1. 1. 2. 2. 3. 3. 4. <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> 5. 6. 7. 8. 9. BI Capable SQL Database in Azure http://server.reporting.windows.net/reports/report.rdl Monitor/Comm [SLA & Usage] Monitor/Comm [Performance] [Traces & [SLA Logs]& Usage] [Performance] [Traces & Logs] RS Engine RS Engine The cloud and Beyond HTTPS TDS Spring is in the Cloud Supported Versions SQL Server 2012, 2008 R2, 2008 Supported Features All SQL Server features supported except failover clustering * SQL Server Provisioning Cloud-first using stock images, bring your own server / VHD, capture cloud images SQL Server Licensing Pay by the hour or migrate your own license via Software Assurance ** Storage Recommendations Do not use write caching Avoid using OS drive for large databases Consider putting database and transaction log files on separate drives Consider putting tempdb on the non-persistent cache disk (D:\) Database Recommendations Consider using database page compression to reduce I/O High Availability Recommendations Consider latency between primary and replica when choosing sync mode SQL Server (IaaS) Windows Azure SQL Database (PaaS) Development Migrate Existing Apps Develop New Apps Management Full Control Managed Service Compatibility Full SQL Server Capabilities Based on SQL Server Technology Shared Technology Network transport (Tabular Data Stream) SQL dialect (Transact-SQL) Data access APIs (ADO.NET, ODBC, JDBC) Development tools (SQL Server Data Tools) Management tools (SQL Server Management Studio) Hybrid Public/Private Cloud Web Tier UI Process Components Active Directory SQL Reporting Service SQL Analysis Service SQL Service SQL Service Open User Access (Website) Web Role 1 SQL Service Internet Web Role 3 Active Directory Domain joined to OnPremises Network SharePoint FrontEndVM Persistent Role SharePoint FrontEndVM Persistent Role Internet On-Premises Machine DC DNS Persistent VM Role Persistent VM Role Search and Indes Persistent VM SQL Service Role Local DNS SQL Persistent VM Role SQL Persistent VM Role SQL Mirroring Web Role 2 On-Premises Machine Business Components & Entities Active Directory Warning! Hot and New!! 1. 2. 3. ALTER DATABASE SET RECURSIVE_TRIGGERS ON|OFF DBCC SHOW_STATISTICS [ WITH [ NO_INFOMSGS ] ] < option > :: = STAT_HEADER | DENSITY_VECTOR | HISTOGRAM | STATS_STREAM sp_set_database_firewall_rule -- create new database-level firewall setting for only IP 0.0.0.4 exec sp_set_database_firewall_rule N'Example DB Setting 1','0.0.0.4','0.0.0.4' -- update database-level firewall setting to also allow IP 0.0.0.5 exec sp_set_database_firewall_rule N'Example DB Setting 1','0.0.0.4','0.0.0.5' sys.database_firewall_rules sys.firewall_rules Bigger, Better, Bolder! • • • • Guidance Training Technical Docs Pricing, Licensing • • • • www.windowsazure.com Windows Azure Training Kit MSDN WA SQL Database home : http://msdn.microsoft.com/enus/library/windowsazure/ee336279.aspx • BI : https://www.windowsazure.com/enus/home/features/business-analytics/ • SQL : https://www.windowsazure.com/enus/manage/services/sql-databases/ Pricing, Licensing : https://www.windowsazure.com/enus/pricing/calculator Thank you for your attention!