Transaction statistics


Job details

Name: Transaction statistics
Platform: Postgres
Category: Performance
Description: Gathers information on commits and rollbacks in the databases and generates statistics.
Long description: Task gathers information about commits and rollbacks in the database and generates statistics.
Version: 1.8
Default schedule: 0,20,40 * * *
Requires engine install: Yes
Compatibility tag: .[type=‘instance’ & databasetype=‘postgres’]/.[hasengine=‘YES’]

Parameters

Name Default value Description
keep data for 7 The number of days to keep the data for.
ignore database template0, template1 Databases you which to ignore both in gathering of statistics and displaying in report

Job Summary

SELECT datname, commits, rollbacks FROM pg_stat_database WHERE datname NOT IN (SELECT datname FROM dbw_transaction_statistics_ignore);

Implementations and Implementations Details

Dependencies and Cleanup

Scheduling and Execution

Reporting Structure

Versioning and Upgrades

This job setup offers a comprehensive approach to monitoring transaction statistics effectively in PostgreSQL environments, ensuring high levels of data integrity and performance understanding.