Issue with Merge Into Statement
Hi All,
PDC has raised an alert about slow SQL on a table. Investigation shows that this table is a custom data table with class Keys using option "Automatically generate a unique ID for records of this type" and so pyGUID becomes the primary key. Checked the table and sure enough this column is defined as the primary key and has an index. All good, except the merge statement doesn't use this primary key but pzInskey which doesn't have any index.
Is this a bug when the class and subsequent table was created by Pega?
What kind of impact is this likely to have, should we create the secondary index against pzInskey to help with the merge statement?
We are running Oracle 19c BTW.
Thanks Craig