Cory FowlerIntermediate Web Developercory@syntaxc4.nethttp://blog.syntaxc4.netTwitter:@SyntaxC4LinkedIn:CoryFowlerMaking Data rain from the Cloudshttp://gettag.mobi
Why would I use SQL Azure?Eliminate Administration
Availability & Fault Tolerance
Geographical Distribution
Same Knowledge & ToolingSQL Azure ArchitectureSSLClient LayerService LayerPlatform LayerTDSODBCOSSProvisioningSQL ServerBilling/MeterAzure FabricToolsRoutingManagementManagementADOWCFInfrastructure Layer
Size Does Matter
Demo 1: Prep for the trip
Demo 2: Deploy! Deploy!
Demo 3: Expose your Data
Oh Hungry… ODataService UriResource PathQuery Options
Demo 4: ASP.NET Connection
Demo 6: Ruby Connection
Gotchas
 Codename “Dallas”
The Future…

Making data rain from the clouds version 2

Editor's Notes

  • #4 No Installation or Patching is Required.Have your DBAs working full time on Query OptimizationBest PracticesIt seems to you that you have 1 database:Multiple ReplicasSingle Primary  The database that is exposed to you2 ReplicasCopies of your Primary database on different machinesGeographical Distribution - Put your data where you need it.Best of all, your current knowledge & Tools can be used with SQL Azure (SQL 2008 +)There are only a few Things to watch for – I’ll cover them later on
  • #5 TDS – Tabular Data Stream – SQL Server Protocol for Communication between application and serverYour application *MUST* connect with SSL/HTTPS, unless otherwise configured.Tools: SQLCMD – Command Prompt SQL Client.BCP Utility – Command Prompt Based Backup ClientLinQPad - http://www.linqpad.netSupport:SSIS & SSAS – Must be using on premise Instance. (Sync)
  • #6 1GB -- 10 GB -- 50GB - SU3 (June)Need Middle Ground? Vertical Partioning - http://tinyurl.com/SQLAzureVP1Purchase Size you need and distribute tables across multiple databasesWill need SQLAzureHelper ClassForeign Keys not supported Cross Database.Related tables must be in the same DB
  • #7 Install SQL 2008 R2 – Trials available online.Enable Firewall in Web UIInstall SQL Data SyncIf Required
  • #8 Scripting Database – SQL Does *NOT* SupportANSI_NULLON [PRIMARY]User Defined Data TypesExtended PropertiesWindows AuthenticationSQL Data SyncDatabase cannot already be deployed to the cloud.
  • #9 SQL Azure Labs – https://www.sqlazurelabs.comThe ability to check off a few options and automatically expose your data via OData.WCF Data ServicesDeploy in Azure
  • #10 http://www.techdays.ca/odata.svc/http://www.techdays.ca/odata.svc/adx_eventspeakershttp://www.techdays.ca/odata.svc/adx_eventspeakers?$top=2
  • #13 Must Connect with SSL (Encrypted) Connection – 30 minute timeoutSSMS > Options > Connection PropertiesAvoid - SELECT * FROM [TABLE]You’re Paying for Data TransferUse Clustered Indexes – MUST HAVE AT LEAST ONEThis is for Maximum Performance for the Data Replication ModelGUID – Does *NOT* Support NEW SEQUENTIAL IDIf you love GUID for ID, You’ll need a ClustedIndex on another rowSELECT INTO *NOT* Supported
  • #14 Up until now I’ve been talking about your data.Our industry needs access to a lot of information in order to stay productive, Dallas is a way to provide that informationData sets can bePublicCommercialThis means companies can monetize their data.Dallas is build off of SQL Azure + Windows Azurehttp://www.microsoft.com/windowsazure/dallas/https://www.sqlazureservices.com/
  • #15 Spatial Data (GIS)Web Based Management System (Built in Silverlight)