Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
SQL Server 2019 Administrator's Guide

You're reading from   SQL Server 2019 Administrator's Guide A definitive guide for DBAs to implement, monitor, and maintain enterprise database solutions

Arrow left icon
Product type Paperback
Published in Sep 2020
Publisher Packt
ISBN-13 9781789954326
Length 522 pages
Edition 2nd Edition
Languages
Arrow right icon
Authors (2):
Arrow left icon
Marek Chmel Marek Chmel
Author Profile Icon Marek Chmel
Marek Chmel
Vladimír Mužný Vladimír Mužný
Author Profile Icon Vladimír Mužný
Vladimír Mužný
Arrow right icon
View More author details
Toc

Table of Contents (17) Chapters Close

Preface 1. Section 1: Provisioning the SQL Server Environment
2. Chapter 1: Setting Up SQL Server 2019 FREE CHAPTER 3. Chapter 2: Keeping Your SQL Server Environment Healthy 4. Section 2: Server and Database Maintenance
5. Chapter 3: Implementing Backup and Recovery 6. Chapter 4: Securing Your SQL Server 7. Chapter 5: Working with Disaster Recovery Options 8. Chapter 6: Indexing and Performance 9. Section 3: High Availability and the Cloud with SQL Server 2019
10. Chapter 7: Planning Migration and Upgrade 11. Chapter 8: Automation – Using Tools to Manage and Monitor SQL Server 2019 12. Chapter 9: Configuring Always On High Availability Features 13. Chapter 10: In-Memory OLTP – Why and How to Use it 14. Chapter 11: Combining SQL Server 2019 with Azure 15. Chapter 12: Taming Big Data with SQL Server 16. Other Books You May Enjoy

Creating in-memory tables and natively compiled stored procedures

The previous section was about the top-level architecture of In-Memory OLTP. Knowing the architecture will help us get familiar with all the steps needed to set up the environment for In-Memory OLTP applications and to create objects within it.

In this section, we will create memory-optimized filegroups and then we will create some tables, indexes, and natively compiled stored procedures. All these tasks will be described in the form of walkthrough examples.

Preparing for In-Memory OLTP

The first step is to create a memory-optimized filegroup. The following screenshot shows you how to use the Properties dialog for the database, opened by a right-click on the database in Object Explorer:

Figure 10.4 – Filegroups page of Database Properties window in SSMS

As seen in the preceding screenshot, the Filegroups tab is divided...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image