30 things to know about Microsoft Azure SQL Database
My notes from Microsoft Virtual Academy's Windows Azure SQL Database course:
- SQL Database is a Platform as a Service (PaaS) feature of Microsoft Azure. You can also run a on-premise SQL Server database on IaaS VM.
- In general, the smaller the database size and table size, the better the use case works for SQL Database (PaaS).
- SQL Database has 3 editions: Web, Business, Premium
- Web and Business offer relational databases run on shared resources, with built-in replicas within a datacenter. Web edition supports up to 5GB databases, and Business edition supports up to 150 GB databases.
- SQL Database Premium edition is charged based on the reservation size assigned to the database and storage volume of the database.
- SQL Database provides the same tabular data stream (TDS) interface as SQL Server. Therefore, you can use familiar tools and libraries to build client applications for data that is in the cloud.
- There are currently two Premium database sizes during preview. P2 offers twice the performance of P1
- You can change the maximum capacity or edition of SQL Database after it is created.
- By default, Windows Azure SQL Database supports up to 150 databases in each SQL Database server, including the master database. You can create up to 149 databases in each SQL Database server.
- Windows Azure SQL Database does not support tables without clustered indexes.
- Because Windows Azure SQL Database is a service, administration in Windows Azure SQL Database is slightly different.
- SQL authentication is supported but not Integrated authentication
- You can connect to master to administer logins
- loginmanager is the Server-level security role for creating logins
- dbmanager is the Server-level security role for creating databases
- You can add users to roles via sp_add_rolemember to grant privileges
- SQL Profiler cannot be used with SQL Database – Use DMVs instead.
- Currently there is no facility for standard point-in-time backup. Use CREATE DATABASE … AS COPY OF or export copy as BACPAC to Azure Blob Storage
- You can use Windows Azure Platform PowerShell cmdlets (or use REST API directly) to automate SQL Database server provisioning
- For securing your data, there is IP Address-based access control for SQL Database
- Firewall Rules can be defined at the server and/or database level
- No IP authorized by default to access the SQL database, not even Azure itself
- Firewall Rules are configurable using the SQL Database Portal and REST API
- There is an option to disable/enable access from applications hosted in Windows Azure
- Windows Azure SQL Database throttling ensures that one database cannot consume all available shared resources
- While using SQL Server Management Studio to manage a Windows Azure SQL database, you can utilize Object Explorer, Query Windows, Execution Plans but not SQL Agent, Management Plans, SSIS
- Microsoft Enterprise Library Transient Fault Handling Application Block can be used with SQL database, Windows Azure Service bus, Windows Azure Storage & Windows Azure Caching Service
- To migrate an existing SQL Server database to Windows Azure SQL Database, you can 1) generate a script from the existing Database or use 2) Microsoft Sync Framework 2.1 3) Data-tier Application Export and Import 4) SSIS 5) bcp 6) SQL Database Migration Wizard tool built by the community
- A SQL Database != A SQL Server. SQL Database has limitations you should be aware of especially if you're migrating your on-premise SQL Server database.
- Windows Azure SQL Database does not support distributed transactions, which are transactions that affect several resources.
A couple of slides from the 5 part course
Comments
Post a Comment