Temporary storage filesystem
The filesystem that qdb uses for temporary storage must support POSIX file locking. File locking is required for database vacuuming.
The qdb utility checks its temporary storage as follows:
- If the tempstore option (-o tempstore) is specified on the command line,
qdb checks to see if the specified location:
- exists
- is writable
- is not /dev/shmem
- is not a link to /dev/shmem
If all of these conditions are met, qdb sets the internal temporary storage to the location specified by the tempstore option. If any condition is not met, qdb logs errors to the slog2info log and fails to start.
- If no tempstore option is specified on the command line, qdb uses the environment
variable TMPDIR to obtain the location to use for temporary storage. The qdb utility
then checks if the location specified by this variable:
- exists
- is writable
- is not /dev/shmem
- is not a link to /dev/shmem
If all of these conditions are met, qdb sets the internal temporary storage to the value of TMPDIR. If any condition is not met, qdb logs errors to the slog2info log and fails to start.
Page updated:
