E
E
Eugene2018-08-31 10:04:27
Journaling
Eugene, 2018-08-31 10:04:27

How to limit SQL 2012 log size?

Good afternoon.
Is it possible to limit the size of the "*.idf" file in SQL 2012. The size of the database file is about 100GB, every 2-3 months the log file grows to 700-900GB.
For now, I reduce it manually in the following way:
1) I change the recovery model from full to simple
2) Compress the log file to zero
3) Return the recovery model back to full
Is it possible to somehow limit the file size to, for example, 200GB, while leaving the recovery model "full"?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
res2001, 2018-08-31
@wesow

Make regular backups - the log is automatically cleared after a backup.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question