Performance issue due to table PSAPMSGPUBDATA
Hi Team,
We are in our test move of our tools upgrade from PT-8.56 to PT-8.58.
From the CA step,shrink image step is taking more than 30 minutes to complete and the long running SQL is identified as below -
"SELECT IBTRANSACTIONID, IB_SEGMENTINDEX, SEGMENTNO, SUBSEGMENTNO, DATASEQNO, MIMEDATALONG FROM PSAPMSGPUBDATA ORDER BY IBTRANSACTIONID, IB_SEGMENTINDEX, SEGMENTNO, SUBSEGMENTNO, DATASEQNO"
While monitoring the DB session we saw that the session is stuck with the DB wait - "local write wait".
We have more than 47,50000+ rows in the table PSAPMSGPUBDATA. Also, will IB archiving be helpful to archive the data in this table. if yes, Could you please provide detailed steps for the same