I have a database set-up whereby each day the data is deleted and new data is appended from a text file. The transaction log was growing out of control so I ran a DBCC Shrink (it went back to Space allocated 1mb) and set the Database to be simple not full. the space allocated is back up to 177mb and the ctbalances.mdf file is 55mb (which is ok) yet the ldf file is 176mb (which is better than before but still high) have I done this right ?
I have another database (which is a 3rd party software company database) which has lots and lots of tables but i can't set to simple - i will need to keep 2 weeks worth of backups and potentially restore to varying points in time.
What is my best approach re. this one - do i need to enable the transaction log backup , say once weekly ?
Finally, is it always good practice to have your mdf file in the data directory and your ldf file in the log directory ?
thanks very much
regards
richard
I have another database (which is a 3rd party software company database) which has lots and lots of tables but i can't set to simple - i will need to keep 2 weeks worth of backups and potentially restore to varying points in time.
What is my best approach re. this one - do i need to enable the transaction log backup , say once weekly ?
Finally, is it always good practice to have your mdf file in the data directory and your ldf file in the log directory ?
thanks very much
regards
richard