Your SlideShare is downloading. ×
0
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
SQL Server 2014 introduces in-memory technology for optimizing OLTP workloads.
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

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

845

Published on

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

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

Published in: Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
845
On Slideshare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
0
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

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

×