FREE DOWNLOAD OPEN BOOKS

SQL Server Internals: In-Memory OLTP

SQL Server Internals: In-Memory OLTP

Inside the SQL Server 2016 Hekaton Engine

by Kalen Delaney


DOWNLOAD EBOOK READ ONLINE SHARE BOOK QR CODE

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 under a Creative Commons License (CC BY). You can download SQL Server Internals: In-Memory OLTP ebook for free in PDF format (12.5 MB).

Report an issue

Table of Contents

Chapter 1
What's Special About In-Memory OLTP?
20
Chapter 2
Creating and Accessing In-Memory OLTP Databases and Tables 35
Chapter 3
Row Structure and Multi-Versioning
54
Chapter 4
Indexes on Memory-Optimized Tables
65
Chapter 5
Transaction Processing
99
Chapter 6
Logging, Checkpoint, and Recovery
128
Chapter 7
Native Compilation of Tables and Native Modules
157
Chapter 8
SQL Server Support and Manageability
175

Book Details

Subject
Computer Science
Publisher
Red Gate
Published
2017
Pages
201
Edition
2
Language
English
ISBN13 Digital
9781910035191
ISBN10 Digital
191003519X
PDF Size
12.5 MB
License
CC BY

Related Books

Microsoft SQL Server Notes for Professionals
Microsoft SQL Server Notes for Professionals

by GoalKicker

The Microsoft SQL Server Notes for Professionals book is compiled from Stack Overflow Documentation, the content is written by the beautiful people at Stack Overflow....

Defensive Database Programming with SQL Server
Defensive Database Programming with SQL Server

by Alex Kuznetsov

Resilient T-SQL code is code that is designed to last, and to be safely reused by others. The goal of defensive database programming, the goal of this book, is to help you to produce resilient T-SQL code that robustly and gracefully handles cases of unintended use, and is resilient to common changes to the database environment. Too often as deve...

SQL Server Hardware
SQL Server Hardware

by Glen Berry

SQL Server Hardware will provide the fundamental knowledge and resources you need to make intelligent decisions about choice, and optimal installation and configuration, of SQL Server hardware, operating system and the SQL Server RDBMS. Relational databases place heavy demands on their underlying hardware and many of these databases are mission-...

Data Science with Microsoft SQL Server 2016
Data Science with Microsoft SQL Server 2016

by Buck Woody, Danielle Dean, Debraj GuhaThakurta, Gagan Bansal, Matt Conners, Wee-Hyong Tok

R is one of the most popular, powerful data analytics languages and environments in use by data scientists. Actionable business data is often stored in Relational Database Management Systems (RDBMS), and one of the most widely used RDBMS is Microsoft SQL Server. Much more than a database server, it's a rich ecostructure with advanced analytic capab...

Migrating SQL Server Databases to Azure
Migrating SQL Server Databases to Azure

by Carl Rabeler

SQL Server is Microsoft's relational database management system (RDBMS). SQL Server can now be hosted entirely in Microsoft Azure, either in a hosted virtual machine (VM) or as a hosted service. Hosting a virtual machine in Azure is known as infrastructure as a service (IaaS), and hosting a service in Azure is known as platform as a service (PaaS)....

Performance Tuning with SQL Server Dynamic Management Views
Performance Tuning with SQL Server Dynamic Management Views

by Louis Davidson, Tim Ford

Dynamic Management Views (DMVs) are a significant and valuable addition to the DBA's troubleshooting armory, laying bare previously unavailable information regarding the under-the-covers activity of your database sessions and transactions. Why, then, aren't all DBAs using them? Why do many DBAs continue to ignore them in favour of "tried an...