Solution
DEVELOPMENT
AND TESTING ENVIRONMENTS
In
development and testing environments, it is recommended to configure
the database with Simple Recovery Model. In such mode, the transaction
log is periodically cleaned automatically.
Refer to
https://msdn.microsoft.com/en-us/library/ms189272.aspx
To get back the space used by the transaction log refer to
the following article
https://technet.microsoft.com/en-us/library/ms178037(v=sql.105).aspx
If the Simple Recovery Model is active for your database and the
mentioned error is presented, it is more likely that the current log
space for the generated transactions is not enough, so you have to
increase the space size. If autogrow is enabled, the disc size may not
be enough.
For further information, please refer to
https://msdn.microsoft.com/en-us/library/ms175495(v=sql.110).aspx
PRODUCTION
ENVIRONMENT
In Production environments, it is recommended to
configure the database
with Full Recovery Model that guarantees a better system recovery in
case of a failure. This mode requires to periodically take a backup of
transaction log in order to clean up the space and keep the information
recorded in the log.
If the Full Recovery Model is active for your
database and the
mentioned error is presented, it is more likely that the current log
space for the generated transactions is not enough, so you have to
increase the space size. If autogrow is enabled, the disc size may not
be enough.
For further information, please refer to
https://msdn.microsoft.com/en-us/library/ms175495(v=sql.110).aspx
|