A client's environment is taking 5 to 10 minutes to generate a PO. I captured a SQL trace and I'm focusing on the finding that the following tables are accessed repeatedly:
exec RELEC.dbo.zDP_B3900100F_1 NULL,NULL
exec RELEC.dbo.zDP_B3910300SS_1 'P0219910'
exec RELEC.dbo.zDP_B3970300SS_1 'P0219910'
exec RELEC.dbo.zDP_B3910100SS_1 'P0219910'
exec RELEC.dbo.zDP_B3900200SS_1 '<username>','011'
If I filter on just the B3910300 table, I find that this zDP procedure is called for it 18,454 times. This lead me to look at some of these tables and I find POP10100 has 17,700+ records and B3910100 has 17,400+ records.
Can you help me focus in on what is happening?
*This post is locked for comments