1.1

Table Of Contents
Note: You can optionally install the AsyncEventListener conguration after you
associate a table with the listener name. Make sure that you use the same listener
name with both the CREATE ASYNCEVENTLISTNER command and the CREATE
TABLE command.
CREATE DISKSTORE
Disk stores provide disk storage for tables and queues that need to overow or persist (for instance when using
an asynchronous write-behind listener).
Syntax
CREATE DISKSTORE
diskstore_name
[ MAXLOGSIZE integer-constant ]
[ AUTOCOMPACT boolean-constant ]
[ ALLOWFORCECOMPACTION
boolean-constant ]
[ COMPACTIONTHRESHOLD
integer-constant ]
[ TIMEINTERVAL
integer-constant ]
[ WRITEBUFFERSIZE
integer-constant ]
[ QUEUESIZE
integer-constant ]
[ ( 'dir-name' [ integer-constant ] [,'dir-name' [ integer-constant ]
]* ) ]
Description
The tables in the same disk store will share the same disk persistence attributes. A table without a disk store
name belongs to the default disk store.
By default, SQLFire uses the working directory of the member as the default disk store.
MAXLOGSIZE
SQLFire records DML statements in an operation log (oplog) les. This option sets the maximum size in
megabytes that the oplog can become before SQLFire automatically rolls to a new le. This size is the combined
sizes of the .crf and .drf oplog les. When SQLFire creates an oplog le, it immediately reserves this amount
of le space. SQLFire only truncates the unused space on a clean shutdown (for example, sqlf server
stop or sqlf shut-down-all).
The default value is 1 GB.
AUTOCOMPACT
Set this option to "true" (the default) to automatically compact disk les. Set the option to "false" if compaction
is not needed or if you intend to manually compact disk les using the sqlf utility.
SQLFire performs compaction by removing "garbage" data that DML statements generate in the oplog le.
465
SQL Language Reference