Hi all,
I am facing a blocking scenario in my production server where a An third party Application is connecting to SQl server.We update statistics in the database as part of daily maintenance and this is getting blocked by a application thread.
The update stats step is trying to Acquire an Exclusive lock on the Table ACTIVE_LOGINS which is being blocked by an application thread with the following statement.
The updatestats is being blocked by another thread with sql handle FETCH API_CURSOR0000000000006BA2.
This seems to be an API cursor call which executes a sql select on the ACTIVE_LOGINS table.
I have turned off auto upddate statistics on the table and also CURSOR_Close_ON_COMMIT ON.But still the blocking is there.
Any help regarding this issue is much appreciated.