mirror of https://github.com/citusdata/citus.git
Explain why we have alternative multi_mx_hide_shard_names
parent
ed9a66c3ee
commit
15438e2abc
|
|
@ -1,6 +1,12 @@
|
|||
--
|
||||
-- Hide shard names on MX worker nodes
|
||||
--
|
||||
-- PostgreSQL 18 planner changes (probably AIO and updated cost model) make
|
||||
-- sequential scans cheaper, so the psql `\d table`-style query that uses a
|
||||
-- regex on `pg_class.relname` no longer chooses an index scan. This causes
|
||||
-- a plan difference.
|
||||
-- Alternative test output can be removed when we drop PG17 support
|
||||
--
|
||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1130000;
|
||||
-- make sure that the signature of the citus_table_is_visible
|
||||
-- and pg_table_is_visible are the same since the logic
|
||||
|
|
|
|||
|
|
@ -1,6 +1,12 @@
|
|||
--
|
||||
-- Hide shard names on MX worker nodes
|
||||
--
|
||||
-- PostgreSQL 18 planner changes (probably AIO and updated cost model) make
|
||||
-- sequential scans cheaper, so the psql `\d table`-style query that uses a
|
||||
-- regex on `pg_class.relname` no longer chooses an index scan. This causes
|
||||
-- a plan difference.
|
||||
-- Alternative test output can be removed when we drop PG17 support
|
||||
--
|
||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1130000;
|
||||
-- make sure that the signature of the citus_table_is_visible
|
||||
-- and pg_table_is_visible are the same since the logic
|
||||
|
|
|
|||
|
|
@ -1,6 +1,12 @@
|
|||
--
|
||||
-- Hide shard names on MX worker nodes
|
||||
--
|
||||
-- PostgreSQL 18 planner changes (probably AIO and updated cost model) make
|
||||
-- sequential scans cheaper, so the psql `\d table`-style query that uses a
|
||||
-- regex on `pg_class.relname` no longer chooses an index scan. This causes
|
||||
-- a plan difference.
|
||||
-- Alternative test output can be removed when we drop PG17 support
|
||||
--
|
||||
|
||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1130000;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue