name:Log Statement Stats Enabled in PostgreSQL Database Instances
author:princechaddha
severity:medium
description:|
Ensure that the "log_statement_stats" database flag is disabled for your Google Cloud PostgreSQL database instances in order to avoid performance issues caused by excessive logging. The "log_statement_stats" configuration flag controls the inclusion of end-to-end performance statistics within PostgreSQL logs for each SQL query.
impact:|
Enabling the "log_statement_stats" flag may lead to significant performance degradation due to excessive logging, impacting the database's overall efficiency.
remediation:|
Disable the "log_statement_stats" flag in your PostgreSQL database instance configuration to prevent performance issues caused by excessive logging.