Chapter 69. Adaptive Query Execution

Table of Contents

69.1. How It Works
69.1.1. AQE Triggers
69.1.2. Viewing AQE Details
69.1.3. Integration with pgpro_multiplan
69.1.4. Example

Adaptive query execution (AQE) enables reoptimizing a query, if during the execution some trigger indicates that it is non-optimal, so a more optimal plan should be looked for.

AQE is disabled by default and can be enabled with the configuration parameter aqe_enable.

AQE currently has the following limitations: