Logging and monitoring

PostgreSQL instance with ‘log_statement_stats’ enabled

Platform(s)
Compliance Frameworks

Brazilian General Data Protection (LGPD), CCM-CSA, CCPA, coppa, CPRA, Data Security Posture Management (DSPM) Best Practices, GCP CIS, hdh, iso_27001_2022, iso_27002_2022, New Zealand Information Security Manual, NIST 800-171, NIST 800-53, PDPA, pipeda, UK Cyber Essentials

Description

The log_statement_stats flag enables a crude profiling method for logging parser performance statistics which even though can be useful for troubleshooting, it may increase the amount of logs significantly and have performance overhead.