Co-Authored By:
Regarding this, why is SQL Server transaction log full?
When the transaction log becomes full, SQL Server Database Engine issues a 9002 error. The log can fill when the database is online, or in recovery. If the log fills while the database is online, the database remains online but can only be read, not updated.
- Backing up the log.
- Freeing disk space so that the log can automatically grow.
- Moving the log file to a disk drive with sufficient space.
- Increasing the size of a log file.
- Adding a log file on a different disk.
Beside this, what happens when SQL log file is full?
When the transaction logs are full, you must reduce the size of the transaction logs. To do this, you have to truncate the inactive transactions in your transaction log, and then shrink the transaction log file. When the transaction logs are full, immediately back up your transaction log file.
It is possible that you're just running out of disk space and it is causing your transaction log to error. You might be able to free disk space on the disk drive that contains the transaction log file for the database by deleting or moving other files. The freed disk space will allow for the log file to enlarge.