• Save
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.

on

  • 967 views

SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.

SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.

Statistics

Views

Total Views
967
Views on SlideShare
965
Embed Views
2

Actions

Likes
0
Downloads
0
Comments
0

1 Embed 2

http://www.slideee.com 2

Accessibility

Categories

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads. Presentation Transcript

  • 1. jodebrui@microsoft.com
  • 2. In-Memory OLTP is one of many SQL Server initiatives to take advantage plentiful memory and processor cores Specialized database engines for particular workloads: SQL Server is well positioned to take full advantage of changing hardware trends and application requirements
  • 3. 1   10   100   1000   10000   100000   1000000   1990   1991   1992   1993   1994   1994   1995   1996   1997   1998   1999   2000   2000   2001   2002   2004   2005   2007   2008   2009   2011   US$/GB   $  per  GB  of  PC  Class  Memory   Moore’s Law means more transistors and therefore cores, but… CPU clock rate stalled… Meanwhile RAM cost continues to drop http://www.gotw.ca/publications/concurrency-ddj.htm
  • 4. SQL Server Integration •  Same manageability, administration & development experience •  Integrated queries & 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, B-trees •  Stream-based storage T-SQL Compiled to Machine Code •  T-SQL compiled to machine code via C code generator and VC •  Invoking a procedure is just a DLL entry-point •  Aggressive optimizations @ compile-time Steadily declining memory price, NVRAM Many-core processorsStalling CPU clock rate TCO Hardware trends Business Hybrid engine and integrated experience High performance data operations Efficient business- logic processing Customer BenefitsArchitecturalPillarsDrivers High Concurrency •  Multi-version optimistic concurrency control with full ACID support •  Core engine uses lock- free algorithms •  No lock manager, latches or spinlocks Frictionless scale- up
  • 5. Memory Optimized Data Filegroup Data Filegroup SQL Server.exeMemory Optimized Tables & Indexes TDS Handler and Session Management Natively Compiled SPs and Schema Buffer Pool for Tables & Indexes Client App Transaction Log Query Interop T1 T3T2 T1 T3T2 Tables Indexes T-SQL Query Execution T1 T3T2 Parser, Catalog, Optimizer Native Compiler In-mem OLTP Component Key Existing SQL Component Generated . dll
  • 6. Memory-optimized Table Filegroup Data Filegroup SQL Server.exe Engine for Memory_optimized Tables & Indexes TDS Handler and Session Management Natively Compiled SPs and Schema Buffer Pool for Tables & Indexes Client App Transaction Log Query Interop T-SQL Query Execution Parser, Catalog, Optimizer Native Compiler 10-30x more efficient Reduced bandwidth. Latency remains Persistence uses sequential IO No improvements in communication stack, parameter passing, result set generation In-mem OLTP Component Key Existing SQL Component Generated . dll Removes lock and latch contention
  • 7. Performance Bottleneck: Latch contention Bottleneck resolved: 7X perf gain
  • 8. Performance Bottleneck: CPU More efficient use of CPU: another 4X perf gain
  • 9. http://microsoft.com/msdn www.microsoft.com/learninghttp://channel9.msdn.com/Events/TechEd http://microsoft.com/technet