SQL Server 2012 Performance White Paper



Similar documents
Whitepaper: Solution Overview - Breakthrough Insight. Published: March 7, Applies to: Microsoft SQL Server Summary:

Server Consolidation with SQL Server 2008

SQL Server 2008 Performance and Scale

Columnstore Indexes for Fast Data Warehouse Query Processing in SQL Server 11.0

SQL Server 2012 Gives You More Advanced Features (Out-Of-The-Box)

Online Transaction Processing in SQL Server 2008

Parallel Data Warehouse

Enterprise and Standard Feature Compare

SQL Server Business Intelligence on HP ProLiant DL785 Server

SQL Server 2012 Optimization, Performance Tuning and Troubleshooting

Microsoft SQL Server 2008 R2 Enterprise Edition and Microsoft SharePoint Server 2010

Enterprise Performance Tuning: Best Practices with SQL Server 2008 Analysis Services. By Ajay Goyal Consultant Scalability Experts, Inc.

SAP HANA. SAP HANA Performance Efficient Speed and Scale-Out for Real-Time Business Intelligence

SQL Server 2008 Designing, Optimizing, and Maintaining a Database Session 1

Microsoft SQL Database Administrator Certification

MOC 20467B: Designing Business Intelligence Solutions with Microsoft SQL Server 2012

The IBM Cognos Platform

SQL Server 2005 Features Comparison

News and trends in Data Warehouse Automation, Big Data and BI. Johan Hendrickx & Dirk Vermeiren

SQL Server 2012 and PostgreSQL 9

50238: Introduction to SQL Server 2008 Administration

Oracle Database In-Memory The Next Big Thing

Microsoft Analytics Platform System. Solution Brief

CitusDB Architecture for Real-Time Big Data

Common Situations. Departments choosing best in class solutions for their specific needs. Lack of coordinated BI strategy across the enterprise

Faster Insights from Any Data Technical White Paper

Course Syllabus. At Course Completion

SQL Server 2008 Business Intelligence

SQL Server 2012 and MySQL 5

AV-005: Administering and Implementing a Data Warehouse with SQL Server 2014

SQL Server What s New? Christopher Speer. Technology Solution Specialist (SQL Server, BizTalk Server, Power BI, Azure) v-cspeer@microsoft.

How To Manage A Database Server 2012

Preview of Oracle Database 12c In-Memory Option. Copyright 2013, Oracle and/or its affiliates. All rights reserved.

MOC 20462C: Administering Microsoft SQL Server Databases

ORACLE BUSINESS INTELLIGENCE, ORACLE DATABASE, AND EXADATA INTEGRATION

Designing Business Intelligence Solutions with Microsoft SQL Server 2012 Course 20467A; 5 Days

SQL Server 2012 Parallel Data Warehouse. Solution Brief

Microsoft SQL Server 2012 Administration

Your Data, Any Place, Any Time. Microsoft SQL Server 2008 provides a trusted, productive, and intelligent data platform that enables you to:

LEARNING SOLUTIONS website milner.com/learning phone

Microsoft SQL Server: MS Performance Tuning and Optimization Digital

SQL Server Performance Tuning and Optimization

MS 20467: Designing Business Intelligence Solutions with Microsoft SQL Server 2012

Updating Your Microsoft SQL Server 2005 Skills to SQL Server 2008

PEPPERDATA IN MULTI-TENANT ENVIRONMENTS

Maintaining a Microsoft SQL Server 2008 Database

MS SQL Server 2014 New Features and Database Administration

IBM DB2 Near-Line Storage Solution for SAP NetWeaver BW

Your Data, Any Place, Any Time.

Innovative technology for big data analytics

SQL Server 2012 Business Intelligence Boot Camp

NetApp Big Content Solutions: Agile Infrastructure for Big Data

How To Use Hp Vertica Ondemand

Updating Your SQL Server Skills to Microsoft SQL Server 2014

PRODUCT OVERVIEW SUITE DEALS. Combine our award-winning products for complete performance monitoring and optimization, and cost effective solutions.

