diff --git a/store/sqlstore/migration/24.08/24.04-24.08.sql b/store/sqlstore/migration/24.08/24.04-24.08.sql index 60d957e..da83240 100644 --- a/store/sqlstore/migration/24.08/24.04-24.08.sql +++ b/store/sqlstore/migration/24.08/24.04-24.08.sql @@ -1856,4 +1856,32 @@ begin attempt.member_id ); end; -$$; \ No newline at end of file +$$; + + +ALTER TABLE call_center.cc_calls + SET ( + fillfactor='20', log_autovacuum_min_duration='0', autovacuum_analyze_scale_factor='0.05', autovacuum_enabled='1', autovacuum_vacuum_cost_delay='20', autovacuum_vacuum_threshold='100', autovacuum_vacuum_scale_factor='0.01' + ); + +ALTER TABLE call_center.cc_member_attempt + SET ( + fillfactor='20', log_autovacuum_min_duration='0', autovacuum_analyze_scale_factor='0.05', autovacuum_enabled='1', autovacuum_vacuum_cost_delay='20', autovacuum_vacuum_threshold='100', autovacuum_vacuum_scale_factor='0.01' + ); +ALTER TABLE call_center.cc_agent + SET ( + fillfactor='20', log_autovacuum_min_duration='0', autovacuum_analyze_scale_factor='0.05', autovacuum_enabled='1', autovacuum_vacuum_cost_delay='20', autovacuum_vacuum_threshold='100', autovacuum_vacuum_scale_factor='0.01' + ); +ALTER TABLE call_center.cc_agent_channel + SET ( + fillfactor='20', log_autovacuum_min_duration='0', autovacuum_analyze_scale_factor='0.05', autovacuum_enabled='1', autovacuum_vacuum_cost_delay='20', autovacuum_vacuum_threshold='100', autovacuum_vacuum_scale_factor='0.01' + ); +ALTER TABLE call_center.cc_queue_statistics + SET ( + fillfactor='20', log_autovacuum_min_duration='0', autovacuum_analyze_scale_factor='0.05', autovacuum_enabled='1', autovacuum_vacuum_cost_delay='20', autovacuum_vacuum_threshold='100', autovacuum_vacuum_scale_factor='0.01' + ); + +ALTER TABLE call_center.cc_member + SET ( + fillfactor='20', log_autovacuum_min_duration='0', autovacuum_vacuum_scale_factor='0.01', autovacuum_analyze_scale_factor='0.05', autovacuum_vacuum_cost_delay='20', autovacuum_enabled='1', autovacuum_analyze_threshold='2000' + ); \ No newline at end of file