Closed jimk-bdrc closed 6 years ago
GetReadies is a pig. When you want it to return 200 of the next works, it can take 20 sec, because the server sproc returns 200 sets. Use SSCursor, and break up the queries into small chunks, which will take less than 30 sec to complete.
There's no way to get the speed up to more than 0.76 calls/sec. This is because of some ferocious temporary tables in the SPROC. See commit aad1efcc
GetReadies is a pig. When you want it to return 200 of the next works, it can take 20 sec, because the server sproc returns 200 sets. Use SSCursor, and break up the queries into small chunks, which will take less than 30 sec to complete.