Link to home
Start Free TrialLog in
Avatar of goprasad
goprasad

asked on

Set-up Maximum Log File Size growth in SQL 2005

Hello experts,

Please advise waht is the best practice to set-up max file log size growth in SQL 2005. As per the attached screenshot, it is set to 2 TB, my plan is to set it to 2 GB so that log size will not grow beyond 2 GB.

Is this correct?

Please advise.

Thanks and Regards User generated image
Avatar of Wizilling
Wizilling
Flag of New Zealand image

depends on how big your datafile is . if its a huge datafile and you are doing huge updates or inserts or even reindexing, or sorting then 2GBs will fill up quite quickly. i would suggest you set it to grow by 10% and monitor it for a few weeks. If you are satisfied that xGBs is the max file to keep then set it to that.

ASKER CERTIFIED SOLUTION
Avatar of Anthony Perkins
Anthony Perkins
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Its better to analyze your database growth with 2 TB\unlimited growth option for a week and then set your criteria with this. As others said above, the log growth completely depends upon the transactions happening on the server, so I think this is the correct way. Apart from that the percentage of size growth also matters a lot. Consider it too for configuring your log.