SQL Server Agent Job Running Slow

前端 未结 4 1106
谎友^
谎友^ 2021-02-16 00:01

I am executing a stored procedure using SQL Server Agent Job in SQL Server 2005.

This job was running fast until yesterday. Since yesterday this job is taking more tha

4条回答
  •  旧巷少年郎
    2021-02-16 00:29

    I've noticed that SQL Agent jobs ignore the server's MAXDOP setting and run everything with a MAXDOP of 1. If I run a stored procedure in a query windows, it obeys the server settings and uses 4 processes. If I use SQL Agent, any stored procedure I run uses only one process.

提交回复
热议问题