With VMware Tanzu GemFire disk stores, you can persist data to disk as a backup to your in-memory copy and overflow data to disk when memory use gets too high.
Overflow and persistence use disk stores individually or together to store data.
Disk Store File Names and Extensions
Disk store files include store management files, access control files, and the operation log, or oplog, files, consisting of one file for deletions and another for all other operations.
At creation, each operation log is initialized at the disk store’s max-oplog-size
, with the size divided between the crf
and drf
files. When the oplog is closed, VMware Tanzu GemFire shrinks the files to the space used in each file.
In addition to the disk stores you specify, VMware Tanzu GemFire has a default disk store that it uses when disk use is configured with no disk store name specified. You can modify default disk store behavior.
Optimizing a System with Disk Stores
Optimize availability and performance by following the guidelines in this section.
Start Up and Shut Down with Disk Stores
This section describes what happens during startup and shutdown and provides procedures for those operations.
The gfsh
command-line tool has a number of options for examining and managing your disk stores. The gfsh
tool, the cache.xml
file and the DiskStore APIs are your management tools for online and offline disk stores.
Creating Backups for System Recovery and Operational Management
A backup is a copy of persisted data from a disk store. A backup is used to restore the disk store to the state it was in when the backup was made. The appropriate back up and restore procedures differ based upon whether the cluster is online or offline. An online system has currently running members. An offline system does not have any running members.