Fixed statistics means tuning the intended statistics so that they are always used to prevent performance degradation due to changes in query plans. This is achieved by the pg_dbms_stats extension. Operator can schedule statistics to be fixed. The user simply defines a schedule in the FEPCluster custom resource, and the operator automatically fixes the statistics that the user intended.
The following figure shows the procedure for executing the schedule. For more information, refer to "5.14 Operation of Fixed Statistics".
STEP1: Verify the performance of the statistics in the FEPCluster validation environment
STEP2: Store statistics from FEPCluster in validation environment to object storage
STEP3: Define a schedule for fixing statistics to FEPCluster custom resources in a production environment
STEP4: Deploy FEPCluster custom resources for production and schedule statistics consolidation
The binary file download of statistics from object storage occurs as needed.
You can also back up statistics on a regular basis. In the event of performance degradation due to changes in query plan, the backed up statistics can be used to achieve performance stabilization.
pg_dbms_stats allows you to do the following:
Backup
Restore
Lock
Unlock
Purge
Cleanup
Import
Use FEPAction to perform various operations. For more information, refer to "FEPAction Specific Operation Details" in the Reference.