SQL Server – Transaction Log Backup Impact on Application Performance

backupsql serversql server 2014transaction-log

We have a database around terabytes of data. We are taking FULL backup every week, differential backup daily and transaction log backup after every hour. Sometimes this transaction log backup takes some time to complete (around 10-15 minutes). In this period we find that application(s) performance affects a lot(normally very slow) that use the same database.

Does transaction log backup affect the performance of the application?
If yes, then how to make speedup the process of taking transaction log backup?

Best Answer

Does transaction log backup affect the performance of the application?

The transaction log backup reads from the transaction log file and writes to the backup location. The application writes to the transaction log file when it changes the database. If the log file or the log backup location and the database files or tempdb files are on the same disk (or even perhaps on the same SAN controller), then the log backup could impact access to those files too.

Capturing a snapshot of the wait stats during the application slowness should provide more details on what impact the backup is having.

Taking the backups more frequently will spread out the impact. But you also may need more storage resources (more or faster disks) for this database. With large databases you need to provide enough resources for both operating and maintaining the database, and maintenance tasks (like log backups, index maintenance, schema modification) can require significant additional resources.