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!