Tuesday, February 14, 2017

Introduction to Memory-Optimized Tables (MOT) Part 1


   Microsoft introduced memory optimized tables in Sql Server 2014. There were a lot of limitations for memory optimized tables in 2014 version.


Here is a list of differences between 2014 and 2016 for MOTs



Microsoft claims that you can access your data 30 times faster if you use Memory-Optimized tables. As you can imagine, you need a lot of memory in your SQL Server if you like to use MOTs. Microsoft has a nice guide here to help you how much memory you might need for your tables.


Here is the requirements for Memory Optimized Tables

64 bit SQL Server 2014 or later.
Enough memory to support MOTs
Free disk space that is two times the size of your MOTs.
In-Memory OLTP installation. (Database Engine Services)


You have two options when it comes to create Memory Optimized Table.

Durable Type
This is the default type. Durable Memory Optimized Table means, if server crashes or failover the data will be recovered from the transaction logs.

Non-Durable
The transactions on this type of table do not require any disk and the data in these tables will not be recovered if something goes wrong.





I will show you how to create Memory Optimized tables in my next article.

1 comment:

  1. The report points out that smart speakers typically consume just a few watts while in standby mode and only slightly more when activated. In an average year, a second-gen Amazon Echo will consume about 15.2 kilowatt hours (kWh), which adds up to less than $2 for your annual energy bill



    For more details visit us Smart home devices

    ReplyDelete