Solved

How do I find the progress of a detach job?

Posted on 2010-11-10
1
293 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Error - Query 6 26
Tsql query 6 22
Rename a column in the output 3 14
SQL Select to Group and Filter Data 5 13
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Viewers will learn how to use the UPDATE and DELETE statements to change or remove existing data from their tables. Make a table: Update a specific column given a specific row using the UPDATE statement: Remove a set of values using the DELETE s…

777 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