Voltadmin init -force command now only saves the two most recent snapshot folders by default. To avoid consuming unnecessary disk space, the Saved and renamed all of the extant snapshot folders. Snapshots can be quite large, since they save the entire contents of the database. When you reinitialize the rootĭirectory, using the -force flag to delete existing data, all files are deletedĮxcept the snapshot directory, which is renamed snapshots.1, Snapshots folder in the database root directory. Retention policy for snapshots during initiationīy default, snapshots created manually or through periodic snapshots are stored in the Note that if you use a customized Log4J configuration, your customization will take precedence and override You can customize the configuration toĬhange either or both the number of files retained or how frequently a new file is created.
Starting with this release, the default Log4J configuration file hasīeen revised and now retains up to 30 log files. Previously, old log files were never deleted. By default, the log files "roll", creating a new file and renaming the old ones, on a daily basis. VoltDB writes informational, warning, and error messages to log files in a subfolder of the database rootĭirectory. Well as options to adjust the policy to your business needs. Several of these features have new default values to reduce the proliferation of unnecessary files, as Particular, several new features allow you to set a retention policy for logs, snapshots, and other files created by theĭatabase system. This release focuses on improving the management of resources associated with running VoltDB in production.