mirror of https://github.com/citusdata/citus.git
Remove ALTER SEQUENCE from parallel groups
Removing these has no side effect, and in the (current) PostgreSQL 10, an ERROR is printed during concurrent sequence modification.pull/1377/head
parent
db11324ac7
commit
d6cccee5bc
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_AGG_APPROXIMATE_DISTINCT
|
-- MULTI_AGG_APPROXIMATE_DISTINCT
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 340000;
|
|
||||||
-- Create HLL extension if present, print false result otherwise
|
-- Create HLL extension if present, print false result otherwise
|
||||||
SELECT CASE WHEN COUNT(*) > 0 THEN
|
SELECT CASE WHEN COUNT(*) > 0 THEN
|
||||||
'CREATE EXTENSION HLL'
|
'CREATE EXTENSION HLL'
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_AGG_APPROXIMATE_DISTINCT
|
-- MULTI_AGG_APPROXIMATE_DISTINCT
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 340000;
|
|
||||||
-- Create HLL extension if present, print false result otherwise
|
-- Create HLL extension if present, print false result otherwise
|
||||||
SELECT CASE WHEN COUNT(*) > 0 THEN
|
SELECT CASE WHEN COUNT(*) > 0 THEN
|
||||||
'CREATE EXTENSION HLL'
|
'CREATE EXTENSION HLL'
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
-- This test checks that the group-by columns don't need to be above an average
|
-- This test checks that the group-by columns don't need to be above an average
|
||||||
-- expression, and can be anywhere in the projection order. This is in response
|
-- expression, and can be anywhere in the projection order. This is in response
|
||||||
-- to a bug we had due to the average expression introducing new columns.
|
-- to a bug we had due to the average expression introducing new columns.
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 450000;
|
|
||||||
SELECT
|
SELECT
|
||||||
sum(l_quantity) as sum_qty,
|
sum(l_quantity) as sum_qty,
|
||||||
sum(l_extendedprice) as sum_base_price,
|
sum(l_extendedprice) as sum_base_price,
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_BASIC_QUERIES
|
-- MULTI_BASIC_QUERIES
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 440000;
|
|
||||||
-- Execute simple sum, average, and count queries on data recently uploaded to
|
-- Execute simple sum, average, and count queries on data recently uploaded to
|
||||||
-- our partitioned table.
|
-- our partitioned table.
|
||||||
SELECT count(*) FROM lineitem;
|
SELECT count(*) FROM lineitem;
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_COMPLEX_EXPRESSIONS
|
-- MULTI_COMPLEX_EXPRESSIONS
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 420000;
|
|
||||||
-- Check that we can correctly handle complex expressions and aggregates.
|
-- Check that we can correctly handle complex expressions and aggregates.
|
||||||
SELECT sum(l_quantity) / avg(l_quantity) FROM lineitem;
|
SELECT sum(l_quantity) / avg(l_quantity) FROM lineitem;
|
||||||
?column?
|
?column?
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_COUNT_TYPE_CONVERSION
|
-- MULTI_COUNT_TYPE_CONVERSION
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 400000;
|
|
||||||
-- Verify that we can sort count(*) results correctly. We perform this check as
|
-- Verify that we can sort count(*) results correctly. We perform this check as
|
||||||
-- our count() operations execute in two steps: worker nodes report their
|
-- our count() operations execute in two steps: worker nodes report their
|
||||||
-- count() results, and the master node sums these counts up. During this sum(),
|
-- count() results, and the master node sums these counts up. During this sum(),
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_LIMIT_CLAUSE
|
-- MULTI_LIMIT_CLAUSE
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 730000;
|
|
||||||
-- Display debug messages on limit clause push down.
|
-- Display debug messages on limit clause push down.
|
||||||
SET client_min_messages TO DEBUG1;
|
SET client_min_messages TO DEBUG1;
|
||||||
-- Check that we can correctly handle the Limit clause in distributed queries.
|
-- Check that we can correctly handle the Limit clause in distributed queries.
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_LIMIT_CLAUSE_APPROXIMATE
|
-- MULTI_LIMIT_CLAUSE_APPROXIMATE
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 720000;
|
|
||||||
-- Display debug messages on limit clause push down.
|
-- Display debug messages on limit clause push down.
|
||||||
SET client_min_messages TO DEBUG1;
|
SET client_min_messages TO DEBUG1;
|
||||||
-- We first look at results with limit optimization disabled. This first query
|
-- We first look at results with limit optimization disabled. This first query
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
-- Tests related to distributed DDL commands on mx cluster
|
-- Tests related to distributed DDL commands on mx cluster
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1600000;
|
|
||||||
SELECT * FROM mx_ddl_table ORDER BY key;
|
SELECT * FROM mx_ddl_table ORDER BY key;
|
||||||
key | value
|
key | value
|
||||||
-----+-------
|
-----+-------
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 840000;
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
-- test router planner functionality for single shard select queries
|
-- test router planner functionality for single shard select queries
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_MX_SCHEMA_SUPPORT
|
-- MULTI_MX_SCHEMA_SUPPORT
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1210000;
|
|
||||||
-- connect to a worker node and run some queries
|
-- connect to a worker node and run some queries
|
||||||
\c - - - :worker_1_port
|
\c - - - :worker_1_port
|
||||||
-- test very basic queries
|
-- test very basic queries
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_MX_TPCH_QUERY1
|
-- MULTI_MX_TPCH_QUERY1
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1310000;
|
|
||||||
-- connect to the coordinator
|
-- connect to the coordinator
|
||||||
\c - - - :master_port
|
\c - - - :master_port
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
|
@ -38,7 +37,6 @@ ORDER BY
|
||||||
|
|
||||||
-- connect one of the workers
|
-- connect one of the workers
|
||||||
\c - - - :worker_1_port
|
\c - - - :worker_1_port
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1310000;
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
-- Query #1 from the TPC-H decision support benchmark
|
-- Query #1 from the TPC-H decision support benchmark
|
||||||
|
@ -73,7 +71,6 @@ ORDER BY
|
||||||
|
|
||||||
-- connect to the other node
|
-- connect to the other node
|
||||||
\c - - - :worker_2_port
|
\c - - - :worker_2_port
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1310000;
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
-- Query #1 from the TPC-H decision support benchmark
|
-- Query #1 from the TPC-H decision support benchmark
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
-- Query #10 from the TPC-H decision support benchmark. Unlike other TPC-H tests,
|
-- Query #10 from the TPC-H decision support benchmark. Unlike other TPC-H tests,
|
||||||
-- we don't set citus.large_table_shard_count here, and instead use the default value
|
-- we don't set citus.large_table_shard_count here, and instead use the default value
|
||||||
-- coming from postgresql.conf or multi_task_tracker_executor.conf.
|
-- coming from postgresql.conf or multi_task_tracker_executor.conf.
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1300000;
|
|
||||||
-- connect to master
|
-- connect to master
|
||||||
\c - - - :master_port
|
\c - - - :master_port
|
||||||
SELECT
|
SELECT
|
||||||
|
@ -65,7 +64,6 @@ LIMIT 20;
|
||||||
|
|
||||||
-- connect one of the workers
|
-- connect one of the workers
|
||||||
\c - - - :worker_1_port
|
\c - - - :worker_1_port
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1300000;
|
|
||||||
SELECT
|
SELECT
|
||||||
c_custkey,
|
c_custkey,
|
||||||
c_name,
|
c_name,
|
||||||
|
@ -124,7 +122,6 @@ LIMIT 20;
|
||||||
|
|
||||||
-- connect to the other worker
|
-- connect to the other worker
|
||||||
\c - - - :worker_2_port
|
\c - - - :worker_2_port
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1300000;
|
|
||||||
SELECT
|
SELECT
|
||||||
c_custkey,
|
c_custkey,
|
||||||
c_name,
|
c_name,
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_MX_TPCH_QUERY12
|
-- MULTI_MX_TPCH_QUERY12
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1290000;
|
|
||||||
-- connect to the coordinator
|
-- connect to the coordinator
|
||||||
\c - - - :master_port
|
\c - - - :master_port
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
|
@ -43,7 +42,6 @@ ORDER BY
|
||||||
|
|
||||||
-- connect one of the workers
|
-- connect one of the workers
|
||||||
\c - - - :worker_1_port
|
\c - - - :worker_1_port
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1290000;
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
-- Query #12 from the TPC-H decision support benchmark
|
-- Query #12 from the TPC-H decision support benchmark
|
||||||
|
@ -83,7 +81,6 @@ ORDER BY
|
||||||
|
|
||||||
-- connect to the other worker node
|
-- connect to the other worker node
|
||||||
\c - - - :worker_2_port
|
\c - - - :worker_2_port
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1290000;
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
-- Query #12 from the TPC-H decision support benchmark
|
-- Query #12 from the TPC-H decision support benchmark
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_MX_TPCH_QUERY14
|
-- MULTI_MX_TPCH_QUERY14
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1280000;
|
|
||||||
-- connect to the coordinator
|
-- connect to the coordinator
|
||||||
\c - - - :master_port
|
\c - - - :master_port
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
|
@ -27,7 +26,6 @@ WHERE
|
||||||
|
|
||||||
-- connect one of the workers
|
-- connect one of the workers
|
||||||
\c - - - :worker_1_port
|
\c - - - :worker_1_port
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1280000;
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
-- Query #14 from the TPC-H decision support benchmark
|
-- Query #14 from the TPC-H decision support benchmark
|
||||||
|
@ -51,7 +49,6 @@ WHERE
|
||||||
|
|
||||||
-- connect to the other node
|
-- connect to the other node
|
||||||
\c - - - :worker_2_port
|
\c - - - :worker_2_port
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1280000;
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
-- Query #14 from the TPC-H decision support benchmark
|
-- Query #14 from the TPC-H decision support benchmark
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_MX_TPCH_QUERY19
|
-- MULTI_MX_TPCH_QUERY19
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1270000;
|
|
||||||
-- connect to the coordinator
|
-- connect to the coordinator
|
||||||
\c - - - :master_port
|
\c - - - :master_port
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
|
@ -44,7 +43,6 @@ WHERE
|
||||||
|
|
||||||
-- connect one of the workers
|
-- connect one of the workers
|
||||||
\c - - - :worker_1_port
|
\c - - - :worker_1_port
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1270000;
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
-- Query #19 from the TPC-H decision support benchmark. Note that we modified
|
-- Query #19 from the TPC-H decision support benchmark. Note that we modified
|
||||||
|
@ -85,7 +83,6 @@ WHERE
|
||||||
|
|
||||||
-- connect to the other node
|
-- connect to the other node
|
||||||
\c - - - :worker_2_port
|
\c - - - :worker_2_port
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1270000;
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
-- Query #19 from the TPC-H decision support benchmark. Note that we modified
|
-- Query #19 from the TPC-H decision support benchmark. Note that we modified
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
-- Query #3 from the TPC-H decision support benchmark. Unlike other TPC-H tests,
|
-- Query #3 from the TPC-H decision support benchmark. Unlike other TPC-H tests,
|
||||||
-- we don't set citus.large_table_shard_count here, and instead use the default value
|
-- we don't set citus.large_table_shard_count here, and instead use the default value
|
||||||
-- coming from postgresql.conf or multi_task_tracker_executor.conf.
|
-- coming from postgresql.conf or multi_task_tracker_executor.conf.
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1260000;
|
|
||||||
-- connect to the coordinator
|
-- connect to the coordinator
|
||||||
\c - - - :master_port
|
\c - - - :master_port
|
||||||
SELECT
|
SELECT
|
||||||
|
@ -51,7 +50,6 @@ ORDER BY
|
||||||
|
|
||||||
-- connect one of the workers
|
-- connect one of the workers
|
||||||
\c - - - :worker_1_port
|
\c - - - :worker_1_port
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1260000;
|
|
||||||
SELECT
|
SELECT
|
||||||
l_orderkey,
|
l_orderkey,
|
||||||
sum(l_extendedprice * (1 - l_discount)) as revenue,
|
sum(l_extendedprice * (1 - l_discount)) as revenue,
|
||||||
|
@ -96,7 +94,6 @@ ORDER BY
|
||||||
|
|
||||||
-- connect to the other node
|
-- connect to the other node
|
||||||
\c - - - :worker_2_port
|
\c - - - :worker_2_port
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1260000;
|
|
||||||
SELECT
|
SELECT
|
||||||
l_orderkey,
|
l_orderkey,
|
||||||
sum(l_extendedprice * (1 - l_discount)) as revenue,
|
sum(l_extendedprice * (1 - l_discount)) as revenue,
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_MX_TPCH_QUERY6
|
-- MULTI_MX_TPCH_QUERY6
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1250000;
|
|
||||||
-- connect to the coordinator
|
-- connect to the coordinator
|
||||||
\c - - - :master_port
|
\c - - - :master_port
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
|
@ -23,7 +22,6 @@ WHERE
|
||||||
|
|
||||||
-- connect to one of the worker nodes
|
-- connect to one of the worker nodes
|
||||||
\c - - - :worker_1_port
|
\c - - - :worker_1_port
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1250000;
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
-- Query #6 from the TPC-H decision support benchmark
|
-- Query #6 from the TPC-H decision support benchmark
|
||||||
|
@ -43,7 +41,6 @@ WHERE
|
||||||
|
|
||||||
-- connect to the other worker node
|
-- connect to the other worker node
|
||||||
\c - - - :worker_2_port
|
\c - - - :worker_2_port
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1250000;
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
-- Query #6 from the TPC-H decision support benchmark
|
-- Query #6 from the TPC-H decision support benchmark
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_MX_TPCH_QUERY7
|
-- MULTI_MX_TPCH_QUERY7
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1230000;
|
|
||||||
-- connect to the coordinator
|
-- connect to the coordinator
|
||||||
\c - - - :master_port
|
\c - - - :master_port
|
||||||
-- Change configuration to treat lineitem AND orders tables as large
|
-- Change configuration to treat lineitem AND orders tables as large
|
||||||
|
@ -53,7 +52,6 @@ ORDER BY
|
||||||
|
|
||||||
-- connect one of the workers
|
-- connect one of the workers
|
||||||
\c - - - :worker_1_port
|
\c - - - :worker_1_port
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1230000;
|
|
||||||
-- Change configuration to treat lineitem AND orders tables as large
|
-- Change configuration to treat lineitem AND orders tables as large
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
-- Query #7 from the TPC-H decision support benchmark
|
-- Query #7 from the TPC-H decision support benchmark
|
||||||
|
@ -103,7 +101,6 @@ ORDER BY
|
||||||
|
|
||||||
-- connect to the other worker node
|
-- connect to the other worker node
|
||||||
\c - - - :worker_2_port
|
\c - - - :worker_2_port
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1230000;
|
|
||||||
-- Change configuration to treat lineitem AND orders tables as large
|
-- Change configuration to treat lineitem AND orders tables as large
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
-- Query #7 from the TPC-H decision support benchmark
|
-- Query #7 from the TPC-H decision support benchmark
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_MX_TPCH_QUERY7_NESTED
|
-- MULTI_MX_TPCH_QUERY7_NESTED
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1240000;
|
|
||||||
-- connect to the coordinator
|
-- connect to the coordinator
|
||||||
\c - - - :master_port
|
\c - - - :master_port
|
||||||
-- Change configuration to treat lineitem AND orders tables AS large
|
-- Change configuration to treat lineitem AND orders tables AS large
|
||||||
|
@ -62,7 +61,6 @@ ORDER BY
|
||||||
|
|
||||||
-- connect to one of the workers
|
-- connect to one of the workers
|
||||||
\c - - - :worker_1_port
|
\c - - - :worker_1_port
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1240000;
|
|
||||||
-- Change configuration to treat lineitem AND orders tables AS large
|
-- Change configuration to treat lineitem AND orders tables AS large
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
-- Query #7 from the TPC-H benchmark; modified to include sub-selects
|
-- Query #7 from the TPC-H benchmark; modified to include sub-selects
|
||||||
|
@ -121,7 +119,6 @@ ORDER BY
|
||||||
|
|
||||||
-- connect to the coordinator
|
-- connect to the coordinator
|
||||||
\c - - - :worker_2_port
|
\c - - - :worker_2_port
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1240000;
|
|
||||||
-- Change configuration to treat lineitem AND orders tables AS large
|
-- Change configuration to treat lineitem AND orders tables AS large
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
-- Query #7 from the TPC-H benchmark; modified to include sub-selects
|
-- Query #7 from the TPC-H benchmark; modified to include sub-selects
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
-- Many of the queries are taken from other regression test files
|
-- Many of the queries are taken from other regression test files
|
||||||
-- and converted into both plain SQL and PL/pgsql functions, which
|
-- and converted into both plain SQL and PL/pgsql functions, which
|
||||||
-- use prepared statements internally.
|
-- use prepared statements internally.
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 780000;
|
|
||||||
CREATE FUNCTION plpgsql_test_1() RETURNS TABLE(count bigint) AS $$
|
CREATE FUNCTION plpgsql_test_1() RETURNS TABLE(count bigint) AS $$
|
||||||
DECLARE
|
DECLARE
|
||||||
BEGIN
|
BEGIN
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
-- Tests covering PREPARE statements. Many of the queries are
|
-- Tests covering PREPARE statements. Many of the queries are
|
||||||
-- taken from other regression test files and converted into
|
-- taken from other regression test files and converted into
|
||||||
-- prepared statements.
|
-- prepared statements.
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 790000;
|
|
||||||
PREPARE prepared_test_1 AS
|
PREPARE prepared_test_1 AS
|
||||||
SELECT
|
SELECT
|
||||||
count(*)
|
count(*)
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_TPCH_QUERY1
|
-- MULTI_TPCH_QUERY1
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 890000;
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
-- Query #1 from the TPC-H decision support benchmark
|
-- Query #1 from the TPC-H decision support benchmark
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
-- Query #10 from the TPC-H decision support benchmark. Unlike other TPC-H tests,
|
-- Query #10 from the TPC-H decision support benchmark. Unlike other TPC-H tests,
|
||||||
-- we don't set citus.large_table_shard_count here, and instead use the default value
|
-- we don't set citus.large_table_shard_count here, and instead use the default value
|
||||||
-- coming from postgresql.conf or multi_task_tracker_executor.conf.
|
-- coming from postgresql.conf or multi_task_tracker_executor.conf.
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 900000;
|
|
||||||
SELECT
|
SELECT
|
||||||
c_custkey,
|
c_custkey,
|
||||||
c_name,
|
c_name,
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_TPCH_QUERY12
|
-- MULTI_TPCH_QUERY12
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 910000;
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
-- Query #12 from the TPC-H decision support benchmark
|
-- Query #12 from the TPC-H decision support benchmark
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_TPCH_QUERY14
|
-- MULTI_TPCH_QUERY14
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 920000;
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
-- Query #14 from the TPC-H decision support benchmark
|
-- Query #14 from the TPC-H decision support benchmark
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_TPCH_QUERY19
|
-- MULTI_TPCH_QUERY19
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 930000;
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
-- Query #19 from the TPC-H decision support benchmark. Note that we modified
|
-- Query #19 from the TPC-H decision support benchmark. Note that we modified
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
-- Query #3 from the TPC-H decision support benchmark. Unlike other TPC-H tests,
|
-- Query #3 from the TPC-H decision support benchmark. Unlike other TPC-H tests,
|
||||||
-- we don't set citus.large_table_shard_count here, and instead use the default value
|
-- we don't set citus.large_table_shard_count here, and instead use the default value
|
||||||
-- coming from postgresql.conf or multi_task_tracker_executor.conf.
|
-- coming from postgresql.conf or multi_task_tracker_executor.conf.
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 940000;
|
|
||||||
SELECT
|
SELECT
|
||||||
l_orderkey,
|
l_orderkey,
|
||||||
sum(l_extendedprice * (1 - l_discount)) as revenue,
|
sum(l_extendedprice * (1 - l_discount)) as revenue,
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_TPCH_QUERY6
|
-- MULTI_TPCH_QUERY6
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 950000;
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
-- Query #6 from the TPC-H decision support benchmark
|
-- Query #6 from the TPC-H decision support benchmark
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_TPCH_QUERY7
|
-- MULTI_TPCH_QUERY7
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 970000;
|
|
||||||
-- Change configuration to treat lineitem AND orders tables as large
|
-- Change configuration to treat lineitem AND orders tables as large
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
-- Query #7 from the TPC-H decision support benchmark
|
-- Query #7 from the TPC-H decision support benchmark
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_TPCH_QUERY7_NESTED
|
-- MULTI_TPCH_QUERY7_NESTED
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 960000;
|
|
||||||
-- Change configuration to treat lineitem AND orders tables AS large
|
-- Change configuration to treat lineitem AND orders tables AS large
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
-- Query #7 from the TPC-H benchmark; modified to include sub-selects
|
-- Query #7 from the TPC-H benchmark; modified to include sub-selects
|
||||||
|
|
|
@ -5,7 +5,6 @@
|
||||||
-- projection order are called working (resjunk) columns. We check in here that
|
-- projection order are called working (resjunk) columns. We check in here that
|
||||||
-- these columns are pulled to the master, and are correctly used in sorting and
|
-- these columns are pulled to the master, and are correctly used in sorting and
|
||||||
-- grouping.
|
-- grouping.
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1040000;
|
|
||||||
SELECT l_quantity FROM lineitem ORDER BY l_shipdate, l_quantity LIMIT 20;
|
SELECT l_quantity FROM lineitem ORDER BY l_shipdate, l_quantity LIMIT 20;
|
||||||
l_quantity
|
l_quantity
|
||||||
------------
|
------------
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- TASK_TRACKER_ASSIGN_TASK
|
-- TASK_TRACKER_ASSIGN_TASK
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1050000;
|
|
||||||
\set JobId 401010
|
\set JobId 401010
|
||||||
\set SimpleTaskId 101101
|
\set SimpleTaskId 101101
|
||||||
\set RecoverableTaskId 801102
|
\set RecoverableTaskId 801102
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- TASK_TRACKER_PARTITION_TASK
|
-- TASK_TRACKER_PARTITION_TASK
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1080000;
|
|
||||||
\set JobId 401010
|
\set JobId 401010
|
||||||
\set PartitionTaskId 801106
|
\set PartitionTaskId 801106
|
||||||
\set PartitionColumn l_orderkey
|
\set PartitionColumn l_orderkey
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- WORKER_BINARY_DATA_PARTITION
|
-- WORKER_BINARY_DATA_PARTITION
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1090000;
|
|
||||||
\set JobId 201010
|
\set JobId 201010
|
||||||
\set TaskId 101105
|
\set TaskId 101105
|
||||||
\set Partition_Column textcolumn
|
\set Partition_Column textcolumn
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- WORKER_HASH_PARTITION
|
-- WORKER_HASH_PARTITION
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1130000;
|
|
||||||
\set JobId 201010
|
\set JobId 201010
|
||||||
\set TaskId 101103
|
\set TaskId 101103
|
||||||
\set Partition_Column l_orderkey
|
\set Partition_Column l_orderkey
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- WORKER_HASH_PARTITION_COMPLEX
|
-- WORKER_HASH_PARTITION_COMPLEX
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1120000;
|
|
||||||
\set JobId 201010
|
\set JobId 201010
|
||||||
\set TaskId 101104
|
\set TaskId 101104
|
||||||
\set Partition_Column l_partkey
|
\set Partition_Column l_partkey
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- WORKER_MERGE_HASH_FILES
|
-- WORKER_MERGE_HASH_FILES
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1140000;
|
|
||||||
\set JobId 201010
|
\set JobId 201010
|
||||||
\set TaskId 101103
|
\set TaskId 101103
|
||||||
\set Task_Table_Name public.task_101103
|
\set Task_Table_Name public.task_101103
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- WORKER_MERGE_RANGE_FILES
|
-- WORKER_MERGE_RANGE_FILES
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1150000;
|
|
||||||
\set JobId 201010
|
\set JobId 201010
|
||||||
\set TaskId 101101
|
\set TaskId 101101
|
||||||
\set Task_Table_Name public.task_101101
|
\set Task_Table_Name public.task_101101
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- WORKER_NULL_DATA_PARTITION
|
-- WORKER_NULL_DATA_PARTITION
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1180000;
|
|
||||||
\set JobId 201010
|
\set JobId 201010
|
||||||
\set Range_TaskId 101106
|
\set Range_TaskId 101106
|
||||||
\set Partition_Column s_nationkey
|
\set Partition_Column s_nationkey
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- WORKER_RANGE_PARTITION
|
-- WORKER_RANGE_PARTITION
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1160000;
|
|
||||||
\set JobId 201010
|
\set JobId 201010
|
||||||
\set TaskId 101101
|
\set TaskId 101101
|
||||||
\set Partition_Column l_orderkey
|
\set Partition_Column l_orderkey
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- WORKER_RANGE_PARTITION_COMPLEX
|
-- WORKER_RANGE_PARTITION_COMPLEX
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1170000;
|
|
||||||
\set JobId 201010
|
\set JobId 201010
|
||||||
\set TaskId 101102
|
\set TaskId 101102
|
||||||
\set Partition_Column l_partkey
|
\set Partition_Column l_partkey
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 200000;
|
|
||||||
|
|
||||||
|
|
||||||
-- Create a new range partitioned lineitem table and load data into it
|
-- Create a new range partitioned lineitem table and load data into it
|
||||||
CREATE TABLE lineitem_range (
|
CREATE TABLE lineitem_range (
|
||||||
l_orderkey bigint not null,
|
l_orderkey bigint not null,
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 210000;
|
|
||||||
|
|
||||||
|
|
||||||
-- Test aggregate type conversions using sums of integers and division operator
|
-- Test aggregate type conversions using sums of integers and division operator
|
||||||
SELECT sum(l_suppkey) FROM lineitem;
|
SELECT sum(l_suppkey) FROM lineitem;
|
||||||
SELECT sum(l_suppkey) / 2 FROM lineitem;
|
SELECT sum(l_suppkey) / 2 FROM lineitem;
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
-- MULTI_MX_COPY_DATA
|
-- MULTI_MX_COPY_DATA
|
||||||
--
|
--
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 290000;
|
|
||||||
|
|
||||||
\COPY nation_hash FROM '@abs_srcdir@/data/nation.data' with delimiter '|';
|
\COPY nation_hash FROM '@abs_srcdir@/data/nation.data' with delimiter '|';
|
||||||
|
|
||||||
SET search_path TO citus_mx_test_schema;
|
SET search_path TO citus_mx_test_schema;
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_AGG_DISTINCT
|
-- MULTI_AGG_DISTINCT
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 200000;
|
|
||||||
-- Create a new range partitioned lineitem table and load data into it
|
-- Create a new range partitioned lineitem table and load data into it
|
||||||
CREATE TABLE lineitem_range (
|
CREATE TABLE lineitem_range (
|
||||||
l_orderkey bigint not null,
|
l_orderkey bigint not null,
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_AGG_TYPE_CONVERSION
|
-- MULTI_AGG_TYPE_CONVERSION
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 210000;
|
|
||||||
-- Test aggregate type conversions using sums of integers and division operator
|
-- Test aggregate type conversions using sums of integers and division operator
|
||||||
SELECT sum(l_suppkey) FROM lineitem;
|
SELECT sum(l_suppkey) FROM lineitem;
|
||||||
sum
|
sum
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
--
|
--
|
||||||
-- MULTI_MX_COPY_DATA
|
-- MULTI_MX_COPY_DATA
|
||||||
--
|
--
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 290000;
|
|
||||||
\COPY nation_hash FROM '@abs_srcdir@/data/nation.data' with delimiter '|';
|
\COPY nation_hash FROM '@abs_srcdir@/data/nation.data' with delimiter '|';
|
||||||
SET search_path TO citus_mx_test_schema;
|
SET search_path TO citus_mx_test_schema;
|
||||||
\COPY nation_hash FROM '@abs_srcdir@/data/nation.data' with delimiter '|';
|
\COPY nation_hash FROM '@abs_srcdir@/data/nation.data' with delimiter '|';
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 340000;
|
|
||||||
|
|
||||||
-- Create HLL extension if present, print false result otherwise
|
-- Create HLL extension if present, print false result otherwise
|
||||||
SELECT CASE WHEN COUNT(*) > 0 THEN
|
SELECT CASE WHEN COUNT(*) > 0 THEN
|
||||||
'CREATE EXTENSION HLL'
|
'CREATE EXTENSION HLL'
|
||||||
|
|
|
@ -6,9 +6,6 @@
|
||||||
-- to a bug we had due to the average expression introducing new columns.
|
-- to a bug we had due to the average expression introducing new columns.
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 450000;
|
|
||||||
|
|
||||||
|
|
||||||
SELECT
|
SELECT
|
||||||
sum(l_quantity) as sum_qty,
|
sum(l_quantity) as sum_qty,
|
||||||
sum(l_extendedprice) as sum_base_price,
|
sum(l_extendedprice) as sum_base_price,
|
||||||
|
|
|
@ -2,13 +2,10 @@
|
||||||
-- MULTI_BASIC_QUERIES
|
-- MULTI_BASIC_QUERIES
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 440000;
|
|
||||||
|
|
||||||
|
|
||||||
-- Execute simple sum, average, and count queries on data recently uploaded to
|
-- Execute simple sum, average, and count queries on data recently uploaded to
|
||||||
-- our partitioned table.
|
-- our partitioned table.
|
||||||
|
|
||||||
|
|
||||||
SELECT count(*) FROM lineitem;
|
SELECT count(*) FROM lineitem;
|
||||||
|
|
||||||
SELECT sum(l_extendedprice) FROM lineitem;
|
SELECT sum(l_extendedprice) FROM lineitem;
|
||||||
|
|
|
@ -2,12 +2,9 @@
|
||||||
-- MULTI_COMPLEX_EXPRESSIONS
|
-- MULTI_COMPLEX_EXPRESSIONS
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 420000;
|
|
||||||
|
|
||||||
|
|
||||||
-- Check that we can correctly handle complex expressions and aggregates.
|
-- Check that we can correctly handle complex expressions and aggregates.
|
||||||
|
|
||||||
|
|
||||||
SELECT sum(l_quantity) / avg(l_quantity) FROM lineitem;
|
SELECT sum(l_quantity) / avg(l_quantity) FROM lineitem;
|
||||||
|
|
||||||
SELECT sum(l_quantity) / (10 * avg(l_quantity)) FROM lineitem;
|
SELECT sum(l_quantity) / (10 * avg(l_quantity)) FROM lineitem;
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 400000;
|
|
||||||
|
|
||||||
|
|
||||||
-- Verify that we can sort count(*) results correctly. We perform this check as
|
-- Verify that we can sort count(*) results correctly. We perform this check as
|
||||||
-- our count() operations execute in two steps: worker nodes report their
|
-- our count() operations execute in two steps: worker nodes report their
|
||||||
-- count() results, and the master node sums these counts up. During this sum(),
|
-- count() results, and the master node sums these counts up. During this sum(),
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 730000;
|
|
||||||
|
|
||||||
|
|
||||||
-- Display debug messages on limit clause push down.
|
-- Display debug messages on limit clause push down.
|
||||||
|
|
||||||
SET client_min_messages TO DEBUG1;
|
SET client_min_messages TO DEBUG1;
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 720000;
|
|
||||||
|
|
||||||
|
|
||||||
-- Display debug messages on limit clause push down.
|
-- Display debug messages on limit clause push down.
|
||||||
|
|
||||||
SET client_min_messages TO DEBUG1;
|
SET client_min_messages TO DEBUG1;
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
-- Tests related to distributed DDL commands on mx cluster
|
-- Tests related to distributed DDL commands on mx cluster
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1600000;
|
|
||||||
|
|
||||||
SELECT * FROM mx_ddl_table ORDER BY key;
|
SELECT * FROM mx_ddl_table ORDER BY key;
|
||||||
|
|
||||||
-- CREATE INDEX
|
-- CREATE INDEX
|
||||||
|
|
|
@ -1,6 +1,4 @@
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 840000;
|
|
||||||
|
|
||||||
|
|
||||||
-- ===================================================================
|
-- ===================================================================
|
||||||
-- test router planner functionality for single shard select queries
|
-- test router planner functionality for single shard select queries
|
||||||
|
|
|
@ -2,8 +2,6 @@
|
||||||
-- MULTI_MX_SCHEMA_SUPPORT
|
-- MULTI_MX_SCHEMA_SUPPORT
|
||||||
--
|
--
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1210000;
|
|
||||||
|
|
||||||
-- connect to a worker node and run some queries
|
-- connect to a worker node and run some queries
|
||||||
\c - - - :worker_1_port
|
\c - - - :worker_1_port
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1310000;
|
|
||||||
|
|
||||||
-- connect to the coordinator
|
-- connect to the coordinator
|
||||||
\c - - - :master_port
|
\c - - - :master_port
|
||||||
|
|
||||||
|
@ -39,8 +37,6 @@ ORDER BY
|
||||||
-- connect one of the workers
|
-- connect one of the workers
|
||||||
\c - - - :worker_1_port
|
\c - - - :worker_1_port
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1310000;
|
|
||||||
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
|
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
|
@ -72,8 +68,6 @@ ORDER BY
|
||||||
-- connect to the other node
|
-- connect to the other node
|
||||||
\c - - - :worker_2_port
|
\c - - - :worker_2_port
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1310000;
|
|
||||||
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
|
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
|
|
|
@ -7,8 +7,6 @@
|
||||||
-- coming from postgresql.conf or multi_task_tracker_executor.conf.
|
-- coming from postgresql.conf or multi_task_tracker_executor.conf.
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1300000;
|
|
||||||
|
|
||||||
-- connect to master
|
-- connect to master
|
||||||
\c - - - :master_port
|
\c - - - :master_port
|
||||||
|
|
||||||
|
@ -49,8 +47,6 @@ LIMIT 20;
|
||||||
-- connect one of the workers
|
-- connect one of the workers
|
||||||
\c - - - :worker_1_port
|
\c - - - :worker_1_port
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1300000;
|
|
||||||
|
|
||||||
SELECT
|
SELECT
|
||||||
c_custkey,
|
c_custkey,
|
||||||
c_name,
|
c_name,
|
||||||
|
@ -87,8 +83,6 @@ LIMIT 20;
|
||||||
-- connect to the other worker
|
-- connect to the other worker
|
||||||
\c - - - :worker_2_port
|
\c - - - :worker_2_port
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1300000;
|
|
||||||
|
|
||||||
SELECT
|
SELECT
|
||||||
c_custkey,
|
c_custkey,
|
||||||
c_name,
|
c_name,
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1290000;
|
|
||||||
|
|
||||||
-- connect to the coordinator
|
-- connect to the coordinator
|
||||||
\c - - - :master_port
|
\c - - - :master_port
|
||||||
|
|
||||||
|
@ -46,8 +44,6 @@ ORDER BY
|
||||||
-- connect one of the workers
|
-- connect one of the workers
|
||||||
\c - - - :worker_1_port
|
\c - - - :worker_1_port
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1290000;
|
|
||||||
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
|
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
|
@ -86,8 +82,6 @@ ORDER BY
|
||||||
-- connect to the other worker node
|
-- connect to the other worker node
|
||||||
\c - - - :worker_2_port
|
\c - - - :worker_2_port
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1290000;
|
|
||||||
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
|
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1280000;
|
|
||||||
|
|
||||||
-- connect to the coordinator
|
-- connect to the coordinator
|
||||||
\c - - - :master_port
|
\c - - - :master_port
|
||||||
|
|
||||||
|
@ -31,8 +29,6 @@ WHERE
|
||||||
-- connect one of the workers
|
-- connect one of the workers
|
||||||
\c - - - :worker_1_port
|
\c - - - :worker_1_port
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1280000;
|
|
||||||
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
|
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
|
@ -56,8 +52,6 @@ WHERE
|
||||||
-- connect to the other node
|
-- connect to the other node
|
||||||
\c - - - :worker_2_port
|
\c - - - :worker_2_port
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1280000;
|
|
||||||
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
|
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1270000;
|
|
||||||
|
|
||||||
-- connect to the coordinator
|
-- connect to the coordinator
|
||||||
\c - - - :master_port
|
\c - - - :master_port
|
||||||
|
|
||||||
|
@ -48,8 +46,6 @@ WHERE
|
||||||
-- connect one of the workers
|
-- connect one of the workers
|
||||||
\c - - - :worker_1_port
|
\c - - - :worker_1_port
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1270000;
|
|
||||||
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
|
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
|
@ -90,8 +86,6 @@ WHERE
|
||||||
-- connect to the other node
|
-- connect to the other node
|
||||||
\c - - - :worker_2_port
|
\c - - - :worker_2_port
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1270000;
|
|
||||||
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
|
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
|
|
|
@ -7,8 +7,6 @@
|
||||||
-- coming from postgresql.conf or multi_task_tracker_executor.conf.
|
-- coming from postgresql.conf or multi_task_tracker_executor.conf.
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1260000;
|
|
||||||
|
|
||||||
-- connect to the coordinator
|
-- connect to the coordinator
|
||||||
\c - - - :master_port
|
\c - - - :master_port
|
||||||
|
|
||||||
|
@ -38,8 +36,6 @@ ORDER BY
|
||||||
-- connect one of the workers
|
-- connect one of the workers
|
||||||
\c - - - :worker_1_port
|
\c - - - :worker_1_port
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1260000;
|
|
||||||
|
|
||||||
SELECT
|
SELECT
|
||||||
l_orderkey,
|
l_orderkey,
|
||||||
sum(l_extendedprice * (1 - l_discount)) as revenue,
|
sum(l_extendedprice * (1 - l_discount)) as revenue,
|
||||||
|
@ -66,8 +62,6 @@ ORDER BY
|
||||||
-- connect to the other node
|
-- connect to the other node
|
||||||
\c - - - :worker_2_port
|
\c - - - :worker_2_port
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1260000;
|
|
||||||
|
|
||||||
SELECT
|
SELECT
|
||||||
l_orderkey,
|
l_orderkey,
|
||||||
sum(l_extendedprice * (1 - l_discount)) as revenue,
|
sum(l_extendedprice * (1 - l_discount)) as revenue,
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1250000;
|
|
||||||
|
|
||||||
-- connect to the coordinator
|
-- connect to the coordinator
|
||||||
\c - - - :master_port
|
\c - - - :master_port
|
||||||
|
|
||||||
|
@ -27,8 +25,6 @@ WHERE
|
||||||
-- connect to one of the worker nodes
|
-- connect to one of the worker nodes
|
||||||
\c - - - :worker_1_port
|
\c - - - :worker_1_port
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1250000;
|
|
||||||
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
|
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
|
@ -48,8 +44,6 @@ WHERE
|
||||||
-- connect to the other worker node
|
-- connect to the other worker node
|
||||||
\c - - - :worker_2_port
|
\c - - - :worker_2_port
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1250000;
|
|
||||||
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
|
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1230000;
|
|
||||||
|
|
||||||
-- connect to the coordinator
|
-- connect to the coordinator
|
||||||
\c - - - :master_port
|
\c - - - :master_port
|
||||||
|
|
||||||
|
@ -57,8 +55,6 @@ ORDER BY
|
||||||
-- connect one of the workers
|
-- connect one of the workers
|
||||||
\c - - - :worker_1_port
|
\c - - - :worker_1_port
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1230000;
|
|
||||||
|
|
||||||
-- Change configuration to treat lineitem AND orders tables as large
|
-- Change configuration to treat lineitem AND orders tables as large
|
||||||
|
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
|
@ -108,8 +104,6 @@ ORDER BY
|
||||||
-- connect to the other worker node
|
-- connect to the other worker node
|
||||||
\c - - - :worker_2_port
|
\c - - - :worker_2_port
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1230000;
|
|
||||||
|
|
||||||
-- Change configuration to treat lineitem AND orders tables as large
|
-- Change configuration to treat lineitem AND orders tables as large
|
||||||
|
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1240000;
|
|
||||||
|
|
||||||
-- connect to the coordinator
|
-- connect to the coordinator
|
||||||
\c - - - :master_port
|
\c - - - :master_port
|
||||||
|
|
||||||
|
@ -66,8 +64,6 @@ ORDER BY
|
||||||
-- connect to one of the workers
|
-- connect to one of the workers
|
||||||
\c - - - :worker_1_port
|
\c - - - :worker_1_port
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1240000;
|
|
||||||
|
|
||||||
-- Change configuration to treat lineitem AND orders tables AS large
|
-- Change configuration to treat lineitem AND orders tables AS large
|
||||||
|
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
|
@ -126,8 +122,6 @@ ORDER BY
|
||||||
-- connect to the coordinator
|
-- connect to the coordinator
|
||||||
\c - - - :worker_2_port
|
\c - - - :worker_2_port
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1240000;
|
|
||||||
|
|
||||||
-- Change configuration to treat lineitem AND orders tables AS large
|
-- Change configuration to treat lineitem AND orders tables AS large
|
||||||
|
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
|
|
|
@ -7,9 +7,6 @@
|
||||||
-- use prepared statements internally.
|
-- use prepared statements internally.
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 780000;
|
|
||||||
|
|
||||||
|
|
||||||
CREATE FUNCTION plpgsql_test_1() RETURNS TABLE(count bigint) AS $$
|
CREATE FUNCTION plpgsql_test_1() RETURNS TABLE(count bigint) AS $$
|
||||||
DECLARE
|
DECLARE
|
||||||
BEGIN
|
BEGIN
|
||||||
|
|
|
@ -7,9 +7,6 @@
|
||||||
-- prepared statements.
|
-- prepared statements.
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 790000;
|
|
||||||
|
|
||||||
|
|
||||||
PREPARE prepared_test_1 AS
|
PREPARE prepared_test_1 AS
|
||||||
SELECT
|
SELECT
|
||||||
count(*)
|
count(*)
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 890000;
|
|
||||||
|
|
||||||
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
|
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
|
|
|
@ -7,9 +7,6 @@
|
||||||
-- coming from postgresql.conf or multi_task_tracker_executor.conf.
|
-- coming from postgresql.conf or multi_task_tracker_executor.conf.
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 900000;
|
|
||||||
|
|
||||||
|
|
||||||
SELECT
|
SELECT
|
||||||
c_custkey,
|
c_custkey,
|
||||||
c_name,
|
c_name,
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 910000;
|
|
||||||
|
|
||||||
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
|
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 920000;
|
|
||||||
|
|
||||||
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
|
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 930000;
|
|
||||||
|
|
||||||
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
|
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
|
|
|
@ -7,9 +7,6 @@
|
||||||
-- coming from postgresql.conf or multi_task_tracker_executor.conf.
|
-- coming from postgresql.conf or multi_task_tracker_executor.conf.
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 940000;
|
|
||||||
|
|
||||||
|
|
||||||
SELECT
|
SELECT
|
||||||
l_orderkey,
|
l_orderkey,
|
||||||
sum(l_extendedprice * (1 - l_discount)) as revenue,
|
sum(l_extendedprice * (1 - l_discount)) as revenue,
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 950000;
|
|
||||||
|
|
||||||
|
|
||||||
-- Change configuration to treat lineitem and orders tables as large
|
-- Change configuration to treat lineitem and orders tables as large
|
||||||
|
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 970000;
|
|
||||||
|
|
||||||
|
|
||||||
-- Change configuration to treat lineitem AND orders tables as large
|
-- Change configuration to treat lineitem AND orders tables as large
|
||||||
|
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
|
|
|
@ -3,9 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 960000;
|
|
||||||
|
|
||||||
|
|
||||||
-- Change configuration to treat lineitem AND orders tables AS large
|
-- Change configuration to treat lineitem AND orders tables AS large
|
||||||
|
|
||||||
SET citus.large_table_shard_count TO 2;
|
SET citus.large_table_shard_count TO 2;
|
||||||
|
|
|
@ -8,9 +8,6 @@
|
||||||
-- grouping.
|
-- grouping.
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1040000;
|
|
||||||
|
|
||||||
|
|
||||||
SELECT l_quantity FROM lineitem ORDER BY l_shipdate, l_quantity LIMIT 20;
|
SELECT l_quantity FROM lineitem ORDER BY l_shipdate, l_quantity LIMIT 20;
|
||||||
|
|
||||||
SELECT l_quantity, count(*) as count FROM lineitem
|
SELECT l_quantity, count(*) as count FROM lineitem
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1050000;
|
|
||||||
|
|
||||||
|
|
||||||
\set JobId 401010
|
\set JobId 401010
|
||||||
\set SimpleTaskId 101101
|
\set SimpleTaskId 101101
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1080000;
|
|
||||||
|
|
||||||
|
|
||||||
\set JobId 401010
|
\set JobId 401010
|
||||||
\set PartitionTaskId 801106
|
\set PartitionTaskId 801106
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1090000;
|
|
||||||
|
|
||||||
|
|
||||||
\set JobId 201010
|
\set JobId 201010
|
||||||
\set TaskId 101105
|
\set TaskId 101105
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1130000;
|
|
||||||
|
|
||||||
|
|
||||||
\set JobId 201010
|
\set JobId 201010
|
||||||
\set TaskId 101103
|
\set TaskId 101103
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1120000;
|
|
||||||
|
|
||||||
|
|
||||||
\set JobId 201010
|
\set JobId 201010
|
||||||
\set TaskId 101104
|
\set TaskId 101104
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1140000;
|
|
||||||
|
|
||||||
|
|
||||||
\set JobId 201010
|
\set JobId 201010
|
||||||
\set TaskId 101103
|
\set TaskId 101103
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1150000;
|
|
||||||
|
|
||||||
|
|
||||||
\set JobId 201010
|
\set JobId 201010
|
||||||
\set TaskId 101101
|
\set TaskId 101101
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1180000;
|
|
||||||
|
|
||||||
|
|
||||||
\set JobId 201010
|
\set JobId 201010
|
||||||
\set Range_TaskId 101106
|
\set Range_TaskId 101106
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1160000;
|
|
||||||
|
|
||||||
|
|
||||||
\set JobId 201010
|
\set JobId 201010
|
||||||
\set TaskId 101101
|
\set TaskId 101101
|
||||||
|
|
|
@ -3,8 +3,6 @@
|
||||||
--
|
--
|
||||||
|
|
||||||
|
|
||||||
ALTER SEQUENCE pg_catalog.pg_dist_shardid_seq RESTART 1170000;
|
|
||||||
|
|
||||||
|
|
||||||
\set JobId 201010
|
\set JobId 201010
|
||||||
\set TaskId 101102
|
\set TaskId 101102
|
||||||
|
|
Loading…
Reference in New Issue