Explain how to prepare the hardware and other resources necessary to install SQL Server. Install SQL Server. Manage and configure SQL Server.

Oracle BI EE Implementation on Netezza. Prepared by SureShot Strategies, Inc.

2009 Oracle Corporation 1

Upgrading to Microsoft SQL Server 2008 R2 from Microsoft SQL Server 2008, SQL Server 2005, and SQL Server 2000

Toronto 26 th SAP BI. Leap Forward with SAP

Reporting Services. White Paper. Published: August 2007 Updated: July 2008

The Complete Performance Solution for Microsoft SQL Server

The IBM Cognos Platform for Enterprise Business Intelligence

IBM Cognos 10: Enhancing query processing performance for IBM Netezza appliances


SQL Azure vs. SQL Server

Einsatzfelder von IBM PureData Systems und Ihre Vorteile.

W I S E. SQL Server 2008/2008 R2 Advanced DBA Performance & WISE LTD.

When to Use Oracle Database In-Memory

Course. Overview. Length: 5 Day(s) Published: English. IT Professionals. Level: Type: Method: Delivery. Enroll now (CAL)

Designing Database Solutions for Microsoft SQL Server 2012

How To Handle Big Data With A Data Scientist

Business Intelligence in SharePoint 2013

Converged, Real-time Analytics Enabling Faster Decision Making and New Business Opportunities

6231B: Maintaining a Microsoft SQL Server 2008 R2 Database

Introduction. Part I: Finding Bottlenecks when Something s Wrong. Chapter 1: Performance Tuning 3

Microsoft SQL Server 2012: What to Expect

Administering Microsoft SQL Server 2012 Databases

Overview: X5 Generation Database Machines

$99.95 per user. SQL Server 2008/R2 Database Administration CourseId: 157 Skill level: Run Time: 47+ hours (272 videos)

Tap into Big Data at the Speed of Business

Tagetik Extends Customer Value with SQL Server 2012

Updating Your SQL Server Skills to Microsoft SQL Server 2014

SQL Server In-Memory by Design. Anu Ganesan August 8, 2014

6231A - Maintaining a Microsoft SQL Server 2008 Database

ORACLE OLAP. Oracle OLAP is embedded in the Oracle Database kernel and runs in the same database process

Report Model (SMDL) Alternatives in SQL Server A Guided Tour of Microsoft Business Intelligence

Dell Microsoft Business Intelligence and Data Warehousing Reference Configuration Performance Results Phase III

SharePlex for SQL Server

Big Data and Its Impact on the Data Warehousing Architecture

EMC/Greenplum Driving the Future of Data Warehousing and Analytics

COURSE SYLLABUS COURSE TITLE:

Server 2008 SQL. Administration in Action ROD COLLEDGE MANNING. Greenwich. (74 w. long.)

Five Technology Trends for Improved Business Intelligence Performance

Transcription:

Published: April 2012 Applies to: SQL Server 2012

Copyright The information contained in this document represents the current view of Microsoft Corporation on the issues discussed as of the date of publication. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information presented after the date of publication. This document is provided "as-is." Information and views expressed in this document, including URL and other Internet Web site references, may change without notice. You bear the risk of using it. This white paper is for informational purposes only. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED, OR STATUTORY, AS TO THE INFORMATION IN THIS DOCUMENT. This document does not provide you with any legal rights to any intellectual property in any Microsoft product. You may copy and use this document for your internal, reference purposes. Microsoft may have patents, patent applications, trademarks, copyrights, or other intellectual property rights covering subject matter in this document. Except as expressly provided in any written license agreement from Microsoft, the furnishing of this document does not give you any license to these patents, trademarks, copyrights, or other intellectual property. 2011-2012 Microsoft Corporation. All rights reserved. Microsoft, SQL Server, Windows Server, SharePoint, Excel are trademarks of the Microsoft group of companies. All other trademarks are property of their respective owners. 2

