Database storage files

QDB uses raw SQLite files to store databases individually. Each database configuration object must provide a path to the raw storage file for the database being defined. Storage files for different databases can be kept in different areas of the filesystem or in different filesystems altogether.

Any QNX or POSIX filesystem with read/write access, including memory-based filesystems such as /dev/shmem, can store the raw SQLite files for QDB databases. The QDB server can be run from QNX filesystems visible via Qnet, but not from a CIFS or NFS filesystem or a non-POSIX filesystem such as /dev/shmem/.

When loading a database, QDB creates the storage file in the location specified in the configuration object, if the storage file doesn't exist. When unloading a database, QDB leaves the storage file intact; it's up to the application to take appropriate action by either copying or deleting the storage file.