How do I make use of multiple cores in Large SQL Server Queries?

Posted by Jonathan Beerhalter on Stack Overflow See other posts from Stack Overflow or by Jonathan Beerhalter
Published on 2010-05-26T13:07:21Z Indexed on 2010/05/26 13:11 UTC
Read the original article Hit count: 167

Filed under:

I have two SQL Servers, one for production, and one as an archive. Every night, we've got a SQL job that runs and copies the days production data over to the archive. As we've grown, this process takes longer and longer and longer. When I watch the utilization on the archive server running the archival process, I see that it only ever makes use of a single core. And since this box has eight cores, this is a huge waste of resources. The job runs at 3AM, so it's free to take any and all resources it can find.

So what I need to do if figure out how to structure SQL Server jobs so they can take advantage of multiple cores, but I can't find any literature on tackling this problem. We're running SQL Server 2005, but I could certainly push for an upgrade if 2008 takes of this problem.

© Stack Overflow or respective owner

Related posts about sql-server-2005