Skip to content

Analyze parent table after partitioning

Max Orefice requested to merge morefice/add-analyze-partition-parent-table into master

Ref: #439591 (closed)

What does this MR do and why?

This MR makes sure we analyze on a weekly basis the new partition table we create.

We will no longer need to create a separate migration to analyze the parent table as below 👇

disable_statement_timeout do
  execute('ANALYZE VERBOSE p_ci_pipeline_variables;')
end
Edited by Max Orefice

Merge request reports