In Memory OLTP Not Just for OLTP.

Slides:



Advertisements
Similar presentations
new database engine component fully integrated into SQL Server 2014 optimized for OLTP workloads accessing memory resident data achive improvements.
Advertisements

Big Data Working with Terabytes in SQL Server Andrew Novick
6 SQL Server Integration Same manageability, administration & development experience Integrated queries & transactions Integrated HA and backup/restore.
Meanwhile RAM cost continues to drop Moore’s Law on total CPU processing power holds but in parallel processing… CPU clock rate stalled… Because.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 1 Preview of Oracle Database 12 c In-Memory Option Thomas Kyte
External data structures
IN-MEMORY OLTP By Manohar Punna SQL Server Geeks – Regional Mentor, Hyderabad Blogger, Speaker.
Sofia Event Center November 2013 Margarita Naumova SQL Master Academy.
October 15-18, 2013 Charlotte, NC Accelerating Database Performance Using Compression Joseph D’Antoni, Solutions Architect Anexinet.
How to kill SQL Server Performance Håkan Winther.
# CCNZ What is going on here???
In-Memory OLTP The faster is now simpler in SQL Server 2016.
Vedran Kesegić. About me  M.Sc., FER, Zagreb  HRPro d.o.o. Before: Vipnet, FER  13+ years with SQL Server (since SQL 2000)  Microsoft Certified.
Oracle Announced New In- Memory Database G1 Emre Eftelioglu, Fen Liu [09/27/13] 1 [1]
Locks, Blocks & Isolation Oh My!. About Me Keith Tate Data Professional for over 14 Years MCITP in both DBA and Dev tracks
Doing fast! Optimizing Query performance with ColumnStore Indexes in SQL Server 2012 Margarita Naumova | SQL Master Academy.
Indexing strategies and good physical designs for performance tuning Kenneth Ureña /SpanishPASSVC.
Use Cases for In-Memory OLTP Warner Chaves SQL MCM / MVP SQLTurbo.com Pythian.com.
Memory-Optimized Tables Querying at the speed of light.
Introduction to Partitioning in SQL Server
Hathi: Durable Transactions for Memory using Flash
Standard/Express edition
In-Memory Capabilities
Processes and threads.
SQL Server In-Memory OLTP: What Every SQL Professional Should Know
Antonio Abalos Castillo
Microsoft Ignite /12/2018 5:05 AM BRK3094
We Have Found Nirvana with Online Dump and Load (224)
Query Tuning without Production Data
UFC #1433 In-Memory tables 2014 vs 2016
CSE-291 (Cloud Computing) Fall 2016
LAB: Web-scale Data Management on a Cloud
Taking your application to memory
Query Tuning without Production Data
Query Tuning without Production Data
Chapter 1. Introduction to Computers and Programming
HPE Persistent Memory Microsoft Ignite 2017
Installation and database instance essentials
Building Modern Transaction Systems on SQL Server
Architecture Background
SQL Server “In-Memory”
Boost Linux Performance with Enhancements from Oracle
මොඩියුල විශ්ලේෂණය Buffer Pool Extension භාවිතය.
Working with Very Large Tables Like a Pro in SQL Server 2014
Migrating a Disk-based Table to a Memory-optimized one in SQL Server
Taking your application to memory
Lecture 9: Data Storage and IO Models
Physical Join Operators
Real world In-Memory OLTP
SQL 2014 In-Memory OLTP What, Why, and How
Creating HIGH PERFORMANCE TABULAR MODELS
Database Management Systems (CS 564)
20 Questions with Azure SQL Data Warehouse
Transactions, Locking and Query Optimisation
TEMPDB – INTERNALS AND USAGE
Shaving of Microseconds
Understanding Azure SQL DB Service Tiers
Microsoft SQL Server 2014 for Oracle DBAs Module 7
In Memory OLTP Not Just for OLTP.
Statistics for beginners – In-Memory OLTP
SQL Server “In-Memory”
Weird Stuff I Saw While … Working With Heaps
In-Memory OLTP for Database Developers
UMBC CMSC 104 – Section 01, Fall 2016
Clustered Columnstore Indexes (SQL Server 2014)
Large Object Datatypes
Weird Stuff I Saw While … Working With Heaps
SQL Server 2016 In-Memory OLTP for the DBA
SQL Server Query Design and Optimization Recommendations
Partition Switching Joe Tempel.
Presentation transcript:

In Memory OLTP Not Just for OLTP

Russ Thomas Twitter: @SQLJudo Blog: www.sqljudo.com Plural Sight: coming soon ! 2 | 4/23/2019 | @SQLJudo - Russ Thomas DBA

Drawbacks of Memory Expensive Volatile Precious Local Not a file system

Benefits of Memory Fast

In Memory OLTP (“hekaton”) MAGIC UNICORN VERSION WAS ALREADY TAKEN BY APPLE

Limitations (just a few) < 250GB (durable tables -> log is going to be disk based) < 8060 byte row No unique indexes No calculated columns No foreign keys No partitioning No check constraints No alter statements No table locks No truncate Non integer indexes must be binary collation No adding indexes after creation Row versioning protects data, true collisions generate error

Why OLTP Size Concurrency Speed < 250GB No Locks (row versioning) Reads and Writes

Why not staging tables ??? Size ( > 250GB schema only tables ) Heaps No constraints No foreign keys No indexes No alters

LIVE DEMO

Variables to Consider Memory Limit Storage Sub-structure Multi-threading / CPU cores # of Transformations Memory Limit Running out of memory is bad Storage Sub-structure PCIe vs Spinning Disks vs SSD Multi-threading / CPU cores Serial workloads to stay under memory limit may or may not be faster than parallel work loads from disk

But wait, there’s more Natively Compiled Objects Hash Indexes Columnstore Indexes coming !!

Russ Thomas Twitter: @SQLJudo Blog: www.sqljudo.com Plural Sight: coming soon ! 12 | 4/23/2019 | @SQLJudo - Russ Thomas DBA