SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


index reorganize - PAGEIOLATCH_EX - check progress?


index reorganize - PAGEIOLATCH_EX - check progress?

Author
Message
ztoddw
ztoddw
SSC Journeyman
SSC Journeyman (92 reputation)SSC Journeyman (92 reputation)SSC Journeyman (92 reputation)SSC Journeyman (92 reputation)SSC Journeyman (92 reputation)SSC Journeyman (92 reputation)SSC Journeyman (92 reputation)SSC Journeyman (92 reputation)

Group: General Forum Members
Points: 92 Visits: 135
I'm doing a reorganize index which has been running about 3 hours so far- I wish I could somehow track the progress- is there a way?

It's doing a ton of waiting on PAGEIOLATCH_EX on different pages- is this what makes it take so long? It's a huge table- data space 12 GB, index space 5 GB, row count 15 million - and that's what's left after we just deleted half the data in there. I don't suppose there's a way to avoid the PAGEIOLATCH while reorganizing...

Maybe I should have tried updating stats first... but I don't want to stop the reorganize if I'm just gonna have to restart it later if it won't go faster.


We currently don't have a regular schedule of reorganizing indexes or updating stats- we should probably start doing that.


On a somewhat related note, I have another question... is there a way to put the db files on a different physical server than the one that SQL Server is actually running on?

The reason we deleted half the data was because we were running out of space on that server. So we copied the last full db backup to another server and then deleted tons of the old records. Our DB is simple recovery mode, so the space taken up by all those old records should eventually be reclaimed, but it would be awesome if we could move our db data files off the server that only has 6 GB left, over to our other server that has almost 6 TB of space!
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search