July 1, 2010 at 2:14 pm
Hello Gurus
Please advice ASAP
Ran out of space on secondary server. What need to be done immediately. The databses on this server are participating in log shipping. How should I gain back space.
July 1, 2010 at 2:55 pm
Take a look at the database sizes, if it has a lot unallocated shrink it. If the log file is huge take a backup.
July 1, 2010 at 2:58 pm
this is a secondary server, databses are in stanby/read-only mode, how can we shrink.
July 1, 2010 at 3:03 pm
vsm198 (7/1/2010)
this is a secondary server, databses are in stanby/read-only mode, how can we shrink.
I think you can shrink the primary database and it will shrink the other database.
July 1, 2010 at 3:10 pm
You likely need to also add space. Shrinking is a temporary fix. As data grows, reindexes, etc., the files will grow again.
July 1, 2010 at 4:06 pm
If you ran out of space on the secondary but not the primary sounds like they are not sized the same, they really should be.
For what its worth a shrink of the databases on the primary will be carried over to the secondary. However unless you use the truncateonly option in the shrink you will fragment the data in your database and you don't want to do that. As Steve said they will only grow again anyway.
---------------------------------------------------------------------
July 1, 2010 at 4:12 pm
Thank you Gurus
I shrinked the PR databse , took a full backup then restored it on Secondary server. This gave space to breathe.
Thank you again
July 1, 2010 at 4:25 pm
Shrink, backup log, apply log through log shipping would have worked as well.
---------------------------------------------------------------------
July 1, 2010 at 4:27 pm
This happend due to a huge transaction log, so I shrinked the log file on PR, and then took a full backup of db and then restored. This gave some space, now we are in the process of adding space to drive which should be the permanent fix.
Thank You again.
Viewing 9 posts - 1 through 8 (of 8 total)
You must be logged in to reply to this topic. Login to reply