InstantDB can open a database in readonly mode. This is primarily
intented to allow the database to operate from read only file
systems, and in particular from CD-ROMs.
The main property settings which are required
in the database's .prp file are:
With these properties set as shown, the
database will open all existing tables in readonly mode. Transaction
processing is disabled to prevent the need to access the journal
file, and the trace file is commented out to prevent any debug
logging.
If very large results sets are anticipated,
then care should be taken to ensure that sufficient virtual memory
will be available and that excessive paging will not be generated.
Tracing can remain enabled, provided the
trace log points to a writable part of the file system.