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

  • SEARCH
  • Home
  • 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 6369147
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T00:45:58+00:00 2026-05-25T00:45:58+00:00

A load that has been running in about 2 minutes suddenly turned into a

  • 0

A load that has been running in about 2 minutes suddenly turned into a 90 minute run before being manually cancelled.

It’s a simple shadow query:

select fields
into shadow_table
from table
where date = '8/23/2011'

date has a non-clustered index on it.

If I change the query to select

  • top 300000 it completes in 2 seconds
  • top 400000 it runs in 3 minutes
  • top 500000 I got bored waiting and cancelled it

Our server team shows a lot of self blocking while it runs.

Can anyone suggest possible bottlenecks to look at?

  • 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-25T00:45:59+00:00Added an answer on May 25, 2026 at 12:45 am

    Out of date stats.

    Self-blocking only occurs with parallelism, and super long parallel runs (compared to norms) ordinarily means out-of-date stats. It could also be a change in cardinality in the data.

    Step 1 should be running an UPDATE STATISTICS WITH FULLSCAN on your source table.

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

Sidebar

Related Questions

There was this problem that has been asked about implementing a load byte into
So I've been running into some speed issues with my site which has been
I have a c# .NET 2.0 application that has been running on W2K/IIS5 quite
We have a Linux server that has been running our MySQL 5.1 server. For
I have a Silverlight app that has to load an image dynamically, depending on
I'm using the .load() function to load a section of html that has some
I have a really silly problem that has cost me a load of time
I want to load a web view using loadUrl that has query params in
I want to detect when the document has just started to load, so that
One thing that has driven me nuts about SharePoint2007 is the apparent inability to

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.