Book Description
The SQL Server 2016 In-Memory OLTP engine (a.k.a. Hekaton) is designed to exploit terabytes of available memory and high numbers of processing cores. It allows us to work with memory-optimized tables and indexes, and natively compiled stored procedures, in addition to the disk-based tables and indexes, and T-SQL stored procedures, that SQL Server has always provided.
Hekaton in-memory data is accessible, transparently, using familiar interfaces such as T-SQL and SSMS, but Hekaton's internal behavior and capabilities are very different than those of the standard relational engine. Everything you knew about how your SQL Server stores and accesses data is different in Hekaton. Everything you understood about how multiple concurrent processes are handled needs to be reconsidered.
In this book, Kalen Delaney explains how the new In-Memory OLTP engine works, how it stores and manipulates data, and how, even with all data stored in memory and no locking or latching, it can still guarantee the ACID properties of all transactions.
Kalen has been working with SQL Server since 1987, specializing in query performance tuning and SQL Server internals. The Hekaton internals knowledge she provides in this book will help you migrate existing tables or databases to Hekaton, and get faster performance from your SQL Server applications than you ever thought possible.
This open book is licensed strictly for personal or educational use. You can download SQL Server Internals: In-Memory OLTP ebook for free in PDF format (12.5 MB).
Table of Contents
Chapter 1
What's Special About In-Memory OLTP?
Chapter 2
Creating and Accessing In-Memory OLTP Databases and Tables 35
Chapter 3
Row Structure and Multi-Versioning
Chapter 4
Indexes on Memory-Optimized Tables
Chapter 5
Transaction Processing
Chapter 6
Logging, Checkpoint, and Recovery
Chapter 7
Native Compilation of Tables and Native Modules
Chapter 8
SQL Server Support and Manageability