1.1.1

Table Of Contents
The table describes options for sqlf compact_all_disk_stores. If no multicast or locator options are specied on
the command-line, then the command uses the sqlfire.properties le (if available) to determine the
distributed system to which it should connect.
DescriptionOption
Multicast port used to communicate with other members of the
distributed system. If zero, multicast is not used for member discovery
(specify -locators instead).
-mcast-port
Valid values are in the range 065535, with a default value of 10334.
Multicast address used to discover other members of the distributed
system. This value is used only if the -locators option is not
specied.
-mcast-address
The default multicast address is 239.192.81.1.
List of locators used to discover members of the distributed system.
Supply all locators as comma-separated host:port values.
-locators
The address to which this peer binds for receiving peer-to-peer
messages. By default sqlf uses the hostname, or localhost if the
hostname points to a local loopback address.
-bind-address
Any other SQLFire distributed system property.
-<prop-name>=<prop-value>
Description
When a CRUD operation is performed on a persistent/overow table, the data is written to the log les. Any
pre-existing operation record for the same row becomes obsolete, and SQLFire marks it as garbage. It compacts
an old operation log by copying all non-garbage records into the current log and discarding the old les.
Manual compaction can be done for online and ofine disk stores. For the online disk store, the current operation
log is not available for compaction, no matter how much garbage it contains.
Ofine compaction runs essentially in the same way, but without the incoming CRUD operations. Also, because
there is no current open log, the compaction creates a new one to get started.
Online Compaction
To run manual online compaction, allow-force-compaction should be true. You can run manual online compaction
at any time while the system is running. Oplogs eligible for compaction based on the compaction-threshold are
compacted into the current oplog.
sqlf compact-disk-store
Perform ofine compaction of a single SQLFire disk store.
Syntax
sqlf compact-disk-store <diskStoreName> <directory>+
[-maxOplogSize=<int>]
vFabric SQLFire User's Guide370
vFabric SQLFire Reference