Skip to main content

Disable SQL Query Optimization

Choose your installation type. These steps change the Query Optimization setting and then restart or recreate the Releem Agent.

  1. Edit the Releem Agent configuration file:
nano /opt/releem/releem.conf
  1. Change the setting:
query_optimization=false
  1. Restart the agent:
systemctl restart releem-agent

Verify the change​

Confirm that the Releem Agent service or container is running after the restart or recreation. Then verify that the active configuration uses query_optimization=false, RELEEM_QUERY_OPTIMIZATION=false, or QueryOptimization set to false, depending on your installation type.

This procedure does not establish whether disabling Query Optimization deletes previously collected query data or revokes database permissions. Do not assume that either action occurs. Review database access separately, and contact Releem support if you need a data-retention or access-removal procedure.