Skip to content

Commit

Permalink
Merge pull request #73 from webitel/v24.08
Browse files Browse the repository at this point in the history
v24.08
  • Loading branch information
navrotskyj authored Aug 27, 2024
2 parents a9f73e3 + 48c2b3a commit 9fca060
Showing 1 changed file with 29 additions and 1 deletion.
30 changes: 29 additions & 1 deletion store/sqlstore/migration/24.08/24.04-24.08.sql
Original file line number Diff line number Diff line change
Expand Up @@ -1856,4 +1856,32 @@ begin
attempt.member_id
);
end;
$$;
$$;


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'
);

0 comments on commit 9fca060

Please sign in to comment.