{"id":1533,"date":"2014-02-05T09:00:00","date_gmt":"2014-02-05T17:00:00","guid":{"rendered":"https:\/\/blogs.technet.microsoft.com\/dataplatforminsider\/2014\/02\/05\/database-backup-with-memory-optimized-tables\/"},"modified":"2024-01-22T22:49:02","modified_gmt":"2024-01-23T06:49:02","slug":"database-backup-with-memory-optimized-tables","status":"publish","type":"post","link":"https:\/\/www.microsoft.com\/en-us\/sql-server\/blog\/2014\/02\/05\/database-backup-with-memory-optimized-tables\/","title":{"rendered":"Database Backup with Memory-Optimized Tables"},"content":{"rendered":"
The memory-optimized tables are backed up as part of regular database backups so you don\u2019t need to do anything special to manage backups on databases with memory-optimized tables. Like for disk-based tables, the CHECKSUM of data\/delta files is validated as part of database backup to proactively detect any storage corruption. However, as described in the blog storage allocation and management<\/a>, the storage used by memory-optimized tables can be much larger than its footprint in the memory. \u00a0A full backup of a database with one or more memory-optimized tables consist of the allocated storage for disk-based tables, active transaction log and the data\/delta file pairs (i.e. checkpoint file pairs) for memory-optimized tables. This blog focuses on the size of database backups that you can expect in database with memory-optimized tables. \u00a0<\/p>\n For the discussion here, we will focus on the database backups for databases with just durable memory-optimized tables because the backup part for the disk-based tables is the same irrespective of the existence of memory-optimized tables. The data\/delta file pairs, also referred to as Checkpoint File Pairs or CFPs residing in the filegroup could be in various states at a given time. Please refer to merge-operation-in-memory-optimized-tables<\/a> for details. The table below describes what part of the files is backed up both in CTP2 and in RTM. \u00a0<\/p>\nFull Database Backup<\/h2>\n