Chapter 77. Real-Time Query Replanning

Table of Contents

77.1. How It Works
77.1.1. Replan Triggers
77.1.2. Viewing Replanning Details
77.1.3. Integration with pgpro_multiplan
77.1.4. Example

Real-time query replanning enables replanning a query if during the query execution, some trigger indicates a non-optimal execution, so a more optimal plan should be looked for.

Real-time query replanning is disabled by default and can be enabled with the configuration parameter replan_enable.

Replanning currently has the following limitations: