December 30, 2003 at 9:26 am
Hello,
Once a new data file is added, when will the server start storing data in the new file/log ?
Thanks
J
Edited by - loiter99 on 12/30/2003 09:26:07 AM
December 30, 2003 at 10:15 am
Yes. If you add a file to a filegroup, then SQL starts filling both files.
I believe adding a second log file works the same way, SQL starts splitting the load. However, from past experience, I would be careful with having more than one log file.
Michelle
Michelle
December 31, 2003 at 9:12 am
SQL Server Does Not split the I/O between the transaction log files. It writes to them sequentially, filling the first one, then the second. There is no performance to benefit having more than one t-log file.
December 31, 2003 at 9:16 am
Set a limit on the max file size of the current file to force all your data to the
new file immediately.
I am curious of new log file usage. Since it is sequential, should it not fill
the first one before it starts using the second one?
December 31, 2003 at 9:28 am
quote:
Set a limit on the max file size of the current file to force all your data to thenew file immediately.
I am curious of new log file usage. Since it is sequential, should it not fill
the first one before it starts using the second one?
That's exactly right. The only thing that a second log file buys you is more disk space (if you are running low on disk space on your t-log disk, you can add another transaction log file on another disk and keep from having to perform a t-log backup or truncating the log). It will not split writes between two files.
Viewing 5 posts - 1 through 4 (of 4 total)
You must be logged in to reply to this topic. Login to reply