Table of Contents Introduction... 4 Generational Performance Leap... 4 xvelocity for Data Warehousing... 4 xvelocity for Business Intelligence... 6 Predictable Performance... 6 Consistent Performance, Even for Multitenant Environments... 6 Consistent Performance for Multiple Workloads... 7 Increased Resource Pools... 7 Affinitized Resource Pools... 7 Proactive Management Tools in a Single Console... 7 Data Collector... 7 Policy-Based Management... 8 SQL Server Profiler... 8 Speed and Scale Enhancements, Built into the Engine... 9 Support for up to 15,000 Partitions... 9 Enhancements to Full-Text Search... 9 Enterprise-Grade Compression Capabilities... 9 Increased Processing and Memory Support... 10 Conclusion... 10 3

Introduction Organizations today are facing an explosion in information volumes and data types. Gartner estimates that the total worldwide volume of data is growing at a rate of 59% per year and that 70-85% of data is unstructured 1. This represents a dramatic change in the amount and type of data that is consumed. To be productive today, organizations expect to access, analyze and share a wide range of data types at near instantaneous speeds. This is especially true as end users are increasingly accustomed to accessing and sharing unstructured data in real-time from nearly any source, including the Web, social media, and mobile devices. To meet this demand, a new level of performance and scalability is required of database systems, which must process very large data sets quickly. In this paper, we will cover the performance and scalability capabilities of SQL Server 2012. SQL Server 2008 delivered major enhancements to performance and scale and the new technologies in SQL Server 2012 take performance a generational leap forward, delivering a whole new level of performance, alongside a range of tools that help make that performance more consistent and predictable. We will closely examine how SQL Server 2012 helps customers manage the massive growth in data volume and complexity through major enhancements for predictable and next-generation performance. Generational Performance Leap In SQL Server 2012, Microsoft introduces xvelocity inmemory technologies that deliver a generational leap in performance for data warehousing and business intelligence workloads. xvelocity leverages major advances in performance technology to deliver inmemory column store index, vector-based query execution, and aggressive compression, that fundamentally change the level of performance that can be achieved for data warehousing and business intelligence scenarios. xvelocity for Data Warehousing xvelocity in-memory column store index is a new technology in SQL Server 2012 that enables massive 1 Source: Gartner Symposium Presentation Information Management Goes 'Extreme': The Biggest Challenges for 21st-Century CIOs, Mark Beyer, October 2011 4

gains in performance for data warehousing workloads. Column store indexes group and store data for each column and then join all the columns to complete the whole index. It builds a new view on top of existing tables and fetches only those columns needed, which requires less I/O, reduces CPU usage, and improves memory utilization. xvelocity in-memory column store index has proven to increase query performance by 10-100x 2 for star join and similar queries and can routinely give a tenfold speedup for a broad range of decision support queries. SQL Server is the first and only major database with this next-generation performance optimization. SQL Server column store index technology is especially appropriate for typical data warehousing data sets enabling significantly improved performance for common data warehousing queries such as filtering, aggregating, grouping, and star-join queries. The column store index can also help to reduce development costs and ETL times because it limits or eliminates the need to rely on pre-built aggregates, including user-defined summary tables, and indexed (materialized) views. The new vector-based query execution in SQL Server 2012 addresses a range of modern-day performance realities by reducing overhead, taking advantage of larger cache sizes, and limiting the number of CPU instructions. Vector-based queries are part of batch mode processing, which uses a new iterator model for processing data a-batch-at-a-time instead of a-row-at-a-time. Each column within a batch is stored as a vector in a separate area of memory. Batch mode processing uses algorithms that are optimized for the multicore CPUs and increased memory throughput that are found on modern hardware. Batch mode reduces overhead from metadata 2 http://www.microsoft.com/sqlserver/en/us/product-info/benchmarks.aspx 5

