Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2008
»
SQL Server 2008 Administration
»
How to manage log space issue, when you have...
How to manage log space issue, when you have more than 1 log file for a particular database?
Rate Topic
Display Mode
Topic Options
Author
Message
SQLCrazyCertified
SQLCrazyCertified
Posted Friday, January 18, 2013 6:53 PM
Old Hand
Group: General Forum Members
Last Login: Today @ 6:20 AM
Points: 312,
Visits: 1,868
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.
Post #1409146
SQLRNNR
SQLRNNR
Posted Friday, January 18, 2013 9:15 PM
SSCoach
Group: General Forum Members
Last Login: Today @ 10:25 AM
Points: 18,754,
Visits: 12,337
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 2008
SQL RNNR
Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #1409157
MyDoggieJessie
MyDoggieJessie
Posted Sunday, January 20, 2013 5:21 PM
SSCrazy
Group: General Forum Members
Last Login: 2 days ago @ 2:19 PM
Points: 2,037,
Visits: 3,761
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; They'll drag you down to their level and beat you with experience"
Post #1409326
SQLRNNR
SQLRNNR
Posted Sunday, January 20, 2013 10:44 PM
SSCoach
Group: General Forum Members
Last Login: Today @ 10:25 AM
Points: 18,754,
Visits: 12,337
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 2008
SQL RNNR
Posting Performance Based Questions - Gail Shaw
Posting Data Etiquette - Jeff Moden
Hidden RBAR - Jeff Moden
VLFs and the Tran Log - Kimberly Tripp
Post #1409358
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.