Hi All,
I have a few questions.
Our company's SQL databases were created by programmers, then left to run themselves without maintenance.
Our databases log files have swelled to fill the database server's 33 GB hard drive. This has prompted us to investigate the need to change the settings from Unrestricted Growth to setting some limit, and to create a maintenance plan to shrink the database data and log files as needed.
1. What limits should we set on the data files and log
files? What is the rule of thumb?
2. If either set limit is reached, does the database
simply cease to add new records? Or will it do some
self purging and compressing? What is the admin
supposed to do when the limit is reached?
3. What is typically done to offload the records one
wishes to purge, say, at the end of a fiscal year? Do
you copy the MDB onto other media, then delete old
records from the database?
4. What would one do to auto-purge the oldest
transaction , log records, to keep the records from
the last, say, 60 days, in the same way that the
Windows Event Viewer is set up? (Or is that not a
good thing to do?)
Any suggestions will be greatly appreciated.
Thank in advance.
-Angel
I have a few questions.
Our company's SQL databases were created by programmers, then left to run themselves without maintenance.
Our databases log files have swelled to fill the database server's 33 GB hard drive. This has prompted us to investigate the need to change the settings from Unrestricted Growth to setting some limit, and to create a maintenance plan to shrink the database data and log files as needed.
1. What limits should we set on the data files and log
files? What is the rule of thumb?
2. If either set limit is reached, does the database
simply cease to add new records? Or will it do some
self purging and compressing? What is the admin
supposed to do when the limit is reached?
3. What is typically done to offload the records one
wishes to purge, say, at the end of a fiscal year? Do
you copy the MDB onto other media, then delete old
records from the database?
4. What would one do to auto-purge the oldest
transaction , log records, to keep the records from
the last, say, 60 days, in the same way that the
Windows Event Viewer is set up? (Or is that not a
good thing to do?)
Any suggestions will be greatly appreciated.
Thank in advance.
-Angel