name:Log Executor Stats Enabled in PostgreSQL Database Instances
author:princechaddha
severity:medium
description:|
Ensure that the log_executor_stats database flag is turned off for your Google Cloud PostgreSQL database instances in order to avoid performance issues caused by excessive logging. The log_executor_stats flag enables a crude profiling method for logging PostgreSQL executor performance statistics. The PostgreSQL executor is responsible for executing the plan handed over by the PostgreSQL planner/optimizer. The task of the PostgreSQL planner/optimizer is to create an optimal execution plan.
impact:|
Enabling the log_executor_stats flag may lead to significant performance degradation due to excessive logging, impacting the database's overall efficiency.
remediation:|
Disable the log_executor_stats flag in your PostgreSQL database instance configuration to prevent performance issues caused by excessive logging.