IBM Support

[Db2] HADR TAKEOVER 後、SQL1477N で一部の表へアクセスできない

Troubleshooting


Problem

HADR システムで TAKEOVER 後、新プライマリー・データベースで表へのアクセスが以下のように SQL1477N で失敗することがあります。なお、読み取り専用スタンバイ (ROS) が構成されている場合、TAKEOVER 前にスタンバイ・データベースでの表アクセスが SQL1477N で失敗します。
SQL1477N  表 "DB2INST1.T1" で、表スペース "2" 内のオブジェクト "5" にはアクセスできません。

Symptom

SQL1477N が返るとき、新プライマリーまたは読み取り専用スタンバイの db2diag.log には以下のような ADM5570W が記録されます。
2020-06-29-13.17.33.049788+540 E1743A784            LEVEL: Warning
PID     : 23986672             TID : 20674          PROC : db2sysc 0
INSTANCE: db2inst1             NODE : 000           DB   : HADB
APPHDL  : 0-84                 APPID: *LOCAL.db2inst1.200629041721
AUTHID  : DB2INST1              HOSTNAME: hadr02
EDUID   : 20674                EDUNAME: db2agent (HADB) 0
FUNCTION: DB2 UDB, data management, sqldSetupSQLCA, probe:3
MESSAGE : ADM5570W  Access was attempted on an unavailable object with id "5"
          in tablespace "2" for table "DB2INST1.T1".  If the object is a table
          it will have to be dropped.  If the object is a partition it will
          have to be detached. If the object is a non-partitioned index the
          index will have to be dropped.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSEPGG","label":"Db2 for Linux, UNIX and Windows"},"ARM Category":[{"code":"a8m500000008PlvAAE","label":"HADR-\u003ELog shipping and Replay"}],"ARM Case Number":"","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
01 May 2025

UID

ibm16502883