and other sources and operates on compressed data when possible. The result is better parallelism and faster performance for data warehousing workloads. xvelocity for Business Intelligence In SQL Server 2012, Microsoft is introducing xvelocity in-memory analytics engine on our standalone Analysis Services models, which offers major performance gains for business intelligence applications. This technology is based on the same engine behind PowerPivot, which was introduced by Microsoft in SQL Server 2008 R2. In Power Pivot, this in-memory analytics engine powered Excel to process hundreds of millions of rows with sub-second response time on nothing more than an end user s desktop PC. It leveraged aggressive compression and column-oriented storage to achieve high performance on personal desktops and enabled a fluid model development experience. In SQL Server 2012, xvelocity in-memory analytics engine takes the powerful technology that was developed for the desktop and applies it to the server, delivering a generational leap in performance for BI projects in the enterprise. The technology enables scan rates of 10s of billions of rows per second on typical industry hardware, and it delivers compression rates of up to 300x in Microsoft tests. The xvelocity in-memory analytics engine also benefits the IT department because it does not require manual hand query optimization, and it provides fine-grained security and data management capabilities, reducing the time to manage and administer the solution. Predictable Performance SQL Server 2012 offers capabilities built-in that help make performance more consistent and predictable. With enhancements to Resource Governor, you can better monitor and control the way different workloads utilize CPU and memory resources on SQL Server instances in a hosting or private cloud environment. SQL Server Management Studio provides familiar management tools for proactive troubleshooting and maintenance. In addition, new performance and scale enhancements are built into the SQL Server 2012 database engine, enabling improved support for the largest workloads. Consistent Performance, Even for Multitenant Environments Resource Governor Enhancements With the increasing trend toward server consolidation and multi-tenant environments found in private and public cloud environments, organizations need a way to ensure consistent performance across workloads and applications that share the same server. Managing resource 6

allocation in these scenarios can be complex. Dynamic Management Views in Resource Governor enable you to monitor and manage CPU and memory utilization in multi-tenant environments and even provide information and controls that can be helpful in chargeback scenarios. Resource limits can also be reconfigured in real time with minimal impact on workloads that are executing. Consistent Performance for Multiple Workloads In an environment where multiple distinct workloads are present on the same server, Resource Governor enables you to differentiate these workloads and allocate shared resources as they are requested based on the limits that you specify. This helps to ensure consistent performance for concurrent and mixed workloads. Increased Resource Pools A resource pool in the Resource Governor represents the physical resources of the server, and each resource pool can contain one or more workload groups. In SQL Server 2012, Resource Governor has increased the number of resource pools to 64, benefitting multi-tenant environments where resources need to be managed across a large number of distinct workload groups. Enabling a Hard Cap on Resource Usage In SQL Server 2012, Resource Governor enables you to create a hard cap on CPU resource usage. This is an important capability because it enables you to not only assign and monitor resources, but also to manage and enforce restrictions on resource usage. Affinitized Resource Pools Resource Governor enables you to affinitize your resource pools for CPU schedulers, groups of schedulers, and NUMA nodes. Proactive Management Tools in a Single Console SQL Server 2012 delivers new capabilities that help you perform proactive troubleshooting and administration with tools built into SQL Server Management Studio, such as Performance Data Collector, Policy-Based Management, and SQL Server Profiler. SQL Server Management Studio provides an integrated environment for accessing, configuring, managing, administering, and developing all components of SQL Server. It provides a single console for efficient management using a range of capabilities and familiar tools. Data Collector 7

The Data Collector in SQL Server 2012 provides a central point for data collection across your database servers and applications. The Data Collector is a system that can collect data from any T-SQL query, like DMVs, Windows Performance Counters, and the SQL Trace, and it bundles any selection of these items into a Collection Set, which can be configured to meet your requirements. Policy-Based Management Policy-Based Management enables you to define and enforce common, enterprise-wide policies for the SQL Server instances you manage throughout the organization. With this capability, you can create policies for the management of entities on a server, such as the instance of SQL Server, databases, or other SQL Server objects. Policy-based management can help to enable a number of useful scenarios, such as imposing the surface area configuration settings of one database instance to another, creating and enforcing naming convention policy, and supporting scalability by exporting and importing policies or by applying policies to a server group. SQL Server Profiler SQL Server Profiler gives you the ability to monitor and capture server events for real-time diagnosis. It does this by showing how SQL Server resolves queries internally, which enables you to see exactly what Transact-SQL statements or Multi-Dimensional Expressions are submitted to the server, and then how the server accesses the database or cube to return result sets. You can configure SQL Server Profiler to monitor only the events of interest to you, and you can filter traces based on the information you want, so that only a subset of the event data is collected. This is helpful when traces become too large. Monitoring too many events adds overhead to the server and the monitoring process, and can cause the trace file or trace table to grow very large, especially when the monitoring process takes place over a long period of time. Database Engine Tuning Advisor SQL Server Database Engine Tuning Advisor (DTA) helps to improve query processing by selecting and creating an optimal set of indexes, indexed views, and partitions without requiring an expert understanding of the structure of the database. Database Engine Tuning Advisor analyzes a workload and the physical implementation of one or more databases, and it can recommend adding, removing, or modifying physical design structures in your databases. The advisor can also recommend what statistics should be collected to back up physical design structures, such as clustered indexes, non-clustered indexes, indexed views, and partitioning. Multi-Server Management SQL Server 2012 includes multi-server management capabilities that improve insight into resource utilization to help identify potential issues and make proactive changes before 8

