Note: Documentation for Pivotal SQLFire 1.1.x is now available at Please reference the site for the latest and most up-to-date documentation on SQLFire. The vFabric SQLFire documentation site will no longer be updated.

sqlf upgrade-disk-store

Upgrades offline disk stores that were created in SQLFire 1.0.x to a format that is compatible with SQLFire 1.1.


sqlf upgrade-disk-store
  <diskStoreName> <directory>+ [-maxOpLogSize=<value>] 
Option Description
diskStoreName Required. The name of the offline disk store to upgrade.
directory Required. One or more directories where data for the disk store was written.
-maxOpLogSize The maximum size (in megabytes) of the oplogs created by the upgrade. The default size is 1GB.
--J Arguments passed to the Java Virtual Machine that performs the upgrade operation.


Disk stores must be offline in order to upgrade them. If the disk store is large, additional memory may need to be allocated to the process using the --J=-Xmx parameter.

Note: You must update the default disk stores as well as any additional disk stores that were defined using the CREATE DISKSTORE statement. Specify the full path to each disk store in multiple invocations of the sqlf upgrade-disk-store command.

SQLFire creates default disk stores in each SQLFire server or locator directory, as well as in the /datadictionary subdirectory of each SQLFire server or locator directory.

Upgrading vFabric SQLFire provides more details about upgrading to SQLFire 1.1.


This command upgrades a single disk store with files in two directories:

sqlf upgrade-disk-store myDiskStore /firstDir /secondDir