Whether you’ve been working with SQL servers for years or are new to the game there are several updates and new features that have been introduced in 2014 that are worth reviewing.
For starters, the Hekaton in-memory capabilities are being designed to complement the existing in-memory data-warehousing and business-intelligence (BI) capabilities already in SQL Server.
The Hekaton technology will continue to work with traditional SQL Server tables so that users will see performance gains even on existing hardware.
- Supports OLTP applications
- Improves performance 10x
- Improves scalability 5x
- Minimizes the latency it takes to retrieve data
Most improve fill on short transactions / high degree of concurrent transactions with many connections
For existing databases using previous versions of SQL you will need:
CREATE TABLE and CREATE PROC statements. Changes have been incorporated into the database engine, so in-memory built-in objects are processed to take advantage of memory processing instead of using the b-tree indexes and buffer pools.
To determine how much memory a given memory-optimized table uses, run the following query:
select object_name(object_id), * from sys.dm_db_xtp_table_memory_stats
CREATE DATABASE RYLTECH
ALTER DATABASE Ryltech ADD
FILEGROUP InMemory CONTAINS MEMORY_OPTIMIZED_DATA
ALTER DATABASE RYLTECH ADD
FILE (name=’InMemory_1′, filename=’H:sqldataInMemory_1′)
TO FILEGROUP InMemory
ALTER DATABASE RYLTECH SET
CREATE TABLE AIMBETTER (
ID INT IDENTITY(1,1) PRIMARY KEY NONCLUSTERED,
KEYID INT NOT NULL INDEX IX_AIMBETTER_KEYID NONCLUSTERED
HASH WITH (BUCKET_COUNT=1000000),
KEYDATE DATETIME2 NOT NULL,
) WITH (MEMORY_OPTIMIZED=ON)
On these blog you can get more information on in-memory including what it does and does not support
RYLTECH uses 2014 with the new OS & SQL Monitoring Tool