I am getting a timeout on a Select statement. When I search for blocking the identified process is an operation on SY10800 (sySecurityAssignModAltOperations). Here are details on that blocking:
I can see in a Script log that GP code which interacts with SY10800 is running right before my custom code begins:
In another installation I have GP Power Tools installed; I get the same blocking behavior but the identified blocking session is an operation on one of that product's tables:
I find myself especially wondering why each listed blocking operation is a "CREATE PROC" for a "zDP_" procedure. I understand what the zDP procedures are and do, but I don't understand why Create statements would be run for them in the middle of transaction processing nor why they would create a LCK_M_S lock.
Now I could add WITH (NOLOCK) to my first Select operation, but then I have others and the next one simply times-out. I'll accept adding WITH (NOLOCK) to everything if that is the only viable solution. However, I am skeptical and that feels like a band-aid solution.
*This post is locked for comments