Download presentation
Presentation is loading. Please wait.
Published byDella Daniels Modified over 9 years ago
5
Meanwhile RAM cost continues to drop Moore’s Law on total CPU processing power holds but in parallel processing… CPU clock rate stalled… Because processors would melt… New CPU won’t run a short transaction much faster
6
SQL Server Integration Same manageability, administration & development experience Integrated queries & transactions Integrated HA and backup/restore Main-Memory Optimized Direct pointers to rows Indexes exist only in memory No buffer pool No write-ahead logging Stream-based storage Non-Blocking Execution Multi-version optimistic concurrency control, full ACID support Lock-free data structures No locks, latches or spinlocks, No I/O in transaction T-SQL Compiled to Native Machine Code T-SQL compiled to machine code leveraging VC compiler Procedure and its queries, becomes a C function Aggressive compile-time optimizations Architectural Pillars Results Hybrid engine and integrated experience In-memory cache speed with capabilities of a database Transactions execute to completion without blocking Queries & business logic run at native- code speed Principl es Performance- critical data fits in memory Conflicts are Rare Push decisions to compilation time Built-In
8
SQL Server 2014 In-Memory OLTP aka Hekaton
10
7x faster performance Enables real-time updates
11
Business challenge Online gaming company needed to support rapid growth by providing a faster, smoother gaming experience for more users, and speeding time to insights. Key benefits Scales to handle 250,000 player requests per second— up from 15,000 Reduced reporting time from 17 minutes to 3 seconds With in-memory OLTP & ColumnStore Before Gaming App Reporting Reports in 17 min 15,000 requests/sec Reports in 3 sec 250,000 requests/sec
12
24x boost 800% performanc e gains on the same HW in throughput on the same configuration 4x 40% cost performance
13
The Road Ahead: In Memory OLTP in SQL 2016
17
Single Offline Checkpoint Thread Del Tran2 (TS 450) Del Tran3 (TS 250) Del Tran1(TS150 ) Insert into Hekaton T1 Log in SQL Table Del Tran1 (TS150) Del Tran2 (TS 450) Del Tran3 (TS 250) Insert into Hekaton T1 SQL Transaction log disk SQL Transaction log Del Tran2 (TS 450) Del Tran3 (TS 250) Del Tran1(TS150 ) Insert into Hekaton T1 Log in SQL Table Del Tran1 (TS150) Del Tran2 (TS 450) Del Tran3 (TS 250) Insert into Hekaton T1 disk Offline Checkpoint Thread
18
Increasing Compatibility
20
ALTER support
28
Increasing Platform Abilities
29
In-memory OLTP In-memory ColumnStore Real-time fraud detection In-memory enhancements Operational analytics & enhanced performance Fraud detected 2-24 hrs 0100101010110 SQL Server OLTP SQL Server data warehouse ETL
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.