mirror of https://github.com/citusdata/citus.git
fix multi utilities vacuum test (#3699)
parent
9b26dcaf31
commit
659283c9a7
|
@ -399,6 +399,11 @@ WARNING: not propagating VACUUM command to worker nodes
|
||||||
HINT: Provide a specific table in order to VACUUM distributed tables.
|
HINT: Provide a specific table in order to VACUUM distributed tables.
|
||||||
-- check for multiple table vacuum
|
-- check for multiple table vacuum
|
||||||
VACUUM dustbunnies, second_dustbunnies;
|
VACUUM dustbunnies, second_dustbunnies;
|
||||||
|
\c - - - :worker_1_port
|
||||||
|
REFRESH MATERIALIZED VIEW prevcounts;
|
||||||
|
\c - - - :worker_2_port
|
||||||
|
REFRESH MATERIALIZED VIEW prevcounts;
|
||||||
|
\c - - - :master_port
|
||||||
-- check the current number of vacuum and analyze run on dustbunnies
|
-- check the current number of vacuum and analyze run on dustbunnies
|
||||||
SELECT run_command_on_workers($$SELECT wait_for_stats()$$);
|
SELECT run_command_on_workers($$SELECT wait_for_stats()$$);
|
||||||
run_command_on_workers
|
run_command_on_workers
|
||||||
|
|
|
@ -295,6 +295,13 @@ VACUUM;
|
||||||
-- check for multiple table vacuum
|
-- check for multiple table vacuum
|
||||||
VACUUM dustbunnies, second_dustbunnies;
|
VACUUM dustbunnies, second_dustbunnies;
|
||||||
|
|
||||||
|
\c - - - :worker_1_port
|
||||||
|
REFRESH MATERIALIZED VIEW prevcounts;
|
||||||
|
|
||||||
|
\c - - - :worker_2_port
|
||||||
|
REFRESH MATERIALIZED VIEW prevcounts;
|
||||||
|
|
||||||
|
\c - - - :master_port
|
||||||
-- check the current number of vacuum and analyze run on dustbunnies
|
-- check the current number of vacuum and analyze run on dustbunnies
|
||||||
SELECT run_command_on_workers($$SELECT wait_for_stats()$$);
|
SELECT run_command_on_workers($$SELECT wait_for_stats()$$);
|
||||||
SELECT run_command_on_workers($$SELECT pg_stat_get_vacuum_count(tablename::regclass) from pg_tables where tablename LIKE 'dustbunnies_%' limit 1$$);
|
SELECT run_command_on_workers($$SELECT pg_stat_get_vacuum_count(tablename::regclass) from pg_tables where tablename LIKE 'dustbunnies_%' limit 1$$);
|
||||||
|
|
Loading…
Reference in New Issue