PS Query Performance
I have a custom PS query which takes 5 min to complete when ran from PIA, but if I run the underlying SQL directly on the database, It completes in few seconds only.
Let me know if anyone have any clue on this issue and also let me know if other details are required.
Thanks