From: Galen Charlton Date: Mon, 27 Mar 2023 19:52:18 +0000 (-0400) Subject: LP#1972738: add an ANALYZE after the index gets created X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=21befeda1c4a70e912a315cabb147232e186322b;p=evergreen%2Fpines.git LP#1972738: add an ANALYZE after the index gets created Signed-off-by: Galen Charlton --- diff --git a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.add-hopeless-date-index.sql b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.add-hopeless-date-index.sql index d07cd400b4..7ed0399fe4 100644 --- a/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.add-hopeless-date-index.sql +++ b/Open-ILS/src/sql/Pg/upgrade/XXXX.schema.add-hopeless-date-index.sql @@ -5,3 +5,5 @@ BEGIN; CREATE INDEX hold_request_hopeless_date_idx ON action.hold_request (hopeless_date); COMMIT; + +ANALYZE action.hold_request;