Database storage

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.

Database storage files can be stored on any QNX or POSIX filesystem with read/write access (including memory-based filesystems, such as tmpfs). QDB can run from QNX filesystems visible via Qnet, but can't run from a CIFS or NFS filesystem or a non-POSIX system 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.