Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 5.22 KB

File metadata and controls

55 lines (37 loc) · 5.22 KB
title Requirements for Using Memory-Optimized Tables | Microsoft Docs
ms.custom
ms.date 11/24/2017
ms.prod sql
ms.prod_service database-engine
ms.reviewer
ms.technology in-memory-oltp
ms.topic conceptual
ms.assetid 47d9a7e8-c597-4b95-a58a-dcf66df8e572
author CarlRabeler
ms.author carlrab

Requirements for Using Memory-Optimized Tables

[!INCLUDEappliesto-ss-xxxx-xxxx-xxx-md]

For using In-Memory OLTP in Azure DB see Get started with In-Memory in SQL Database.

In addition to the Hardware and Software Requirements for Installing SQL Server, the following are requirements to use In-Memory OLTP:

  • [!INCLUDEssSQL15] SP1 (or later), any edition. For [!INCLUDEssSQL14] and [!INCLUDEssSQL15] RTM (pre-SP1) you need Enterprise, Developer, or Evaluation edition.

    [!NOTE] In-Memory OLTP requires the 64-bit version of [!INCLUDEssNoVersion].

  • [!INCLUDEssNoVersion] needs enough memory to hold the data in memory-optimized tables and indexes, as well as additional memory to support the online workload. See Estimate Memory Requirements for Memory-Optimized Tables for more information.

  • When running [!INCLUDEssNoVersion] in a Virtual Machine (VM), ensure there is enough memory allocated to the VM to support the memory needed for memory-optimized tables and indexes. Depending on the VM host application, the configuration option to guarantee memory allocation for the VM could be called Memory Reservation or, when using Dynamic Memory, Minimum RAM. Make sure these settings are sufficient for the needs of the databases in [!INCLUDEssNoVersion].

  • Free disk space that is two times the size of your durable memory-optimized tables.

  • A processor needs to support the instruction cmpxchg16b to use In-Memory OLTP. All modern 64-bit processors support cmpxchg16b.

    If you are using a Virtual Machine and [!INCLUDEssNoVersion] displays an error caused by an older processor, see if the VM host application has a configuration option to allow cmpxchg16b. If not, you could use Hyper-V, which supports cmpxchg16b without needing to modify a configuration option.

  • In-Memory OLTP is installed as part of Database Engine Services.

    To install report generation (Determining if a Table or Stored Procedure Should Be Ported to In-Memory OLTP) and [!INCLUDEssManStudioFull] (to manage In-Memory OLTP via [!INCLUDEssManStudioFull] Object Explorer), download SQL Server Management Studio (SSMS).

Important Notes on using [!INCLUDEhek_2]

Note

Starting [!INCLUDEssSQL15] SP1, Standard and Express Editions support In-Memory OLTP, but they impose quotas on the amount of memory you can use for memory-optimized tables in a given database. In Standard edition this is 32GB per database; in Express edition this is 352MB per database.

  • If you create one or more databases with memory-optimized tables, you should enable Instant File Initialization (IFI) by granting the [!INCLUDEssNoVersion] service startup account the SE_MANAGE_VOLUME_NAME user right. Without IFI, memory-optimized storage files (data and delta files) will be initialized upon creation, which can have negative impact on the performance of your workload. For more information about IFI, including how to enable it, see Database Instant File Initialization.

See Also

In-Memory OLTP (In-Memory Optimization)
Database Instant File Initialization
Memory Architecture guide