problems occur. SQL Server Management Studio provides dashboard and drilldown utilization views of instances and applications, and it enables quick set up and instance enrollment into a central control point. Policy evaluation and trending analysis of instances and applications enable you to gain the insight needed to ensure that resources are fully optimized. Speed and Scale Enhancements, Built into the Engine SQL Server 2012 provides new enhancements to performance and scale that are built into the engine. Support for up to 15,000 partitions enables large sliding window scenarios that make it easier to perform large scale data management. Enhancements to Full-Text Search help make it faster to query information across unstructured data. A range of additional enhancements offer a major boost to performance and scale, including statistical semantic search, enterprise-grade compression capabilities, and support for up to 640 cores and 4TB of memory. Support for up to 15,000 Partitions SQL Server 2012 offers expanded partition support from 1k to 15k, which enables large sliding windows scenarios. For applications like SAP, that take tens of thousands of snapshots of data in short periods of time, the length of time where data is held before it s pushed out to allow for new data to enter can be significantly extended. This makes managing large amounts of data easier, and it helps to maintain large sets within filegroups that need data switched in and out to meet the needs of the data warehouse. Enhancements to Full-Text Search Full-Text Search (FTS) provides powerful search capability within and across unstructured documents. Full-text queries perform linguistic searches of words and phrases based on the rules of a particular language. FTS underwent major performance improvements for 2012 with improved query execution and concurrent index update mechanisms. Additionally, layered on top of FTS is statistical semantic search, which uses algorithms in SQL Server to deliver results with high statistical relevance, based on search inquiries. SQL Server delivers this capability built right into the engine for the highest performance across large volumes of complex data types. Enterprise-Grade Compression Capabilities SQL Server 2012 continues to deliver enterprise-grade compression capabilities that can cut growing data volumes approximately 50-60% 3. This can help to dramatically speed performance for I/O intensive workloads because the data is stored in fewer pages, which means that queries need to read fewer pages from disk. 3 http://msdn.microsoft.com/en-us/library/bb964719(v=sql.100).aspx 9

Increased Processing and Memory Support Another major boost in performance in SQL Server 2012 can be gained with the ability to scale up to 640 cores and 4TB of memory. This helps provide the scalability and high-performance you need for very large workloads or consolidation scenarios using some of the industry s most powerful hardware. Conclusion SQL Server 2012 delivers built-in capabilities for predictable and next-generation performance to address today s most demanding applications and business requirements. xvelocity inmemory technologies enables a generational leap in performance with sub-second query responses, rapid column-oriented processing, and faster time to business insight. Meanwhile, enhancements to Resource Governor help enable improved visibility and control across workloads for multi-tenant environments. Powerful management tools, delivered in a familiar consolidated interface, help to proactively ensure consistent and predictable performance. A range of additional performance and scalability enhancements are built into the SQL Server database engine, including increased partition support, Full-Text Search improvements, and greater processing and memory capacity. Together, these capabilities help enable SQL Server 2012 to deliver a generational leap in performance, helping organizations to better manage massive volumes of data and information, and empowering information workers to gain new insights at the speed of thought. 10