Transactions log flushed bytes load


Job details

Name: Transactions log flushed bytes load
Platform: Sqlserver
Category: Performance
Description: Shows bytes flushed to transaction logs over time, total and top 5 databases.
Long description: Shows bytes flushed to transaction logs over time, total and top 5 databases.
Shows bytes flushed to transaction logs over time, total and top 5 databases.
Version: 1.3
Default schedule: 2,12,22,32,42,52 * * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘sqlserver’]/instance[maj_version = ‘2000′ & hasengine=‘YES’ & (engine_edition = ‘Microsoft SQL Server’ engine_edition = ‘Azure SQL Managed Instance’)]

Parameters

Name Default value Description
keep data for 5 Number of days to provide statistics for.

Job Summary

SELECT cntr_name AS [Database Name], cntr_value/1024 AS [KB Flushed], instance_name AS [Database Instance], getdate() AS [Date] FROM [master].[dbo].[sysperfinfo] WHERE cntr_value > 0 AND counter_name LIKE 'Log Bytes Flushed/sec%' ORDER BY cntr_value DESC;

Key Functionality and Execution

Dependencies

Implementation Details

The job creates and handles several tables and procedures:

Report Generation

The job supports generating comprehensive reports that include:

Report Detail Description
Transaction log – KB flushed history Shows per-minute flush rates for top 5 databases and total, ordered by date.
Average KB flushed history Displays average KB flushed per minute per day, helpful for identifying trends over time.

Periodic Execution

Performance considerations and tuning

By continuously tracking and analyzing transaction log flushes, the dbWatch Control Center can help database administrators ensure their SQL Server instances run efficiently and are capable of handling the required load without unexpected issues related to transaction log capacities.