Sofia Event Center 21-22 November 2013 Margarita Naumova www.SQLMasterAcademy.com.

Slides:



Advertisements
Similar presentations
new database engine component fully integrated into SQL Server 2014 optimized for OLTP workloads accessing memory resident data achive improvements.
Advertisements

Modeling and Maintaining Virtualized Services Microsoft System Center Virtual Machine Manager 2012 (c) 2011 Microsoft. All rights reserved.
1. SQL Server 2014 In-Memory by Design Arthur Zubarev June 21, 2014.
SSRS 2008 Architecture Improvements Scale-out SSRS 2008 Report Engine Scalability Improvements.
6 SQL Server Integration Same manageability, administration & development experience Integrated queries & transactions Integrated HA and backup/restore.
SQL Server 2014 – Features Drilldown Tara Shankar Jana Senior Premier Field Engineer (Microsoft)
Power BI Sites and Mobile BI. What You Will Learn Sharing and Collaboration Introducing Power BI Exploring Power BI Features and Services Partner Opportunities.
Performance and Scalability. Optimizing PerformanceScaling UpScaling Out.
Dandy Weyn Sr. Technical Product Mkt.
Dos and don’ts of Columnstore indexes The basis of xVelocity in-memory technology What’s it all about The compression methods (RLE / Dictionary encoding)
Balmukund Lakhani Technical Lead – SQL Support Team
Microsoft Ignite /16/2017 3:29 PM
Meanwhile RAM cost continues to drop Moore’s Law on total CPU processing power holds but in parallel processing… CPU clock rate stalled… Because.
Microsoft SQL Server x 46% 900+ For Hosting Service Providers
Brian Alderman | MCT, CEO / Founder of MicroTechPoint Pete Harris | Microsoft Senior Content Publisher.
BARBARIN DAVID SQL Server Senior Consultant Pragmantic SA SQL Server Denali : New administration features.
Dual Partitioning for improved performance in VLDBs Ashwin Rao Karavadi, Rakesh Parida Microsoft IT.
Connect with life Praveen Srvatsa Director | AsthraSoft Consulting Microsoft Regional Director, Bangalore Microsoft MVP, ASP.NET.
1DBTest2008. Motivation Background Relational Data Warehousing (DW) SQL Server 2008 Starjoin improvement Testing Challenge Extending Enterprise-class.
PlacePlace TypeType ServiceService Analysis Caching Integration Sync Search Relational BLOB Query BackupLoad Multi Dim In Memory File XML Reporting.
Course Topics Administering SQL Server 2012 Jump Start 01 | Install and Configure SQL Server04 | Manage Data 02 | Maintain Instances and Databases05 |
Training Workshop Windows Azure Platform. Presentation Outline (hidden slide): Technical Level: 200 Intended Audience: Developers Objectives (what do.
Course Topics Administering SQL Server 2012 Jump Start 01 | Install and Configure SQL Server04 | Manage Data 02 | Maintain Instances and Databases05 |
SQL Server 2014: Overview Phil ssistalk.com.
Srik Raghavan Principal Lead Program Manager Kevin Cox Principal Program Manager SESSION CODE: DAT206.
Meet Kevin Liu Principal Lead Program Manager Kevin Liu has been with Microsoft and the SQL Server engine team for 7 years, working on key projects like.
Speaker Name 00/00/2013. Solution Requirements.
Moore’s Law means more transistors and therefore cores, but… CPU clock rate stalled… Meanwhile RAM cost continues to drop.
Praveen Srivatsa Director| AstrhaSoft Consulting blogs.asthrasoft.com/praveens |
Connect with life Nauzad Kapadia Quartz Systems
Hosting Websites and Web Applications with Microsoft ® SQL Server ® 2008.
Sofia Event Center November 2013 Margarita Naumova SQL Master Academy.
Service Pack 2 System Center Configuration Manager 2007.
Data Management Conference Performance & Scalability Simon Sabin London September 29th.
Patrick Ortiz Global SQL Solution Architect Dell Inc. BIN209.
Introducing Application and Multi-Server Management.
Vedran Kesegić. About me  M.Sc., FER, Zagreb  HRPro d.o.o. Before: Vipnet, FER  13+ years with SQL Server (since SQL 2000)  Microsoft Certified.
SQL Server 2008 R2 Report Builder 3.0 SQL Server 2008 Feature Pack Report Builder 2.0 SQL Server 2008 General Availability Authoring & Collaboration (Acquisition:
Introducing Hekaton The next step in SQL Server OLTP performance Mladen Prajdić
Data Platform and Analytics Foundational Training
Data Platform Modernization
Business Continuity & Disaster Recovery
Data Platform and Analytics Foundational Training
System Center Marketing
Operational Analytics in SQL Server 2016 and Azure SQL Database
System Center Marketing
Business Critical Application Platform
SQL 2016 new Hosting Offers Secure Database Hybrid HyperScale
6/12/2018 2:19 PM BRK3245 DirectQuery in Analysis Services: best practices, performance, and use cases Marco Russo SQLBI © Microsoft Corporation. All rights.
Installation and database instance essentials
Business Critical Application Platform
SQL Server 2014 In-Memory Overview
Microsoft Build /20/2018 5:17 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Business Continuity & Disaster Recovery
Working with Very Large Tables Like a Pro in SQL Server 2014
Your Data Any Place, Any Time
Data Platform Modernization
SQL 2014 In-Memory OLTP What, Why, and How
11/29/2018 © 2014 Microsoft Corporation. All rights reserved. Microsoft, Windows, and other product names are or may be registered trademarks and/or trademarks.
Accelerate Your Data Insights with SQL Server 2014
Microsoft Virtual Academy
Microsoft Ignite /1/ :19 PM
Microsoft Virtual Academy
In-Memory OLTP for Database Developers
Sunil Agarwal | Principal Program Manager
Context about the Data Warehouse
Upgrading Your Private Cloud with Windows Server 2012 R2
Andrew Fryer Microsoft UK
Microsoft Virtual Academy
Working with Very Large Tables Like a Pro in SQL Server 2017
Presentation transcript:

Sofia Event Center November 2013 Margarita Naumova

In-Memory Analytics in PowerPivot for Excel In-Memory Analytics in SQL Server Analysis Services In-Memory DW, Fast Track Data Warehouse, and Parallel Data Warehouse 2012 StreamInsight 2012 In-Memory OLTP

SQL Server integration Same manageability, administration, and development experience Integrated queries and transactions Integrated HA and backup/restore Main-memory optimized Optimized for in-memory data Indexes (hash and range) exist only in memory No buffer pool Stream-based storage for durability High concurrency Multiversion optimistic concurrency control with full ACID support Core engine uses lock- free algorithms No lock manager, latches, or spinlocks T-SQL compiled to machine code T-SQL compiled to machine code via C code generator and Visual C compiler Invoking a procedure is just a DLL entry-point Aggressive optimizations at compile time Steadily declining memory price, NVRAM Many-core processors Stalling CPU clock rateTCO Hardware trends Business Hybrid engine and integrated experience High-performance data operations Frictionless scale-upEfficient, business- logic processing Benefits In-Memory OLTP Tech Pillars Drivers In-Memory OLTP Architecture

8 Performance Gains In-Memory OLTP Compiler In-Memory OLTP Component Memory-optimized Table Filegroup Data Filegroup SQL Server.exe In-Memory OLTP Engine for Memory_optimized Tables & Indexes TDS Handler and Session Management Natively Compiled SPs and Schema Buffer Pool for Tables & Indexes Proc/Plan cache for ad-hoc T-SQL and SPs Client App Transaction Log Interpreter for TSQL, query plans, expressions Query Interop Access Methods Parser, Catalog, Algebrizer, Optimizer 10-30x more efficient Reduced log bandwidth & contention. Log latency remains Checkpoints are background sequential IO No improvements in communication stack, parameter passing, result set generation Key Existing SQL Component Generated.dll

Suitable Application Characteristics 9

In-Memory DW

C1C1 C2C2 C3C3 C5C5 C6C6 C4C4 Columnstore Index Representation In-Memory In the Data Warehouse Data Stored Row-Wise: Heaps, b-Trees, Key-Value 11 In-Memory ColumnStore Both memory and disk Built-in to core RDBMS engine Customer Benefits: ‐ x faster ‐ Reduced design effort ‐ Work on customers’ existing hardware ‐ Easy upgrade; Easy deployment “By using SQL Server 2012 In-Memory ColumnStore, we were able to extract about 100 million records in 2 or 3 seconds versus the 30 minutes required previously. “ - Atsuo Nakajima Asst Director, Bank of Nagoya

In-Memory DW 2014: Clustered & Updatable 12 Fast execution for data warehouse queries ‐ Speedups of 10x and more No need for separate base table ‐ Save space Data can be inserted, updated or deleted ‐ Simpler management Eliminate need for other indexes ‐ Save space and simpler management More data types supported

Batch Mode Processing Improving CPU Utilization 13 Biggest advancement in query processing in years! Data moves in batch through query plan operators Highly efficient algorithms, Better parallelism SQL Server 2014 ‐ Support for all flavors of JOINs  OUTER JOIN  Semi-join: IN, NOT IN ‐ UNION ALL ‐ Scalar aggregates ‐ Mixed mode plans ‐ Improvements in bitmaps, spill support, …

Comparing Space Savings with Archival Compression 101 Million Row Table + Index Space 14 Adds an additional layer of compression Shrink on-disk database sizes by up to 27%

Columnstore enhancements summary What’s being delivered Clustered and updateable columnstore index Columnstore archive option for data compression Global batch aggregation Main benefits Real-time super fast data warehouse engine Ability to continue queries while updating without the need to drop and recreate index or partition switching Huge disk space saving due to compression Ability to compress data 5–15x using archival per-partition compression Better performance and more efficient (less memory) batch query processing using batch mode rather than row mode

SSD Bufferpool Extension

SSD Buffer Pool Extension What’s being delivered Use of non-volatile drives (SSD) to extend buffer pool Main benefits Improve OLTP query performance with no application changes No risk of data loss (using clean pages only) Easy configuration optimized for OLTP workloads on commodity servers (32 GB RAM) Extension file sized 4x-10x of the memory size available to SQL Server Expectations should be limited: Data warehouse workloads. Write-heavy OLTP workloads. Machines with more than 64GB of memory available to SQL Server

IOPS offload to Storage Class Memory (SCM) in memory hierarchy

Enhanced Query Processing

Query processing enhancements What’s being delivered New cardinality estimator Incremental statistics for partition Parallel SELECT INTO Main benefits Better query performance (always test!!): Better choice of query plans Faster and more frequent statistics refresh on partition level Consistent query performance Better supportability using two steps (decision making and execution) to enable better query plan troubleshooting Loading speed into table improved significantly using parallel operation

Input Tree SimplificationCardinality Trivial Plan Exploration Executable

Input Tree SimplificationCardinality Trivial Plan Exploration Executable

Security Enhancements

Separation of duties enhancement Four new permissions CONNECT ANY DATABASE (server scope) IMPERSONATE ANY LOGIN (server scope) SELECT ALL USER SECURABLES (server scope) ALTER ANY DATABASE EVENT SESSION (database scope) Main benefit Greater role separation to restrict multiple DBA roles Ability to create new roles for database administrators who are not sysadmin (super user) Ability to create new roles for users or apps with specific purposes

Best Practices for Separation of Duties

Example Roles for Separation of Duties

Example (cont’d)

Backup Encryption

Better Together SQL Server, Windows Server, System Center

Resource Governor

Ability to differentiate workloads Ability to monitor resource usage per group Limit controls to enable throttled execution or prevent/minimize probability of “run-aways” Prioritize workloads Provide predictable execution of workloads Specify resource boundaries between workloads Resource Governor goals

Resource Governor sessions processing Workloads are mapped to Resource Pools SQL Server 2012 only governs CPU Memory Parallelism

Complete Resource Governance What’s being delivered Add max/min IOPS per volume to Resource Governor pools Add DMVs and perfcounters for IO statistics per pool per volume Update SSMS Intellisense for new T-SQL Update SMO and DOM for new T-SQL and objects Main benefits Better isolation (CPU, memory, and IO) for multitenant workloads Guarantee performance in private cloud and hosters scenario

Sysprep

Support SQL Server images in Azure Gallery Provide quick and flexible SQL Server provisioning for IaaS scenarios Support SQL Server configuration as part of the provisioning process Need to be faster than full installation Remove limitations that currently exist This has been long requested by customers Sysprep: Why invest?

Sysprep enhancements Sysprep support for: Database engine Reporting Services Analysis Services Integration Services Management Tools (SSMS) Other shared features Performance improvements Delivered in SQL Server 2012 SP1 CU2

Sysprep for SQL Server cluster What’s being delivered Extensions to SQL Server Sysprep functionality to support image-based deployment of clustered SQL Server instances Main benefit Supports full automation of SQL Server Failover Cluster deployment scenarios Reduces deployment times for SQL Server Failover Clusters Combined together, these features enable customers to automate the provisioning of SQL Server Failover Clusters both on-premises and through IaaS Built on top of SQL Server 2012 SP1 CU2 Sysprep enhancements

Managed Lock Priority

Partition SWITCH Short Sch-M lock on the source and target tables Online Index Rebuild Short table S and Sch-M lock Rebuild Active Partitions Rebuild online - entire index for a partitioned table Rebuild offline - a selected partition - Table locked exclusively (with Sch-M lock) for the entire duration Blocking by online DDL operations Manage Lock Priority Blocking transactions need to be completed before DDL SWITCH/OIR will block new transactions Workload slow down or timeouts Impact to Tier1 mission-critical OLTP workloads

Managed Lock Priority Options Blocking user transactions killed Immediately or specified wait time MAX_DURATION* =n minutes] Wait for blockers MAX_DURATION* Regular lock queue Kill all blockers Switch to normal queue Wait for blockers MAX_DURATION* Terminates DDL (SWITCH/OIR) Exit DDL after wait *If no blockers, lock granted immediately and the DDL statement will complete successfully

Abort session diagnostics Deadlock diagnostics in deadlock graph sys.dm_tran_locks “request_status” extensions LOW_PRIORITY_CONVERT, LOW_PRIORITY_WAIT, or ABORT_BLOCKERS sys.dm_os_wait_stats “wait_type” extensions …LOW_PRIORITY and..ABORT_BLOCKERS Errorlog DMV extensions lock_request_priority_state process_killed_by_abort_blockers ddl_with_wait_at_low_priority sqlserver.progress_report_online_ index_operation Extended Events Diagnostics

Complete and consistent data platform

Споделете вашата обратна връзка за тази сесия и за цялостната организация на конференцията и участвайте в томболата за HTC 8S и други награди!

© 2013 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. 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 provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION