Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 811315
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T01:01:32+00:00 2026-05-15T01:01:32+00:00

I have two SQL Servers, one for production, and one as an archive. Every

  • 0

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 care of this problem.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T01:01:33+00:00Added an answer on May 15, 2026 at 1:01 am

    Do you have an automated maintenance plan to update statistics, rebuild indexes, etc.? If not, SQL Server may still be building its query plans on your older statistics of smaller tables.

    SQL Server generates parallel query plans automatically, if certain conditions are met. From an article on MSDN:

    1.Is SQL Server running on a computer with more than one microprocessor or
    CPU, such as a symmetric
    multiprocessing computer (SMP)? Only
    computers with more than one CPU can
    use parallel queries.

    2.What is the number of concurrent users active on the SQL Server
    installation at this moment? SQL
    Server monitors CPU usage and adjusts
    the degree of parallelism at the query
    startup time. Lower degrees of
    parallelism are chosen if CPU usage is
    high.

    3.Is there sufficient memory available for parallel query execution? Each
    query requires a certain amount of
    memory to execute. Executing a
    parallel query requires more memory
    than a nonparallel query. The amount
    of memory required for executing a
    parallel query increases with the
    degree of parallelism. If the memory
    requirement of the parallel plan for a
    given degree of parallelism cannot be
    satisfied, SQL Server decreases the
    degree of parallelism automatically or
    completely abandons the parallel plan
    for the query in the given workload
    context and executes the serial plan.

    4.What is the type of query executed? Queries heavily consuming CPU cycles
    are the best candidates for a parallel
    query. For example, joins of large
    tables, substantial aggregations, and
    sorting of large result sets are good
    candidates. Simple queries, often
    found in transaction processing
    applications, find the additional
    coordination required to execute a
    query in parallel outweigh the
    potential performance boost. To
    distinguish between queries that
    benefit from parallelism and those
    that do not benefit, SQL Server
    compares the estimated cost of
    executing the query with the cost
    threshold for parallelism value.
    Although not recommended, users can
    change the default value of 5 using
    sp_configure.

    5.Is there a sufficient amount of rows processed in the given stream? If the
    query optimizer determines the number
    of rows in a stream is too low, it
    does not introduce exchange operators
    to distribute the stream.
    Consequently, the operators in this
    stream are executed serially.
    Executing the operators in a serial
    plan avoids scenarios when the
    startup, distribution, and
    coordination cost exceeds the gains
    achieved by parallel operator
    execution.

    Other factors:

    Is SQL Server configured to have affinity to a single processor?

    Is the max degree of parallelism option is set to 1?

    — EDIT —

    Have you tried profiling this process? It would be interesting to see the query plan SQL Server generates.

    Do you have sample code you can post?

    If you have an automated nightly backup job, can you simply restore the backup to the archive?

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.