Unloading QDB databases

Updated: April 19, 2023
To unload a database from QDB:
Delete the configuration object with the same name as the database to unload, from the config subdirectory under the PPS configuration path (/pps/qnx/qdb/).

QDB removes the database from its control. Any attached databases go into the AttachWait state and can't be accessed until the missing database is reloaded (for details, see the AutoAttach parameter description in the “Database configuration objects” section). QDB also deletes the status file in the status subdirectory because the database is no longer visible.

Note: No files referred to in the configuration object, including the raw storage file, are deleted when the database is unloaded. To delete a database, the storage file must be deleted in the filesystem.