Aug 17, 2022

SQL Server's in-memory OLTP technology

Hey guys, In this blog I am going to explain you about SQL Server's in-memory OLTP technology.

Introduction-

A native stored procedure compiler and specialized, memory-optimized relational data management engine are both built into SQL Server as part of In-Memory OLTP. For the most demanding OLTP workloads, Microsoft created In-Memory OLTP. In many instances, the DURABILITY = SCHEMA ONLY option can be used to generate memory-optimized tables in order to completely avoid logging and I/O.

The following principles are introduced by in-memory OLTP:

  1. Optimized tables and indexes for in-memory
  2. Traditional temporary tables and non-durable tables
  3. Memory-optimized table type for table variables and natively built stored procedures - This can take the place of transient objects.

In-Memory OLTP systems' effects-

  1. Quicker response time, greater throughput, and low latency
  2. High performance
  3. extreme performance
  4. An optimistic concurrency paradigm, along with improved concurrency management, can result in zero or no lock escalation management.

How is in-memory OLTP recommended?

Consider the possible advantages of switching to in-memory OLTP if the system meets one or more of the following conditions.

  1. Applications that currently use SQL Server (or other relational databases) and need to scale up and perform better
  2. RDBMS with database bottlenecks, primarily related to locking/latching or code execution

No comments:

Post a Comment

If you have any doubt or question, please contact us.