January 18, 2013 at 6:53 pm
Hi All,
If you encounter log space issue and if you have more than 1 log file for a database, how would you deal with it?
In my scenario, I have a database which has 2 log files in 2 different drive, I am not sure who created this....I know more than 1 log file won't help performance since logs are generated sequentially..
Anyway, my question is this......the second log file that host the drive has enough free space, however, the first log file drive is running out of space and this is creating the alert. How would you deal with this situation? Please share your experience.
Thanks,
SueTons.
Regards,
SQLisAwe5oMe.
January 18, 2013 at 9:15 pm
Somebody probably created the second file as a spillover due to the space issues.
If the drive where the first log file was created is out of space, I would migrate to the second file by emptying the first file and then delete that first file. Just use the second file on the drive that has adequate free space.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
January 20, 2013 at 5:21 pm
SQLRNNR (1/18/2013)
Somebody probably created the second file as a spillover due to the space issues.If the drive where the first log file was created is out of space, I would migrate to the second file by emptying the first file and then delete that first file. Just use the second file on the drive that has adequate free space.
Is there any impact on log shipping by doing this?
______________________________________________________________________________Never argue with an idiot; Theyll drag you down to their level and beat you with experience
January 20, 2013 at 10:44 pm
There is possibly an impact on logshipping. If the primary and secondary are configured the same for files and file paths, the change will likely propagate to the secondary without problem. If the filepaths are different then it is possible that the logshipping could be impacted.
Jason...AKA CirqueDeSQLeil
_______________________________________________
I have given a name to my pain...MCM SQL Server, MVP
SQL RNNR
Posting Performance Based Questions - Gail Shaw[/url]
Learn Extended Events
Viewing 4 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply