Recreating Quick I/O files using qio_recreate

Note:

This command is not available in Veritas Storage Foundation for DB2 on Linux.

You can use the qio_recreate command to automatically recreate Quick I/O files when the database is recovered.

Before converting files to Quick I/O, the following conditions must be met:

Prerequisites

  • To use this command for DB2, the DB2DATABASE environment variable must be set.

    You must be logged in as the instance owner to use this command.

Usage notes

  • The qio_recreate command expects to find a file named mkqio.dat in the directory where the command is run. The mkqio.dat file contains a list of the Quick I/O files used by the database and their sizes. If the mkqio.dat file is not in the directory, you will be prompted to create it using qio_getdbfiles.

    See Identifying VxFS files to convert to Quick I/O using qio_getdbfiles.

  • The qio_recreate command supports conventional Quick I/O files only (that is, Quick I/O files in the following form: file --> .file::cdev:vxfs:). In creating a Quick I/O file, the qio_convertdbfiles command renames the regular VxFS file, file, to .file with the Quick I/O extension (:cdev::vxfs:) and creates a symbolic link to it. By default, the symbolic link uses a relative path name.

  • There are no options for the qio_recreate command and no output is returned when the command runs successfully.

  • See the qio_recreate(1M) manual page for more information.

The qio_recreate command follows these rules in recreating Quick I/O files when a database is recovered:

To automatically recreate Quick I/O files when the database is recovered