?
Solved

How do I find the progress of a detach job?

Posted on 2010-11-10
1
Medium Priority
?
320 Views
Last Modified: 2012-05-10
Using SQL Management Studio, I ran a detach command against a SQL 2000 database.

Tha databse is large and consists of 3 files.

When I've done this to other databases to relocate them on the server, usually a detach takes just a few minutes.

This one has taken over 3 hours now.

I've tried to find a method to see what its doing, but I cannot find a way to tell. I just see that green circle spinning and the word "Executing"

I noticed int he Activity Monitor I have the option to Kill the Process, but I'm not sure how harsh that would be to the database at this point.

Is it safe to kill the process and try again another time?

How can I find out exactly what progress has been made?

Thanks.
0
Comment
Question by:jvleigh221
1 Comment
 

Accepted Solution

by:
jvleigh221 earned 0 total points
ID: 34108353
Update: 4hrs now and the database finally detached.
As I was looking in the Activity Monitor I found several time the job was waiting with PAGEIOLATCH_SH.
Evidently this may point to a disk issue. Thus the processing time was significantly impacted.
In moving the files to their new location on the same server, just a different drive letter, I'm experiencing file transfer times way beyond normal. 20GB file from one drive letter to another - 45minutes.
Something is slowing the disk down.
Anyway, thanks to all who came across this question. I would still love to know the answer to the original question, but now that the issue is in a different phase I fell I should close the question.
 
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently we ran in to an issue while running some SQL jobs where we were trying to process the cubes.  We got an error saying failure stating 'NT SERVICE\SQLSERVERAGENT does not have access to Analysis Services. So this is a way to automate that wit…
What if you have to shut down the entire Citrix infrastructure for hardware maintenance, software upgrades or "the unknown"? I developed this plan for "the unknown" and hope that it helps you as well. This article explains how to properly shut down …
Via a live example combined with referencing Books Online, show some of the information that can be extracted from the Catalog Views in SQL Server.
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Suggested Courses

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question