Azure SQL Database – Scaling in and Scaling out with elastic pool Vitor Fava Azure SQL Database – Scaling in and Scaling out with elastic pool
Agenda What is Clour Computing? About SQL DB Service Tiers Elasticity
Module 0: Introduction Course ####y Vitor Fava MVP Data Platform Principal Database Architect at Vita Database Solutions Pass Chapter Leader at SQLManiacs SQL Server Database Consultant at Pythian Vitor.fava@vitadbsolutions.com http://vfava.wordpress.com http://www.youtube.com/vitortff https://groups.google.com/group/sqlmaniacs Welcome students to the course and introduce yourself. Provide a brief overview of your background to establish credibility. Ask students to introduce themselves and provide their backgrounds, product experience, and expectations of the course. Record student expectations on a whiteboard or flip chart that you can reference during class.
What is Cloud Computing? What is the cloud? Where is the cloud? Are we in the cloud now? Cloud computing means storing and accessing data and programs over the Internet instead of your computer's hard drive. Software-as-a-Service (SaaS) Infrastructure-as-a-service (IaaS) Platform-as-a-Service (PaaS)
What is Cloud Computing?
What is Cloud Computing?
What is SQL Database? Relational database service in the cloud based on the market-leading Microsoft SQL Server engine, with mission-critical capabilities. Delivers predictable performance, scalability with no downtime, business continuity and data protection—all with near-zero administration Focus on rapid app development and accelerating your time to market, rather than managing virtual machines and infrastructure. Because it’s based on the SQL Server engine, SQL Database supports existing SQL Server tools, libraries and APIs, which makes it easier for you to move and extend to the cloud.
Azure – Service Tiers
What is an Azure elastic database pool? Provide a simple cost effective solution to manage the performance goals for multiple databases that have widely varying and unpredictable usage. Elastic database pools ensure that databases get the performance resources they need, when they need it, while providing a simple resource allocation mechanism within a predictable budget Advantage of all of the underlying database as a service capabilities that are built into it: 99.99% SLA, multiple-high availability replica support built-in with no extra charges, no down-time during patching, geo-replication, point-in-time recovery, TDE encryption of data, row-level security, full-text search, https://msdn.microsoft.com/en-us/library/ms189457.aspx
What is an Azure elastic database pool? POOL eDTU - dictates the allocation of capacity (in terms of eDTUs) on the pool level. This should be determined based on the average utilization levels of all databases that belong to the pool. eDTU MIN - guarantees minimum transactional throughput (in terms of eDTUs) for every database in the pool (you can choose not to provide any guarantees by setting this value to 0). eDTU MAX - ensures that individual databases in the pool are able to gracefully handle peaks in resource demand, while minimizing impact on other databases sharing the same pool and without excessive over-provisioning. https://msdn.microsoft.com/en-us/library/ms189457.aspx
Elastic Pool Limits https://msdn.microsoft.com/en-us/library/ms189457.aspx
Which databases go in a pool? Databases that are great candidates for elastic database pools typically have periods of activity and other periods of inactivity. Databases with varying activity over time are great candidates for elastic pools because they are not all active at the same time and can share eDTUs. Databases that have a more constant resource demand are better suited to the Basic, Standard, and Premium service tiers where resources are individually assigned. https://msdn.microsoft.com/en-us/library/ms189457.aspx
Which databases go in a pool? https://msdn.microsoft.com/en-us/library/ms189457.aspx
Which databases go in a pool? https://msdn.microsoft.com/en-us/library/ms189457.aspx
Which databases go in a pool? https://msdn.microsoft.com/en-us/library/ms189457.aspx
Pool sizing recommendations Pools enable the developer to purchase elastic Database Transaction Units (eDTUs) for a pool shared by multiple databases to accommodate unpredictable periods of usage by individual databases SQL Database automatically evaluates the historical resource usage of databases in an existing SQL Database server and recommends the appropriate pool configuration in the Azure portal https://msdn.microsoft.com/en-us/library/ms189457.aspx
IT’S DEMO TIME!!!!!
Thank You! Vitor Fava @sqlservermaniac
Title Content
Title Only
Content Only
Title Content 1 Content 2