ADM6086W The attempt to acquire and reset the phantom quiesce state for table space "TBS1" (ID "6") did not change the state even though the command returned successfully. The authorization ID of the current user does not match the quiescer authorization ID and these must be the same to successfully acquire and reset a phantom quiesce. Determine the correct quiescer authorization ID by taking a table space snapshot and retry the quiesce reset command using that ID.
则说明用来执行停顿状态重置的用户有问题。正如上述信息中描述的那样,该用户的 ID 与当初执行停顿操作的用户的 ID 不一致。为成功将遗留的停顿状态去除,必须使用发出 quiesce 命令的用户(quiescer)进行重置操作。
这里介绍一种查询 quiescer 的方法:
1. 停止当前实例的运行:db2stop。
2. 利用 db2dart 工具搜集有关信息: db2dart /dtsf
3. 从 db2dart 的输出报告文件(*.rpt)中,可在相应的表空间名下找到类似如下的信息:
1) Userid of quiescer: DB2INST1 Quiesce state: 1 Tbspace ID of quiesced object: 2 Table ID of quiesced object: 3 EDU ID: 0 Agent ID: 0
即 quiescer 的 ID 为“ DB2INST1” ,用户应该以该用户的身份重新登录,然后重新尝试状态重置的操作。在该命令成功完成后,应该不会再遇到 SQL0290N 的错误,用户可再次通过“ LIST TABLESPACES ” 的命令对表空间的“ 状态” 进行一次检查,以确保表空间的状态均为“ 正常” 。