Replacing All Dbfiles in IQ_SYSTEM_TEMP [CR #633738]

The following was added to Running Multiplex Transactions > Running DDL Commands > Updating dbspaces in multiplex.

If a subset of the temporary IQ dbfiles cannot be opened or are damaged, drop each damaged dbfile, then replace it.

If all temporary IQ dbfiles are damaged, follow these steps:

StepsReplacing all dbfiles in IQ_SYSTEM_TEMP

  1. Start the database with the -iqnotemp parameter.

    start_iq @params.cfg mpxtest.db -iqnotemp 100 -n mpxnode_c
    

    The only temporary file operation allowed on a database while running with -iqnotemp is to drop one or more of the temporary file definitions.

  2. Drop the last file in IQ_SYSTEM_TEMP:

    ALTER DBSPACE IQ_SYSTEM_TEMP DROP FILE filename
    
  3. Stop the database.

  4. For MULTIPLEX: