diff --git a/test/runner_shared.sh b/test/runner_shared.sh index 84a10d8b1..b10f016e4 100755 --- a/test/runner_shared.sh +++ b/test/runner_shared.sh @@ -73,4 +73,4 @@ ${PSQL} -U ${TEST_PGUSER} \ -v ROLE_DEFAULT_PERM_USER_2=${TEST_ROLE_DEFAULT_PERM_USER_2} \ -v MODULE_PATHNAME="'timescaledb-${EXT_VERSION}'" \ -v TSL_MODULE_PATHNAME="'timescaledb-tsl-${EXT_VERSION}'" \ - $@ -d ${TEST_DBNAME} 2>&1 | sed -e '//,/<\/exclude_from_test>/d' -e 's! Memory: [0-9]\{1,\}kB!!' -e 's! Memory Usage: [0-9]\{1,\}kB!!' -e 's! Average Peak Memory: [0-9]\{1,\}kB!!' + $@ -d ${TEST_DBNAME} 2>&1 | sed -e '//,/<\/exclude_from_test>/d' -e 's!_[0-9]\{1,\}_[0-9]\{1,\}_chunk!_X_X_chunk!g' -e 's! Memory: [0-9]\{1,\}kB!!' -e 's! Memory Usage: [0-9]\{1,\}kB!!' -e 's! Average Peak Memory: [0-9]\{1,\}kB!!' diff --git a/tsl/test/shared/expected/constify_timestamptz_op_interval.out b/tsl/test/shared/expected/constify_timestamptz_op_interval.out index 60f0b4818..0ab6ca48c 100644 --- a/tsl/test/shared/expected/constify_timestamptz_op_interval.out +++ b/tsl/test/shared/expected/constify_timestamptz_op_interval.out @@ -13,9 +13,9 @@ FROM metrics; QUERY PLAN ------------------------------------ Append - -> Seq Scan on _hyper_1_1_chunk - -> Seq Scan on _hyper_1_2_chunk - -> Seq Scan on _hyper_1_3_chunk + -> Seq Scan on _hyper_X_X_chunk + -> Seq Scan on _hyper_X_X_chunk + -> Seq Scan on _hyper_X_X_chunk (4 rows) -- all of these should have all chunk exclusion happening at plan time @@ -25,7 +25,7 @@ FROM metrics WHERE time < '2000-01-01'::timestamptz - '6h'::interval; QUERY PLAN ------------------------------------------------------------------------------------------------------------- - Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk + Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" < ('Sat Jan 01 00:00:00 2000 PST'::timestamp with time zone - '@ 6 hours'::interval)) (2 rows) @@ -35,7 +35,7 @@ FROM metrics WHERE time < '2000-01-01'::timestamptz + '6h'::interval; QUERY PLAN ------------------------------------------------------------------------------------------------------------- - Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk + Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" < ('Sat Jan 01 00:00:00 2000 PST'::timestamp with time zone + '@ 6 hours'::interval)) (2 rows) @@ -45,7 +45,7 @@ FROM metrics WHERE time < '6h'::interval + '2000-01-01'::timestamptz; QUERY PLAN ------------------------------------------------------------------------------------------------------------- - Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk + Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" < ('Sat Jan 01 00:00:00 2000 PST'::timestamp with time zone + '@ 6 hours'::interval)) (2 rows) @@ -55,7 +55,7 @@ FROM metrics WHERE time < '2000-01-07'::timestamptz - '7 day 8 seconds'::interval; QUERY PLAN ------------------------------------------------------------------------------------------------------------------- - Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk + Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" < ('Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone - '@ 7 days 8 secs'::interval)) (2 rows) @@ -65,7 +65,7 @@ FROM metrics WHERE time < '2000-03-01'::timestamptz - '60 day'::interval; QUERY PLAN ------------------------------------------------------------------------------------------------------------- - Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk + Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" < ('Wed Mar 01 00:00:00 2000 PST'::timestamp with time zone - '@ 60 days'::interval)) (2 rows) @@ -76,7 +76,7 @@ FROM metrics WHERE '2000-01-01'::timestamptz - '6h'::interval > time; QUERY PLAN ------------------------------------------------------------------------------------------------------------- - Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk + Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" < ('Sat Jan 01 00:00:00 2000 PST'::timestamp with time zone - '@ 6 hours'::interval)) (2 rows) @@ -86,7 +86,7 @@ FROM metrics WHERE '2000-01-07'::timestamptz - '7 day'::interval > time; QUERY PLAN ------------------------------------------------------------------------------------------------------------ - Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk + Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" < ('Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone - '@ 7 days'::interval)) (2 rows) @@ -96,7 +96,7 @@ FROM metrics WHERE '2000-03-01'::timestamptz - '60 day'::interval > time; QUERY PLAN ------------------------------------------------------------------------------------------------------------- - Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk + Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" < ('Wed Mar 01 00:00:00 2000 PST'::timestamp with time zone - '@ 60 days'::interval)) (2 rows) @@ -108,7 +108,7 @@ WHERE time > '2000-01-10'::timestamptz - '6h'::interval AND time < '2000-01-10'::timestamptz + '6h'::interval; QUERY PLAN ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- - Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk + Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: (("time" > ('Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone - '@ 6 hours'::interval)) AND ("time" < ('Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone + '@ 6 hours'::interval))) (2 rows) @@ -120,7 +120,7 @@ WHERE time < '2000-01-01'::timestamptz - '6h'::interval AND device_id = 1; QUERY PLAN ------------------------------------------------------------------------------------------------------------- - Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk + Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk Index Cond: ("time" < ('Sat Jan 01 00:00:00 2000 PST'::timestamp with time zone - '@ 6 hours'::interval)) Filter: (device_id = 1) (3 rows) @@ -132,9 +132,9 @@ FROM metrics_compressed WHERE time < '2000-01-01'::timestamptz - '6h'::interval; QUERY PLAN ----------------------------------------------------------------------------------------------------------------------- - Custom Scan (DecompressChunk) on _hyper_3_13_chunk + Custom Scan (DecompressChunk) on _hyper_X_X_chunk Filter: ("time" < ('Sat Jan 01 00:00:00 2000 PST'::timestamp with time zone - '@ 6 hours'::interval)) - -> Seq Scan on compress_hyper_4_18_chunk + -> Seq Scan on compress_hyper_X_X_chunk Filter: (_ts_meta_min_1 < ('Sat Jan 01 00:00:00 2000 PST'::timestamp with time zone - '@ 6 hours'::interval)) (4 rows) @@ -146,9 +146,9 @@ WHERE time < '2000-01-01'::timestamptz - '6h'::interval AND device_id = 1; QUERY PLAN --------------------------------------------------------------------------------------------------------------------------------------------- - Custom Scan (DecompressChunk) on _hyper_5_19_chunk + Custom Scan (DecompressChunk) on _hyper_X_X_chunk Filter: ("time" < ('Sat Jan 01 00:00:00 2000 PST'::timestamp with time zone - '@ 6 hours'::interval)) - -> Seq Scan on compress_hyper_6_36_chunk + -> Seq Scan on compress_hyper_X_X_chunk Filter: ((device_id = 1) AND (_ts_meta_min_1 < ('Sat Jan 01 00:00:00 2000 PST'::timestamp with time zone - '@ 6 hours'::interval))) (4 rows) @@ -160,11 +160,11 @@ WHERE time < '2000-02-01'::timestamptz - '1 month'::interval; QUERY PLAN ----------------------------------------------------------------------------------------------------------------- Append - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" < ('Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone - '@ 1 mon'::interval)) - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" < ('Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone - '@ 1 mon'::interval)) - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" < ('Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone - '@ 1 mon'::interval)) (7 rows) @@ -175,11 +175,11 @@ WHERE time < '2000-02-01'::timestamptz - '1 month - 1 day'::interval; QUERY PLAN ------------------------------------------------------------------------------------------------------------------------- Append - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" < ('Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone - '@ 1 mon -1 days'::interval)) - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" < ('Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone - '@ 1 mon -1 days'::interval)) - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" < ('Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone - '@ 1 mon -1 days'::interval)) (7 rows) @@ -190,11 +190,11 @@ WHERE time < '2000-02-01'::timestamptz - '1 month + 1 day'::interval; QUERY PLAN ----------------------------------------------------------------------------------------------------------------------- Append - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" < ('Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone - '@ 1 mon 1 day'::interval)) - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" < ('Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone - '@ 1 mon 1 day'::interval)) - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" < ('Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone - '@ 1 mon 1 day'::interval)) (7 rows) @@ -205,11 +205,11 @@ WHERE '2000-02-01'::timestamptz - '1 year'::interval > time; QUERY PLAN ------------------------------------------------------------------------------------------------------------------ Append - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" < ('Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone - '@ 1 year'::interval)) - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" < ('Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone - '@ 1 year'::interval)) - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" < ('Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone - '@ 1 year'::interval)) (7 rows) @@ -221,11 +221,11 @@ WHERE time < '1 day' + '2000-02-01'::timestamptz - '1 month'::interval; QUERY PLAN ----------------------------------------------------------------------------------------------------------------------------------------- Append - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" < (('Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone + '@ 1 day'::interval) - '@ 1 mon'::interval)) - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" < (('Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone + '@ 1 day'::interval) - '@ 1 mon'::interval)) - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" < (('Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone + '@ 1 day'::interval) - '@ 1 mon'::interval)) (7 rows) @@ -237,11 +237,11 @@ WHERE time > now() - '6h'::interval; QUERY PLAN ----------------------------------------------------------------------------------- Append - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" > (now() - '@ 6 hours'::interval)) - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" > (now() - '@ 6 hours'::interval)) - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk Index Cond: ("time" > (now() - '@ 6 hours'::interval)) (7 rows) diff --git a/tsl/test/shared/expected/constraint_exclusion_prepared.out b/tsl/test/shared/expected/constraint_exclusion_prepared.out index 58899e0cc..874cfe39f 100644 --- a/tsl/test/shared/expected/constraint_exclusion_prepared.out +++ b/tsl/test/shared/expected/constraint_exclusion_prepared.out @@ -42,13 +42,13 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics (actual rows=100 loops=1) Order: metrics."time" Chunks excluded during startup: 0 - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ((device_id = 1) AND ("time" < now())) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ((device_id = 1) AND ("time" < now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ((device_id = 1) AND ("time" < now())) Heap Fetches: 0 (13 rows) @@ -60,13 +60,13 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics (actual rows=100 loops=1) Order: metrics."time" Chunks excluded during startup: 0 - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ((device_id = 1) AND ("time" < now())) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ((device_id = 1) AND ("time" < now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ((device_id = 1) AND ("time" < now())) Heap Fetches: 0 (13 rows) @@ -78,13 +78,13 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics (actual rows=100 loops=1) Order: metrics."time" Chunks excluded during startup: 0 - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ((device_id = 1) AND ("time" < now())) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ((device_id = 1) AND ("time" < now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ((device_id = 1) AND ("time" < now())) Heap Fetches: 0 (13 rows) @@ -96,13 +96,13 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics (actual rows=100 loops=1) Order: metrics."time" Chunks excluded during startup: 0 - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ((device_id = 1) AND ("time" < now())) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ((device_id = 1) AND ("time" < now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ((device_id = 1) AND ("time" < now())) Heap Fetches: 0 (13 rows) @@ -114,13 +114,13 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics (actual rows=100 loops=1) Order: metrics."time" Chunks excluded during startup: 0 - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ((device_id = 1) AND ("time" < now())) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ((device_id = 1) AND ("time" < now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ((device_id = 1) AND ("time" < now())) Heap Fetches: 0 (13 rows) @@ -141,10 +141,10 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics (actual rows=100 loops=1) Order: metrics."time" Chunks excluded during startup: 1 - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ((device_id = 1) AND ("time" < ('2000-01-10'::cstring)::timestamp with time zone)) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ((device_id = 1) AND ("time" < ('2000-01-10'::cstring)::timestamp with time zone)) Heap Fetches: 0 (10 rows) @@ -156,10 +156,10 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics (actual rows=100 loops=1) Order: metrics."time" Chunks excluded during startup: 1 - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ((device_id = 1) AND ("time" < ('2000-01-10'::cstring)::timestamp with time zone)) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ((device_id = 1) AND ("time" < ('2000-01-10'::cstring)::timestamp with time zone)) Heap Fetches: 0 (10 rows) @@ -171,10 +171,10 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics (actual rows=100 loops=1) Order: metrics."time" Chunks excluded during startup: 1 - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ((device_id = 1) AND ("time" < ('2000-01-10'::cstring)::timestamp with time zone)) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ((device_id = 1) AND ("time" < ('2000-01-10'::cstring)::timestamp with time zone)) Heap Fetches: 0 (10 rows) @@ -186,10 +186,10 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics (actual rows=100 loops=1) Order: metrics."time" Chunks excluded during startup: 1 - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ((device_id = 1) AND ("time" < ('2000-01-10'::cstring)::timestamp with time zone)) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ((device_id = 1) AND ("time" < ('2000-01-10'::cstring)::timestamp with time zone)) Heap Fetches: 0 (10 rows) @@ -201,10 +201,10 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics (actual rows=100 loops=1) Order: metrics."time" Chunks excluded during startup: 1 - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ((device_id = 1) AND ("time" < ('2000-01-10'::cstring)::timestamp with time zone)) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ((device_id = 1) AND ("time" < ('2000-01-10'::cstring)::timestamp with time zone)) Heap Fetches: 0 (10 rows) @@ -231,25 +231,25 @@ LIMIT 100; -> Nested Loop Left Join (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics m1 (actual rows=100 loops=1) Order: m1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk m1_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk m1_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk m1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk m1_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk m1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk m1_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 -> Limit (actual rows=1 loops=100) -> Custom Scan (ChunkAppend) on metrics m2 (actual rows=1 loops=100) Chunks excluded during runtime: 2 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk m2_1 (actual rows=1 loops=100) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk m2_1 (actual rows=1 loops=100) Index Cond: ("time" = m1."time") Heap Fetches: 100 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk m2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk m2_2 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk m2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk m2_3 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 (25 rows) @@ -261,25 +261,25 @@ LIMIT 100; -> Nested Loop Left Join (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics m1 (actual rows=100 loops=1) Order: m1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk m1_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk m1_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk m1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk m1_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk m1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk m1_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 -> Limit (actual rows=1 loops=100) -> Custom Scan (ChunkAppend) on metrics m2 (actual rows=1 loops=100) Chunks excluded during runtime: 2 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk m2_1 (actual rows=1 loops=100) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk m2_1 (actual rows=1 loops=100) Index Cond: ("time" = m1."time") Heap Fetches: 100 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk m2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk m2_2 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk m2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk m2_3 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 (25 rows) @@ -291,25 +291,25 @@ LIMIT 100; -> Nested Loop Left Join (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics m1 (actual rows=100 loops=1) Order: m1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk m1_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk m1_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk m1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk m1_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk m1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk m1_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 -> Limit (actual rows=1 loops=100) -> Custom Scan (ChunkAppend) on metrics m2 (actual rows=1 loops=100) Chunks excluded during runtime: 2 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk m2_1 (actual rows=1 loops=100) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk m2_1 (actual rows=1 loops=100) Index Cond: ("time" = m1."time") Heap Fetches: 100 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk m2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk m2_2 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk m2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk m2_3 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 (25 rows) @@ -321,25 +321,25 @@ LIMIT 100; -> Nested Loop Left Join (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics m1 (actual rows=100 loops=1) Order: m1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk m1_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk m1_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk m1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk m1_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk m1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk m1_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 -> Limit (actual rows=1 loops=100) -> Custom Scan (ChunkAppend) on metrics m2 (actual rows=1 loops=100) Chunks excluded during runtime: 2 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk m2_1 (actual rows=1 loops=100) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk m2_1 (actual rows=1 loops=100) Index Cond: ("time" = m1."time") Heap Fetches: 100 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk m2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk m2_2 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk m2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk m2_3 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 (25 rows) @@ -351,25 +351,25 @@ LIMIT 100; -> Nested Loop Left Join (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics m1 (actual rows=100 loops=1) Order: m1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk m1_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk m1_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk m1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk m1_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk m1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk m1_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 -> Limit (actual rows=1 loops=100) -> Custom Scan (ChunkAppend) on metrics m2 (actual rows=1 loops=100) Chunks excluded during runtime: 2 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk m2_1 (actual rows=1 loops=100) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk m2_1 (actual rows=1 loops=100) Index Cond: ("time" = m1."time") Heap Fetches: 100 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk m2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk m2_2 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk m2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk m2_3 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 (25 rows) @@ -392,10 +392,10 @@ FROM ( -> Custom Scan (ChunkAppend) on metrics (actual rows=100 loops=1) Order: metrics."time" Chunks excluded during startup: 1 - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 (10 rows) @@ -407,10 +407,10 @@ FROM ( -> Custom Scan (ChunkAppend) on metrics (actual rows=100 loops=1) Order: metrics."time" Chunks excluded during startup: 1 - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 (10 rows) @@ -422,10 +422,10 @@ FROM ( -> Custom Scan (ChunkAppend) on metrics (actual rows=100 loops=1) Order: metrics."time" Chunks excluded during startup: 1 - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 (10 rows) @@ -437,10 +437,10 @@ FROM ( -> Custom Scan (ChunkAppend) on metrics (actual rows=100 loops=1) Order: metrics."time" Chunks excluded during startup: 1 - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 (10 rows) @@ -452,10 +452,10 @@ FROM ( -> Custom Scan (ChunkAppend) on metrics (actual rows=100 loops=1) Order: metrics."time" Chunks excluded during startup: 1 - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 (10 rows) @@ -485,9 +485,9 @@ FROM ( Hypertable: metrics Chunks left after exclusion: 2 -> Append (actual rows=33590 loops=1) - -> Seq Scan on _hyper_1_1_chunk (actual rows=17990 loops=1) + -> Seq Scan on _hyper_X_X_chunk (actual rows=17990 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Index Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (actual rows=15600 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=15600 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) (12 rows) @@ -502,9 +502,9 @@ FROM ( Hypertable: metrics Chunks left after exclusion: 2 -> Append (actual rows=33590 loops=1) - -> Seq Scan on _hyper_1_1_chunk (actual rows=17990 loops=1) + -> Seq Scan on _hyper_X_X_chunk (actual rows=17990 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Index Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (actual rows=15600 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=15600 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) (12 rows) @@ -519,9 +519,9 @@ FROM ( Hypertable: metrics Chunks left after exclusion: 2 -> Append (actual rows=33590 loops=1) - -> Seq Scan on _hyper_1_1_chunk (actual rows=17990 loops=1) + -> Seq Scan on _hyper_X_X_chunk (actual rows=17990 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Index Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (actual rows=15600 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=15600 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) (12 rows) @@ -536,9 +536,9 @@ FROM ( Hypertable: metrics Chunks left after exclusion: 2 -> Append (actual rows=33590 loops=1) - -> Seq Scan on _hyper_1_1_chunk (actual rows=17990 loops=1) + -> Seq Scan on _hyper_X_X_chunk (actual rows=17990 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Index Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (actual rows=15600 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=15600 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) (12 rows) @@ -553,9 +553,9 @@ FROM ( Hypertable: metrics Chunks left after exclusion: 2 -> Append (actual rows=33590 loops=1) - -> Seq Scan on _hyper_1_1_chunk (actual rows=17990 loops=1) + -> Seq Scan on _hyper_X_X_chunk (actual rows=17990 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Index Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (actual rows=15600 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=15600 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) (12 rows) @@ -582,13 +582,13 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=100 loops=1) Order: metrics_space."time" Chunks excluded during startup: 0 - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ("time" < now()) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Filter: (device_id = 1) (13 rows) @@ -600,13 +600,13 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=100 loops=1) Order: metrics_space."time" Chunks excluded during startup: 0 - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ("time" < now()) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Filter: (device_id = 1) (13 rows) @@ -618,13 +618,13 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=100 loops=1) Order: metrics_space."time" Chunks excluded during startup: 0 - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ("time" < now()) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Filter: (device_id = 1) (13 rows) @@ -636,13 +636,13 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=100 loops=1) Order: metrics_space."time" Chunks excluded during startup: 0 - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ("time" < now()) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Filter: (device_id = 1) (13 rows) @@ -654,13 +654,13 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=100 loops=1) Order: metrics_space."time" Chunks excluded during startup: 0 - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ("time" < now()) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Filter: (device_id = 1) (13 rows) @@ -681,10 +681,10 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=100 loops=1) Order: metrics_space."time" Chunks excluded during startup: 1 - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Filter: (device_id = 1) (10 rows) @@ -696,10 +696,10 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=100 loops=1) Order: metrics_space."time" Chunks excluded during startup: 1 - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Filter: (device_id = 1) (10 rows) @@ -711,10 +711,10 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=100 loops=1) Order: metrics_space."time" Chunks excluded during startup: 1 - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Filter: (device_id = 1) (10 rows) @@ -726,10 +726,10 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=100 loops=1) Order: metrics_space."time" Chunks excluded during startup: 1 - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Filter: (device_id = 1) (10 rows) @@ -741,10 +741,10 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=100 loops=1) Order: metrics_space."time" Chunks excluded during startup: 1 - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Filter: (device_id = 1) (10 rows) @@ -771,43 +771,43 @@ LIMIT 100; -> Nested Loop Left Join (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space m1 (actual rows=100 loops=1) Order: m1."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk m1_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk m1_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk m1_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk m1_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk m1_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk m1_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 -> Limit (actual rows=1 loops=100) -> Custom Scan (ChunkAppend) on metrics_space m2 (actual rows=1 loops=100) Chunks excluded during runtime: 6 - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk m2_1 (actual rows=1 loops=100) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_1 (actual rows=1 loops=100) Index Cond: ("time" = m1."time") Heap Fetches: 100 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk m2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_2 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk m2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_3 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk m2_4 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_4 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk m2_5 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_5 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk m2_6 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_6 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk m2_7 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_7 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk m2_8 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_8 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk m2_9 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_9 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 (43 rows) @@ -819,43 +819,43 @@ LIMIT 100; -> Nested Loop Left Join (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space m1 (actual rows=100 loops=1) Order: m1."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk m1_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk m1_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk m1_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk m1_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk m1_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk m1_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 -> Limit (actual rows=1 loops=100) -> Custom Scan (ChunkAppend) on metrics_space m2 (actual rows=1 loops=100) Chunks excluded during runtime: 6 - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk m2_1 (actual rows=1 loops=100) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_1 (actual rows=1 loops=100) Index Cond: ("time" = m1."time") Heap Fetches: 100 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk m2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_2 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk m2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_3 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk m2_4 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_4 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk m2_5 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_5 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk m2_6 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_6 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk m2_7 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_7 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk m2_8 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_8 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk m2_9 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_9 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 (43 rows) @@ -867,43 +867,43 @@ LIMIT 100; -> Nested Loop Left Join (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space m1 (actual rows=100 loops=1) Order: m1."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk m1_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk m1_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk m1_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk m1_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk m1_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk m1_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 -> Limit (actual rows=1 loops=100) -> Custom Scan (ChunkAppend) on metrics_space m2 (actual rows=1 loops=100) Chunks excluded during runtime: 6 - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk m2_1 (actual rows=1 loops=100) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_1 (actual rows=1 loops=100) Index Cond: ("time" = m1."time") Heap Fetches: 100 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk m2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_2 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk m2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_3 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk m2_4 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_4 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk m2_5 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_5 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk m2_6 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_6 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk m2_7 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_7 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk m2_8 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_8 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk m2_9 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_9 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 (43 rows) @@ -915,43 +915,43 @@ LIMIT 100; -> Nested Loop Left Join (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space m1 (actual rows=100 loops=1) Order: m1."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk m1_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk m1_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk m1_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk m1_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk m1_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk m1_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 -> Limit (actual rows=1 loops=100) -> Custom Scan (ChunkAppend) on metrics_space m2 (actual rows=1 loops=100) Chunks excluded during runtime: 6 - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk m2_1 (actual rows=1 loops=100) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_1 (actual rows=1 loops=100) Index Cond: ("time" = m1."time") Heap Fetches: 100 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk m2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_2 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk m2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_3 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk m2_4 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_4 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk m2_5 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_5 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk m2_6 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_6 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk m2_7 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_7 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk m2_8 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_8 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk m2_9 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_9 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 (43 rows) @@ -963,43 +963,43 @@ LIMIT 100; -> Nested Loop Left Join (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space m1 (actual rows=100 loops=1) Order: m1."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk m1_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk m1_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk m1_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk m1_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk m1_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk m1_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 -> Limit (actual rows=1 loops=100) -> Custom Scan (ChunkAppend) on metrics_space m2 (actual rows=1 loops=100) Chunks excluded during runtime: 6 - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk m2_1 (actual rows=1 loops=100) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_1 (actual rows=1 loops=100) Index Cond: ("time" = m1."time") Heap Fetches: 100 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk m2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_2 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk m2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_3 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk m2_4 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_4 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk m2_5 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_5 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk m2_6 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_6 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk m2_7 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_7 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk m2_8 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_8 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk m2_9 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk m2_9 (never executed) Index Cond: ("time" = m1."time") Heap Fetches: 0 (43 rows) @@ -1022,36 +1022,36 @@ FROM ( -> Custom Scan (ChunkAppend) on metrics_space (actual rows=100 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=100 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=21 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=21 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 21 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=60 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=60 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 60 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=21 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=21 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 21 -> Merge Append (never executed) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 (36 rows) @@ -1063,36 +1063,36 @@ FROM ( -> Custom Scan (ChunkAppend) on metrics_space (actual rows=100 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=100 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=21 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=21 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 21 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=60 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=60 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 60 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=21 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=21 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 21 -> Merge Append (never executed) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 (36 rows) @@ -1104,36 +1104,36 @@ FROM ( -> Custom Scan (ChunkAppend) on metrics_space (actual rows=100 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=100 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=21 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=21 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 21 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=60 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=60 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 60 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=21 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=21 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 21 -> Merge Append (never executed) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 (36 rows) @@ -1145,36 +1145,36 @@ FROM ( -> Custom Scan (ChunkAppend) on metrics_space (actual rows=100 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=100 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=21 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=21 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 21 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=60 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=60 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 60 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=21 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=21 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 21 -> Merge Append (never executed) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 (36 rows) @@ -1186,36 +1186,36 @@ FROM ( -> Custom Scan (ChunkAppend) on metrics_space (actual rows=100 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=100 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=21 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=21 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 21 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=60 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=60 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 60 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=21 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=21 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 21 -> Merge Append (never executed) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 0 (36 rows) @@ -1242,23 +1242,23 @@ FROM ( Hypertable: metrics_space Chunks left after exclusion: 6 -> Merge Append (actual rows=100 loops=1) - Sort Key: _hyper_2_4_chunk.device_id, _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_device_id_time_idx on _hyper_2_4_chunk (actual rows=100 loops=1) + Sort Key: _hyper_X_X_chunk.device_id, _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_device_id_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_device_id_time_idx on _hyper_2_7_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_device_id_time_idx on _hyper_2_9_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 (24 rows) @@ -1271,23 +1271,23 @@ FROM ( Hypertable: metrics_space Chunks left after exclusion: 6 -> Merge Append (actual rows=100 loops=1) - Sort Key: _hyper_2_4_chunk.device_id, _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_device_id_time_idx on _hyper_2_4_chunk (actual rows=100 loops=1) + Sort Key: _hyper_X_X_chunk.device_id, _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_device_id_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_device_id_time_idx on _hyper_2_7_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_device_id_time_idx on _hyper_2_9_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 (24 rows) @@ -1300,23 +1300,23 @@ FROM ( Hypertable: metrics_space Chunks left after exclusion: 6 -> Merge Append (actual rows=100 loops=1) - Sort Key: _hyper_2_4_chunk.device_id, _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_device_id_time_idx on _hyper_2_4_chunk (actual rows=100 loops=1) + Sort Key: _hyper_X_X_chunk.device_id, _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_device_id_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_device_id_time_idx on _hyper_2_7_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_device_id_time_idx on _hyper_2_9_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 (24 rows) @@ -1329,23 +1329,23 @@ FROM ( Hypertable: metrics_space Chunks left after exclusion: 6 -> Merge Append (actual rows=100 loops=1) - Sort Key: _hyper_2_4_chunk.device_id, _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_device_id_time_idx on _hyper_2_4_chunk (actual rows=100 loops=1) + Sort Key: _hyper_X_X_chunk.device_id, _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_device_id_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_device_id_time_idx on _hyper_2_7_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_device_id_time_idx on _hyper_2_9_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 (24 rows) @@ -1358,23 +1358,23 @@ FROM ( Hypertable: metrics_space Chunks left after exclusion: 6 -> Merge Append (actual rows=100 loops=1) - Sort Key: _hyper_2_4_chunk.device_id, _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_device_id_time_idx on _hyper_2_4_chunk (actual rows=100 loops=1) + Sort Key: _hyper_X_X_chunk.device_id, _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_device_id_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_device_id_time_idx on _hyper_2_7_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_device_id_time_idx on _hyper_2_9_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Heap Fetches: 1 (24 rows) @@ -1402,17 +1402,17 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=100 loops=1) Order: metrics_compressed."time" Chunks excluded during startup: 0 - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=100 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < now()) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < now()) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < now()) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) (16 rows) @@ -1423,17 +1423,17 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=100 loops=1) Order: metrics_compressed."time" Chunks excluded during startup: 0 - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=100 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < now()) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < now()) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < now()) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) (16 rows) @@ -1444,17 +1444,17 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=100 loops=1) Order: metrics_compressed."time" Chunks excluded during startup: 0 - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=100 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < now()) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < now()) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < now()) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) (16 rows) @@ -1465,17 +1465,17 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=100 loops=1) Order: metrics_compressed."time" Chunks excluded during startup: 0 - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=100 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < now()) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < now()) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < now()) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) (16 rows) @@ -1486,17 +1486,17 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=100 loops=1) Order: metrics_compressed."time" Chunks excluded during startup: 0 - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=100 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < now()) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < now()) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < now()) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) (16 rows) @@ -1516,13 +1516,13 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=100 loops=1) Order: metrics_compressed."time" Chunks excluded during startup: 1 - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=100 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) (12 rows) @@ -1533,13 +1533,13 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=100 loops=1) Order: metrics_compressed."time" Chunks excluded during startup: 1 - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=100 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) (12 rows) @@ -1550,13 +1550,13 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=100 loops=1) Order: metrics_compressed."time" Chunks excluded during startup: 1 - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=100 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) (12 rows) @@ -1567,13 +1567,13 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=100 loops=1) Order: metrics_compressed."time" Chunks excluded during startup: 1 - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=100 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) (12 rows) @@ -1584,13 +1584,13 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=100 loops=1) Order: metrics_compressed."time" Chunks excluded during startup: 1 - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=100 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) (12 rows) @@ -1616,31 +1616,31 @@ LIMIT 100; -> Nested Loop Left Join (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed m1 (actual rows=100 loops=1) Order: m1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk m1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk m1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk m1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) -> Limit (actual rows=1 loops=100) -> Custom Scan (ChunkAppend) on metrics_compressed m2 (actual rows=1 loops=100) Chunks excluded during runtime: 2 - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk m2_1 (actual rows=1 loops=100) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_1 (actual rows=1 loops=100) Filter: (m1."time" = "time") Rows Removed by Filter: 548 - -> Seq Scan on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=100) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=100) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) Rows Removed by Filter: 3 - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk m2_2 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_2 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk m2_3 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_3 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) (30 rows) @@ -1651,31 +1651,31 @@ LIMIT 100; -> Nested Loop Left Join (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed m1 (actual rows=100 loops=1) Order: m1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk m1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk m1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk m1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) -> Limit (actual rows=1 loops=100) -> Custom Scan (ChunkAppend) on metrics_compressed m2 (actual rows=1 loops=100) Chunks excluded during runtime: 2 - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk m2_1 (actual rows=1 loops=100) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_1 (actual rows=1 loops=100) Filter: (m1."time" = "time") Rows Removed by Filter: 548 - -> Seq Scan on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=100) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=100) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) Rows Removed by Filter: 3 - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk m2_2 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_2 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk m2_3 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_3 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) (30 rows) @@ -1686,31 +1686,31 @@ LIMIT 100; -> Nested Loop Left Join (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed m1 (actual rows=100 loops=1) Order: m1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk m1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk m1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk m1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) -> Limit (actual rows=1 loops=100) -> Custom Scan (ChunkAppend) on metrics_compressed m2 (actual rows=1 loops=100) Chunks excluded during runtime: 2 - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk m2_1 (actual rows=1 loops=100) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_1 (actual rows=1 loops=100) Filter: (m1."time" = "time") Rows Removed by Filter: 548 - -> Seq Scan on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=100) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=100) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) Rows Removed by Filter: 3 - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk m2_2 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_2 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk m2_3 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_3 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) (30 rows) @@ -1721,31 +1721,31 @@ LIMIT 100; -> Nested Loop Left Join (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed m1 (actual rows=100 loops=1) Order: m1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk m1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk m1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk m1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) -> Limit (actual rows=1 loops=100) -> Custom Scan (ChunkAppend) on metrics_compressed m2 (actual rows=1 loops=100) Chunks excluded during runtime: 2 - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk m2_1 (actual rows=1 loops=100) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_1 (actual rows=1 loops=100) Filter: (m1."time" = "time") Rows Removed by Filter: 548 - -> Seq Scan on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=100) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=100) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) Rows Removed by Filter: 3 - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk m2_2 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_2 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk m2_3 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_3 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) (30 rows) @@ -1756,31 +1756,31 @@ LIMIT 100; -> Nested Loop Left Join (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed m1 (actual rows=100 loops=1) Order: m1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk m1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk m1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk m1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) -> Limit (actual rows=1 loops=100) -> Custom Scan (ChunkAppend) on metrics_compressed m2 (actual rows=1 loops=100) Chunks excluded during runtime: 2 - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk m2_1 (actual rows=1 loops=100) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_1 (actual rows=1 loops=100) Filter: (m1."time" = "time") Rows Removed by Filter: 548 - -> Seq Scan on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=100) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=100) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) Rows Removed by Filter: 3 - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk m2_2 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_2 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk m2_3 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_3 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) (30 rows) @@ -1804,13 +1804,13 @@ FROM ( Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=33590 loops=1) Chunks excluded during startup: 1 - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=15600 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15600 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 9590 - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (13 rows) :PREFIX EXECUTE prep; @@ -1822,13 +1822,13 @@ FROM ( Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=33590 loops=1) Chunks excluded during startup: 1 - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=15600 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15600 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 9590 - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (13 rows) :PREFIX EXECUTE prep; @@ -1840,13 +1840,13 @@ FROM ( Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=33590 loops=1) Chunks excluded during startup: 1 - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=15600 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15600 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 9590 - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (13 rows) :PREFIX EXECUTE prep; @@ -1858,13 +1858,13 @@ FROM ( Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=33590 loops=1) Chunks excluded during startup: 1 - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=15600 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15600 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 9590 - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (13 rows) :PREFIX EXECUTE prep; @@ -1876,13 +1876,13 @@ FROM ( Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=33590 loops=1) Chunks excluded during startup: 1 - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=15600 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15600 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 9590 - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (13 rows) DEALLOCATE prep; @@ -1907,19 +1907,19 @@ FROM ( Hypertable: metrics_compressed Chunks left after exclusion: 2 -> Merge Append (actual rows=100 loops=1) - Sort Key: _hyper_3_13_chunk.device_id, _hyper_3_13_chunk."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=100 loops=1) + Sort Key: _hyper_X_X_chunk.device_id, _hyper_X_X_chunk."time" + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_4_18_chunk.device_id, compress_hyper_4_18_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_4_17_chunk.device_id, compress_hyper_4_17_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (18 rows) :PREFIX EXECUTE prep; @@ -1930,19 +1930,19 @@ FROM ( Hypertable: metrics_compressed Chunks left after exclusion: 2 -> Merge Append (actual rows=100 loops=1) - Sort Key: _hyper_3_13_chunk.device_id, _hyper_3_13_chunk."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=100 loops=1) + Sort Key: _hyper_X_X_chunk.device_id, _hyper_X_X_chunk."time" + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_4_18_chunk.device_id, compress_hyper_4_18_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_4_17_chunk.device_id, compress_hyper_4_17_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (18 rows) :PREFIX EXECUTE prep; @@ -1953,19 +1953,19 @@ FROM ( Hypertable: metrics_compressed Chunks left after exclusion: 2 -> Merge Append (actual rows=100 loops=1) - Sort Key: _hyper_3_13_chunk.device_id, _hyper_3_13_chunk."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=100 loops=1) + Sort Key: _hyper_X_X_chunk.device_id, _hyper_X_X_chunk."time" + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_4_18_chunk.device_id, compress_hyper_4_18_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_4_17_chunk.device_id, compress_hyper_4_17_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (18 rows) :PREFIX EXECUTE prep; @@ -1976,19 +1976,19 @@ FROM ( Hypertable: metrics_compressed Chunks left after exclusion: 2 -> Merge Append (actual rows=100 loops=1) - Sort Key: _hyper_3_13_chunk.device_id, _hyper_3_13_chunk."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=100 loops=1) + Sort Key: _hyper_X_X_chunk.device_id, _hyper_X_X_chunk."time" + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_4_18_chunk.device_id, compress_hyper_4_18_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_4_17_chunk.device_id, compress_hyper_4_17_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (18 rows) :PREFIX EXECUTE prep; @@ -1999,19 +1999,19 @@ FROM ( Hypertable: metrics_compressed Chunks left after exclusion: 2 -> Merge Append (actual rows=100 loops=1) - Sort Key: _hyper_3_13_chunk.device_id, _hyper_3_13_chunk."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=100 loops=1) + Sort Key: _hyper_X_X_chunk.device_id, _hyper_X_X_chunk."time" + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_4_18_chunk.device_id, compress_hyper_4_18_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_4_17_chunk.device_id, compress_hyper_4_17_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (18 rows) DEALLOCATE prep; @@ -2037,24 +2037,24 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=100 loops=1) Order: metrics_space_compressed."time" Chunks excluded during startup: 0 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=100 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < now()) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_36_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < now()) -> Sort (never executed) - Sort Key: compress_hyper_6_33_chunk._ts_meta_sequence_num DESC - -> Seq Scan on compress_hyper_6_33_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < now()) -> Sort (never executed) - Sort Key: compress_hyper_6_30_chunk._ts_meta_sequence_num DESC - -> Seq Scan on compress_hyper_6_30_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) (23 rows) @@ -2065,24 +2065,24 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=100 loops=1) Order: metrics_space_compressed."time" Chunks excluded during startup: 0 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=100 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < now()) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_36_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < now()) -> Sort (never executed) - Sort Key: compress_hyper_6_33_chunk._ts_meta_sequence_num DESC - -> Seq Scan on compress_hyper_6_33_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < now()) -> Sort (never executed) - Sort Key: compress_hyper_6_30_chunk._ts_meta_sequence_num DESC - -> Seq Scan on compress_hyper_6_30_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) (23 rows) @@ -2093,24 +2093,24 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=100 loops=1) Order: metrics_space_compressed."time" Chunks excluded during startup: 0 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=100 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < now()) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_36_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < now()) -> Sort (never executed) - Sort Key: compress_hyper_6_33_chunk._ts_meta_sequence_num DESC - -> Seq Scan on compress_hyper_6_33_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < now()) -> Sort (never executed) - Sort Key: compress_hyper_6_30_chunk._ts_meta_sequence_num DESC - -> Seq Scan on compress_hyper_6_30_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) (23 rows) @@ -2121,24 +2121,24 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=100 loops=1) Order: metrics_space_compressed."time" Chunks excluded during startup: 0 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=100 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < now()) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_36_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < now()) -> Sort (never executed) - Sort Key: compress_hyper_6_33_chunk._ts_meta_sequence_num DESC - -> Seq Scan on compress_hyper_6_33_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < now()) -> Sort (never executed) - Sort Key: compress_hyper_6_30_chunk._ts_meta_sequence_num DESC - -> Seq Scan on compress_hyper_6_30_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) (23 rows) @@ -2149,24 +2149,24 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=100 loops=1) Order: metrics_space_compressed."time" Chunks excluded during startup: 0 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=100 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < now()) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_36_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < now()) -> Sort (never executed) - Sort Key: compress_hyper_6_33_chunk._ts_meta_sequence_num DESC - -> Seq Scan on compress_hyper_6_33_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < now()) -> Sort (never executed) - Sort Key: compress_hyper_6_30_chunk._ts_meta_sequence_num DESC - -> Seq Scan on compress_hyper_6_30_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) (23 rows) @@ -2186,18 +2186,18 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=100 loops=1) Order: metrics_space_compressed."time" Chunks excluded during startup: 1 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=100 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_36_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (never executed) - Sort Key: compress_hyper_6_33_chunk._ts_meta_sequence_num DESC - -> Seq Scan on compress_hyper_6_33_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) (17 rows) @@ -2208,18 +2208,18 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=100 loops=1) Order: metrics_space_compressed."time" Chunks excluded during startup: 1 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=100 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_36_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (never executed) - Sort Key: compress_hyper_6_33_chunk._ts_meta_sequence_num DESC - -> Seq Scan on compress_hyper_6_33_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) (17 rows) @@ -2230,18 +2230,18 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=100 loops=1) Order: metrics_space_compressed."time" Chunks excluded during startup: 1 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=100 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_36_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (never executed) - Sort Key: compress_hyper_6_33_chunk._ts_meta_sequence_num DESC - -> Seq Scan on compress_hyper_6_33_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) (17 rows) @@ -2252,18 +2252,18 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=100 loops=1) Order: metrics_space_compressed."time" Chunks excluded during startup: 1 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=100 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_36_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (never executed) - Sort Key: compress_hyper_6_33_chunk._ts_meta_sequence_num DESC - -> Seq Scan on compress_hyper_6_33_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) (17 rows) @@ -2274,18 +2274,18 @@ LIMIT 100; -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=100 loops=1) Order: metrics_space_compressed."time" Chunks excluded during startup: 1 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=100 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_36_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (never executed) - Sort Key: compress_hyper_6_33_chunk._ts_meta_sequence_num DESC - -> Seq Scan on compress_hyper_6_33_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num DESC + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) (17 rows) @@ -2311,55 +2311,55 @@ LIMIT 100; -> Nested Loop Left Join (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed m1 (actual rows=100 loops=1) Order: m1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk m1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk m1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk m1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) -> Limit (actual rows=1 loops=100) -> Custom Scan (ChunkAppend) on metrics_space_compressed m2 (actual rows=1 loops=100) Chunks excluded during runtime: 6 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk m2_1 (actual rows=1 loops=100) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_1 (actual rows=1 loops=100) Filter: (m1."time" = "time") Rows Removed by Filter: 548 - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=1 loops=100) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=1 loops=100) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) Rows Removed by Filter: 3 - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk m2_2 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_2 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_35_chunk compress_hyper_6_35_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk m2_3 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_3 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_34_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk m2_4 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_4 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_33_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk m2_5 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_5 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_32_chunk compress_hyper_6_32_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk m2_6 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_6 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_31_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk m2_7 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_7 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_30_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk m2_8 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_8 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_29_chunk compress_hyper_6_29_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk m2_9 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_9 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_28_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) (54 rows) @@ -2370,55 +2370,55 @@ LIMIT 100; -> Nested Loop Left Join (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed m1 (actual rows=100 loops=1) Order: m1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk m1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk m1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk m1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) -> Limit (actual rows=1 loops=100) -> Custom Scan (ChunkAppend) on metrics_space_compressed m2 (actual rows=1 loops=100) Chunks excluded during runtime: 6 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk m2_1 (actual rows=1 loops=100) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_1 (actual rows=1 loops=100) Filter: (m1."time" = "time") Rows Removed by Filter: 548 - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=1 loops=100) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=1 loops=100) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) Rows Removed by Filter: 3 - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk m2_2 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_2 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_35_chunk compress_hyper_6_35_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk m2_3 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_3 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_34_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk m2_4 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_4 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_33_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk m2_5 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_5 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_32_chunk compress_hyper_6_32_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk m2_6 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_6 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_31_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk m2_7 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_7 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_30_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk m2_8 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_8 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_29_chunk compress_hyper_6_29_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk m2_9 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_9 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_28_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) (54 rows) @@ -2429,55 +2429,55 @@ LIMIT 100; -> Nested Loop Left Join (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed m1 (actual rows=100 loops=1) Order: m1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk m1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk m1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk m1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) -> Limit (actual rows=1 loops=100) -> Custom Scan (ChunkAppend) on metrics_space_compressed m2 (actual rows=1 loops=100) Chunks excluded during runtime: 6 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk m2_1 (actual rows=1 loops=100) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_1 (actual rows=1 loops=100) Filter: (m1."time" = "time") Rows Removed by Filter: 548 - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=1 loops=100) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=1 loops=100) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) Rows Removed by Filter: 3 - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk m2_2 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_2 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_35_chunk compress_hyper_6_35_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk m2_3 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_3 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_34_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk m2_4 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_4 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_33_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk m2_5 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_5 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_32_chunk compress_hyper_6_32_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk m2_6 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_6 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_31_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk m2_7 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_7 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_30_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk m2_8 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_8 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_29_chunk compress_hyper_6_29_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk m2_9 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_9 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_28_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) (54 rows) @@ -2488,55 +2488,55 @@ LIMIT 100; -> Nested Loop Left Join (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed m1 (actual rows=100 loops=1) Order: m1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk m1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk m1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk m1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) -> Limit (actual rows=1 loops=100) -> Custom Scan (ChunkAppend) on metrics_space_compressed m2 (actual rows=1 loops=100) Chunks excluded during runtime: 6 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk m2_1 (actual rows=1 loops=100) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_1 (actual rows=1 loops=100) Filter: (m1."time" = "time") Rows Removed by Filter: 548 - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=1 loops=100) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=1 loops=100) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) Rows Removed by Filter: 3 - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk m2_2 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_2 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_35_chunk compress_hyper_6_35_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk m2_3 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_3 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_34_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk m2_4 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_4 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_33_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk m2_5 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_5 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_32_chunk compress_hyper_6_32_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk m2_6 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_6 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_31_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk m2_7 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_7 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_30_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk m2_8 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_8 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_29_chunk compress_hyper_6_29_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk m2_9 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_9 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_28_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) (54 rows) @@ -2547,55 +2547,55 @@ LIMIT 100; -> Nested Loop Left Join (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed m1 (actual rows=100 loops=1) Order: m1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk m1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk m1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk m1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) -> Limit (actual rows=1 loops=100) -> Custom Scan (ChunkAppend) on metrics_space_compressed m2 (actual rows=1 loops=100) Chunks excluded during runtime: 6 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk m2_1 (actual rows=1 loops=100) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_1 (actual rows=1 loops=100) Filter: (m1."time" = "time") Rows Removed by Filter: 548 - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=1 loops=100) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=1 loops=100) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) Rows Removed by Filter: 3 - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk m2_2 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_2 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_35_chunk compress_hyper_6_35_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk m2_3 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_3 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_34_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk m2_4 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_4 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_33_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk m2_5 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_5 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_32_chunk compress_hyper_6_32_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk m2_6 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_6 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_31_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk m2_7 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_7 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_30_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk m2_8 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_8 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_29_chunk compress_hyper_6_29_chunk_1 (never executed) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk m2_9 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk m2_9 (never executed) Filter: (m1."time" = "time") - -> Seq Scan on compress_hyper_6_28_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= m1."time") AND (_ts_meta_max_1 >= m1."time")) (54 rows) @@ -2619,41 +2619,41 @@ FROM ( Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=33590 loops=1) -> Merge Append (actual rows=17990 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) -> Merge Append (actual rows=15600 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=3120 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3120 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 1918 - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=9360 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=9360 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 5754 - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=3120 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3120 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 1918 - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) -> Merge Append (actual rows=0 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 5038 - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 15114 - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 5038 - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (41 rows) :PREFIX EXECUTE prep; @@ -2665,41 +2665,41 @@ FROM ( Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=33590 loops=1) -> Merge Append (actual rows=17990 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) -> Merge Append (actual rows=15600 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=3120 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3120 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 1918 - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=9360 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=9360 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 5754 - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=3120 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3120 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 1918 - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) -> Merge Append (actual rows=0 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 5038 - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 15114 - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 5038 - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (41 rows) :PREFIX EXECUTE prep; @@ -2711,41 +2711,41 @@ FROM ( Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=33590 loops=1) -> Merge Append (actual rows=17990 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) -> Merge Append (actual rows=15600 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=3120 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3120 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 1918 - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=9360 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=9360 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 5754 - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=3120 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3120 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 1918 - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) -> Merge Append (actual rows=0 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 5038 - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 15114 - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 5038 - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (41 rows) :PREFIX EXECUTE prep; @@ -2757,41 +2757,41 @@ FROM ( Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=33590 loops=1) -> Merge Append (actual rows=17990 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) -> Merge Append (actual rows=15600 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=3120 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3120 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 1918 - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=9360 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=9360 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 5754 - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=3120 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3120 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 1918 - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) -> Merge Append (actual rows=0 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 5038 - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 15114 - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 5038 - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (41 rows) :PREFIX EXECUTE prep; @@ -2803,41 +2803,41 @@ FROM ( Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=33590 loops=1) -> Merge Append (actual rows=17990 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) -> Merge Append (actual rows=15600 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=3120 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3120 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 1918 - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=9360 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=9360 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 5754 - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=3120 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3120 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 1918 - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) -> Merge Append (actual rows=0 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 5038 - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 15114 - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) Rows Removed by Filter: 5038 - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (41 rows) DEALLOCATE prep; @@ -2862,43 +2862,43 @@ FROM ( Hypertable: metrics_space_compressed Chunks left after exclusion: 6 -> Merge Append (actual rows=100 loops=1) - Sort Key: _hyper_5_19_chunk.device_id, _hyper_5_19_chunk."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=100 loops=1) + Sort Key: _hyper_X_X_chunk.device_id, _hyper_X_X_chunk."time" + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_36_chunk.device_id, compress_hyper_6_36_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_35_chunk.device_id, compress_hyper_6_35_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_34_chunk.device_id, compress_hyper_6_34_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_33_chunk.device_id, compress_hyper_6_33_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_32_chunk.device_id, compress_hyper_6_32_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_31_chunk.device_id, compress_hyper_6_31_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (42 rows) :PREFIX EXECUTE prep; @@ -2909,43 +2909,43 @@ FROM ( Hypertable: metrics_space_compressed Chunks left after exclusion: 6 -> Merge Append (actual rows=100 loops=1) - Sort Key: _hyper_5_19_chunk.device_id, _hyper_5_19_chunk."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=100 loops=1) + Sort Key: _hyper_X_X_chunk.device_id, _hyper_X_X_chunk."time" + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_36_chunk.device_id, compress_hyper_6_36_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_35_chunk.device_id, compress_hyper_6_35_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_34_chunk.device_id, compress_hyper_6_34_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_33_chunk.device_id, compress_hyper_6_33_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_32_chunk.device_id, compress_hyper_6_32_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_31_chunk.device_id, compress_hyper_6_31_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (42 rows) :PREFIX EXECUTE prep; @@ -2956,43 +2956,43 @@ FROM ( Hypertable: metrics_space_compressed Chunks left after exclusion: 6 -> Merge Append (actual rows=100 loops=1) - Sort Key: _hyper_5_19_chunk.device_id, _hyper_5_19_chunk."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=100 loops=1) + Sort Key: _hyper_X_X_chunk.device_id, _hyper_X_X_chunk."time" + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_36_chunk.device_id, compress_hyper_6_36_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_35_chunk.device_id, compress_hyper_6_35_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_34_chunk.device_id, compress_hyper_6_34_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_33_chunk.device_id, compress_hyper_6_33_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_32_chunk.device_id, compress_hyper_6_32_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_31_chunk.device_id, compress_hyper_6_31_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (42 rows) :PREFIX EXECUTE prep; @@ -3003,43 +3003,43 @@ FROM ( Hypertable: metrics_space_compressed Chunks left after exclusion: 6 -> Merge Append (actual rows=100 loops=1) - Sort Key: _hyper_5_19_chunk.device_id, _hyper_5_19_chunk."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=100 loops=1) + Sort Key: _hyper_X_X_chunk.device_id, _hyper_X_X_chunk."time" + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_36_chunk.device_id, compress_hyper_6_36_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_35_chunk.device_id, compress_hyper_6_35_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_34_chunk.device_id, compress_hyper_6_34_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_33_chunk.device_id, compress_hyper_6_33_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_32_chunk.device_id, compress_hyper_6_32_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_31_chunk.device_id, compress_hyper_6_31_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (42 rows) :PREFIX EXECUTE prep; @@ -3050,43 +3050,43 @@ FROM ( Hypertable: metrics_space_compressed Chunks left after exclusion: 6 -> Merge Append (actual rows=100 loops=1) - Sort Key: _hyper_5_19_chunk.device_id, _hyper_5_19_chunk."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=100 loops=1) + Sort Key: _hyper_X_X_chunk.device_id, _hyper_X_X_chunk."time" + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=100 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_36_chunk.device_id, compress_hyper_6_36_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_35_chunk.device_id, compress_hyper_6_35_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_34_chunk.device_id, compress_hyper_6_34_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_33_chunk.device_id, compress_hyper_6_33_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_32_chunk.device_id, compress_hyper_6_32_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" < ('2000-01-10'::cstring)::timestamp with time zone) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_31_chunk.device_id, compress_hyper_6_31_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (42 rows) DEALLOCATE prep; diff --git a/tsl/test/shared/expected/dist_distinct.out b/tsl/test/shared/expected/dist_distinct.out index 01285349b..29f6f11f1 100644 --- a/tsl/test/shared/expected/dist_distinct.out +++ b/tsl/test/shared/expected/dist_distinct.out @@ -39,17 +39,17 @@ LIMIT 10; -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_1 Output: metrics_dist_1.device_id Data node: data_node_1 - Chunks: _dist_hyper_7_37_chunk, _dist_hyper_7_40_chunk, _dist_hyper_7_43_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT device_id FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY device_id ASC NULLS LAST -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_2 Output: metrics_dist_2.device_id Data node: data_node_2 - Chunks: _dist_hyper_7_38_chunk, _dist_hyper_7_41_chunk, _dist_hyper_7_44_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT device_id FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY device_id ASC NULLS LAST -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_3 Output: metrics_dist_3.device_id Data node: data_node_3 - Chunks: _dist_hyper_7_39_chunk, _dist_hyper_7_42_chunk, _dist_hyper_7_45_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT device_id FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY device_id ASC NULLS LAST (23 rows) @@ -74,17 +74,17 @@ LIMIT 10; -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_1 Output: (metrics_dist_1.device_id * metrics_dist_1.v1) Data node: data_node_1 - Chunks: _dist_hyper_7_37_chunk, _dist_hyper_7_40_chunk, _dist_hyper_7_43_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT device_id, v1 FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY (device_id * v1) ASC NULLS LAST -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_2 Output: (metrics_dist_2.device_id * metrics_dist_2.v1) Data node: data_node_2 - Chunks: _dist_hyper_7_38_chunk, _dist_hyper_7_41_chunk, _dist_hyper_7_44_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT device_id, v1 FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY (device_id * v1) ASC NULLS LAST -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_3 Output: (metrics_dist_3.device_id * metrics_dist_3.v1) Data node: data_node_3 - Chunks: _dist_hyper_7_39_chunk, _dist_hyper_7_42_chunk, _dist_hyper_7_45_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT device_id, v1 FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY (device_id * v1) ASC NULLS LAST (23 rows) @@ -108,80 +108,80 @@ LIMIT 10; -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_1 Output: metrics_dist_1.device_id Data node: data_node_1 - Chunks: _dist_hyper_7_37_chunk, _dist_hyper_7_40_chunk, _dist_hyper_7_43_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT device_id FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY device_id ASC NULLS LAST Remote EXPLAIN: Unique - Output: _dist_hyper_7_37_chunk.device_id + Output: _dist_hyper_X_X_chunk.device_id -> Merge Append - Sort Key: _dist_hyper_7_37_chunk.device_id - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_37_chunk - Output: _dist_hyper_7_37_chunk.device_id - -> Index Only Scan using _dist_hyper_7_37_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_37_chunk - Output: _dist_hyper_7_37_chunk.device_id - Index Cond: (_dist_hyper_7_37_chunk.device_id > NULL::integer) - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_40_chunk - Output: _dist_hyper_7_40_chunk.device_id - -> Index Only Scan using _dist_hyper_7_40_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_40_chunk - Output: _dist_hyper_7_40_chunk.device_id - Index Cond: (_dist_hyper_7_40_chunk.device_id > NULL::integer) - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_43_chunk - Output: _dist_hyper_7_43_chunk.device_id - -> Index Only Scan using _dist_hyper_7_43_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_43_chunk - Output: _dist_hyper_7_43_chunk.device_id - Index Cond: (_dist_hyper_7_43_chunk.device_id > NULL::integer) + Sort Key: _dist_hyper_X_X_chunk.device_id + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_2 Output: metrics_dist_2.device_id Data node: data_node_2 - Chunks: _dist_hyper_7_38_chunk, _dist_hyper_7_41_chunk, _dist_hyper_7_44_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT device_id FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY device_id ASC NULLS LAST Remote EXPLAIN: Unique - Output: _dist_hyper_7_38_chunk.device_id + Output: _dist_hyper_X_X_chunk.device_id -> Merge Append - Sort Key: _dist_hyper_7_38_chunk.device_id - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_38_chunk - Output: _dist_hyper_7_38_chunk.device_id - -> Index Only Scan using _dist_hyper_7_38_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_38_chunk - Output: _dist_hyper_7_38_chunk.device_id - Index Cond: (_dist_hyper_7_38_chunk.device_id > NULL::integer) - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_41_chunk - Output: _dist_hyper_7_41_chunk.device_id - -> Index Only Scan using _dist_hyper_7_41_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_41_chunk - Output: _dist_hyper_7_41_chunk.device_id - Index Cond: (_dist_hyper_7_41_chunk.device_id > NULL::integer) - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_44_chunk - Output: _dist_hyper_7_44_chunk.device_id - -> Index Only Scan using _dist_hyper_7_44_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_44_chunk - Output: _dist_hyper_7_44_chunk.device_id - Index Cond: (_dist_hyper_7_44_chunk.device_id > NULL::integer) + Sort Key: _dist_hyper_X_X_chunk.device_id + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_3 Output: metrics_dist_3.device_id Data node: data_node_3 - Chunks: _dist_hyper_7_39_chunk, _dist_hyper_7_42_chunk, _dist_hyper_7_45_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT device_id FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY device_id ASC NULLS LAST Remote EXPLAIN: Unique - Output: _dist_hyper_7_39_chunk.device_id + Output: _dist_hyper_X_X_chunk.device_id -> Merge Append - Sort Key: _dist_hyper_7_39_chunk.device_id - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_39_chunk - Output: _dist_hyper_7_39_chunk.device_id - -> Index Only Scan using _dist_hyper_7_39_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_39_chunk - Output: _dist_hyper_7_39_chunk.device_id - Index Cond: (_dist_hyper_7_39_chunk.device_id > NULL::integer) - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_42_chunk - Output: _dist_hyper_7_42_chunk.device_id - -> Index Only Scan using _dist_hyper_7_42_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_42_chunk - Output: _dist_hyper_7_42_chunk.device_id - Index Cond: (_dist_hyper_7_42_chunk.device_id > NULL::integer) - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_45_chunk - Output: _dist_hyper_7_45_chunk.device_id - -> Index Only Scan using _dist_hyper_7_45_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_45_chunk - Output: _dist_hyper_7_45_chunk.device_id - Index Cond: (_dist_hyper_7_45_chunk.device_id > NULL::integer) + Sort Key: _dist_hyper_X_X_chunk.device_id + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) (86 rows) @@ -204,80 +204,80 @@ LIMIT 10; -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_1 Output: metrics_dist_1.device_id, NULL::text, 'const1'::text Data node: data_node_1 - Chunks: _dist_hyper_7_37_chunk, _dist_hyper_7_40_chunk, _dist_hyper_7_43_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT device_id FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY device_id ASC NULLS LAST Remote EXPLAIN: Unique - Output: _dist_hyper_7_37_chunk.device_id + Output: _dist_hyper_X_X_chunk.device_id -> Merge Append - Sort Key: _dist_hyper_7_37_chunk.device_id - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_37_chunk - Output: _dist_hyper_7_37_chunk.device_id - -> Index Only Scan using _dist_hyper_7_37_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_37_chunk - Output: _dist_hyper_7_37_chunk.device_id - Index Cond: (_dist_hyper_7_37_chunk.device_id > NULL::integer) - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_40_chunk - Output: _dist_hyper_7_40_chunk.device_id - -> Index Only Scan using _dist_hyper_7_40_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_40_chunk - Output: _dist_hyper_7_40_chunk.device_id - Index Cond: (_dist_hyper_7_40_chunk.device_id > NULL::integer) - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_43_chunk - Output: _dist_hyper_7_43_chunk.device_id - -> Index Only Scan using _dist_hyper_7_43_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_43_chunk - Output: _dist_hyper_7_43_chunk.device_id - Index Cond: (_dist_hyper_7_43_chunk.device_id > NULL::integer) + Sort Key: _dist_hyper_X_X_chunk.device_id + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_2 Output: metrics_dist_2.device_id, NULL::text, 'const1'::text Data node: data_node_2 - Chunks: _dist_hyper_7_38_chunk, _dist_hyper_7_41_chunk, _dist_hyper_7_44_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT device_id FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY device_id ASC NULLS LAST Remote EXPLAIN: Unique - Output: _dist_hyper_7_38_chunk.device_id + Output: _dist_hyper_X_X_chunk.device_id -> Merge Append - Sort Key: _dist_hyper_7_38_chunk.device_id - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_38_chunk - Output: _dist_hyper_7_38_chunk.device_id - -> Index Only Scan using _dist_hyper_7_38_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_38_chunk - Output: _dist_hyper_7_38_chunk.device_id - Index Cond: (_dist_hyper_7_38_chunk.device_id > NULL::integer) - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_41_chunk - Output: _dist_hyper_7_41_chunk.device_id - -> Index Only Scan using _dist_hyper_7_41_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_41_chunk - Output: _dist_hyper_7_41_chunk.device_id - Index Cond: (_dist_hyper_7_41_chunk.device_id > NULL::integer) - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_44_chunk - Output: _dist_hyper_7_44_chunk.device_id - -> Index Only Scan using _dist_hyper_7_44_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_44_chunk - Output: _dist_hyper_7_44_chunk.device_id - Index Cond: (_dist_hyper_7_44_chunk.device_id > NULL::integer) + Sort Key: _dist_hyper_X_X_chunk.device_id + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_3 Output: metrics_dist_3.device_id, NULL::text, 'const1'::text Data node: data_node_3 - Chunks: _dist_hyper_7_39_chunk, _dist_hyper_7_42_chunk, _dist_hyper_7_45_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT device_id FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY device_id ASC NULLS LAST Remote EXPLAIN: Unique - Output: _dist_hyper_7_39_chunk.device_id + Output: _dist_hyper_X_X_chunk.device_id -> Merge Append - Sort Key: _dist_hyper_7_39_chunk.device_id - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_39_chunk - Output: _dist_hyper_7_39_chunk.device_id - -> Index Only Scan using _dist_hyper_7_39_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_39_chunk - Output: _dist_hyper_7_39_chunk.device_id - Index Cond: (_dist_hyper_7_39_chunk.device_id > NULL::integer) - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_42_chunk - Output: _dist_hyper_7_42_chunk.device_id - -> Index Only Scan using _dist_hyper_7_42_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_42_chunk - Output: _dist_hyper_7_42_chunk.device_id - Index Cond: (_dist_hyper_7_42_chunk.device_id > NULL::integer) - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_45_chunk - Output: _dist_hyper_7_45_chunk.device_id - -> Index Only Scan using _dist_hyper_7_45_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_45_chunk - Output: _dist_hyper_7_45_chunk.device_id - Index Cond: (_dist_hyper_7_45_chunk.device_id > NULL::integer) + Sort Key: _dist_hyper_X_X_chunk.device_id + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) (86 rows) @@ -300,60 +300,60 @@ LIMIT 10; -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_1 Output: metrics_dist_1.device_id, metrics_dist_1."time", NULL::text, 'const1'::text Data node: data_node_1 - Chunks: _dist_hyper_7_37_chunk, _dist_hyper_7_40_chunk, _dist_hyper_7_43_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT "time", device_id FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY device_id ASC NULLS LAST, "time" ASC NULLS LAST Remote EXPLAIN: Unique - Output: _dist_hyper_7_37_chunk."time", _dist_hyper_7_37_chunk.device_id + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id -> Sort - Output: _dist_hyper_7_37_chunk."time", _dist_hyper_7_37_chunk.device_id - Sort Key: _dist_hyper_7_37_chunk.device_id, _dist_hyper_7_37_chunk."time" + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + Sort Key: _dist_hyper_X_X_chunk.device_id, _dist_hyper_X_X_chunk."time" -> Append - -> Seq Scan on _timescaledb_internal._dist_hyper_7_37_chunk - Output: _dist_hyper_7_37_chunk."time", _dist_hyper_7_37_chunk.device_id - -> Seq Scan on _timescaledb_internal._dist_hyper_7_40_chunk - Output: _dist_hyper_7_40_chunk."time", _dist_hyper_7_40_chunk.device_id - -> Seq Scan on _timescaledb_internal._dist_hyper_7_43_chunk - Output: _dist_hyper_7_43_chunk."time", _dist_hyper_7_43_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_2 Output: metrics_dist_2.device_id, metrics_dist_2."time", NULL::text, 'const1'::text Data node: data_node_2 - Chunks: _dist_hyper_7_38_chunk, _dist_hyper_7_41_chunk, _dist_hyper_7_44_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT "time", device_id FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY device_id ASC NULLS LAST, "time" ASC NULLS LAST Remote EXPLAIN: Sort - Output: _dist_hyper_7_38_chunk."time", _dist_hyper_7_38_chunk.device_id - Sort Key: _dist_hyper_7_38_chunk.device_id, _dist_hyper_7_38_chunk."time" + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + Sort Key: _dist_hyper_X_X_chunk.device_id, _dist_hyper_X_X_chunk."time" -> HashAggregate - Output: _dist_hyper_7_38_chunk."time", _dist_hyper_7_38_chunk.device_id - Group Key: _dist_hyper_7_38_chunk.device_id, _dist_hyper_7_38_chunk."time" + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + Group Key: _dist_hyper_X_X_chunk.device_id, _dist_hyper_X_X_chunk."time" -> Append - -> Seq Scan on _timescaledb_internal._dist_hyper_7_38_chunk - Output: _dist_hyper_7_38_chunk."time", _dist_hyper_7_38_chunk.device_id - -> Seq Scan on _timescaledb_internal._dist_hyper_7_41_chunk - Output: _dist_hyper_7_41_chunk."time", _dist_hyper_7_41_chunk.device_id - -> Seq Scan on _timescaledb_internal._dist_hyper_7_44_chunk - Output: _dist_hyper_7_44_chunk."time", _dist_hyper_7_44_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_3 Output: metrics_dist_3.device_id, metrics_dist_3."time", NULL::text, 'const1'::text Data node: data_node_3 - Chunks: _dist_hyper_7_39_chunk, _dist_hyper_7_42_chunk, _dist_hyper_7_45_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT "time", device_id FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY device_id ASC NULLS LAST, "time" ASC NULLS LAST Remote EXPLAIN: Unique - Output: _dist_hyper_7_39_chunk."time", _dist_hyper_7_39_chunk.device_id + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id -> Sort - Output: _dist_hyper_7_39_chunk."time", _dist_hyper_7_39_chunk.device_id - Sort Key: _dist_hyper_7_39_chunk.device_id, _dist_hyper_7_39_chunk."time" + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + Sort Key: _dist_hyper_X_X_chunk.device_id, _dist_hyper_X_X_chunk."time" -> Append - -> Seq Scan on _timescaledb_internal._dist_hyper_7_39_chunk - Output: _dist_hyper_7_39_chunk."time", _dist_hyper_7_39_chunk.device_id - -> Seq Scan on _timescaledb_internal._dist_hyper_7_42_chunk - Output: _dist_hyper_7_42_chunk."time", _dist_hyper_7_42_chunk.device_id - -> Seq Scan on _timescaledb_internal._dist_hyper_7_45_chunk - Output: _dist_hyper_7_45_chunk."time", _dist_hyper_7_45_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id (66 rows) @@ -376,60 +376,60 @@ LIMIT 10; -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_1 Output: metrics_dist_1.device_id, metrics_dist_1."time" Data node: data_node_1 - Chunks: _dist_hyper_7_37_chunk, _dist_hyper_7_40_chunk, _dist_hyper_7_43_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT "time", device_id FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY device_id ASC NULLS LAST, "time" ASC NULLS LAST Remote EXPLAIN: Unique - Output: _dist_hyper_7_37_chunk."time", _dist_hyper_7_37_chunk.device_id + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id -> Sort - Output: _dist_hyper_7_37_chunk."time", _dist_hyper_7_37_chunk.device_id - Sort Key: _dist_hyper_7_37_chunk.device_id, _dist_hyper_7_37_chunk."time" + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + Sort Key: _dist_hyper_X_X_chunk.device_id, _dist_hyper_X_X_chunk."time" -> Append - -> Seq Scan on _timescaledb_internal._dist_hyper_7_37_chunk - Output: _dist_hyper_7_37_chunk."time", _dist_hyper_7_37_chunk.device_id - -> Seq Scan on _timescaledb_internal._dist_hyper_7_40_chunk - Output: _dist_hyper_7_40_chunk."time", _dist_hyper_7_40_chunk.device_id - -> Seq Scan on _timescaledb_internal._dist_hyper_7_43_chunk - Output: _dist_hyper_7_43_chunk."time", _dist_hyper_7_43_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_2 Output: metrics_dist_2.device_id, metrics_dist_2."time" Data node: data_node_2 - Chunks: _dist_hyper_7_38_chunk, _dist_hyper_7_41_chunk, _dist_hyper_7_44_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT "time", device_id FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY device_id ASC NULLS LAST, "time" ASC NULLS LAST Remote EXPLAIN: Sort - Output: _dist_hyper_7_38_chunk."time", _dist_hyper_7_38_chunk.device_id - Sort Key: _dist_hyper_7_38_chunk.device_id, _dist_hyper_7_38_chunk."time" + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + Sort Key: _dist_hyper_X_X_chunk.device_id, _dist_hyper_X_X_chunk."time" -> HashAggregate - Output: _dist_hyper_7_38_chunk."time", _dist_hyper_7_38_chunk.device_id - Group Key: _dist_hyper_7_38_chunk.device_id, _dist_hyper_7_38_chunk."time" + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + Group Key: _dist_hyper_X_X_chunk.device_id, _dist_hyper_X_X_chunk."time" -> Append - -> Seq Scan on _timescaledb_internal._dist_hyper_7_38_chunk - Output: _dist_hyper_7_38_chunk."time", _dist_hyper_7_38_chunk.device_id - -> Seq Scan on _timescaledb_internal._dist_hyper_7_41_chunk - Output: _dist_hyper_7_41_chunk."time", _dist_hyper_7_41_chunk.device_id - -> Seq Scan on _timescaledb_internal._dist_hyper_7_44_chunk - Output: _dist_hyper_7_44_chunk."time", _dist_hyper_7_44_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_3 Output: metrics_dist_3.device_id, metrics_dist_3."time" Data node: data_node_3 - Chunks: _dist_hyper_7_39_chunk, _dist_hyper_7_42_chunk, _dist_hyper_7_45_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT "time", device_id FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY device_id ASC NULLS LAST, "time" ASC NULLS LAST Remote EXPLAIN: Unique - Output: _dist_hyper_7_39_chunk."time", _dist_hyper_7_39_chunk.device_id + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id -> Sort - Output: _dist_hyper_7_39_chunk."time", _dist_hyper_7_39_chunk.device_id - Sort Key: _dist_hyper_7_39_chunk.device_id, _dist_hyper_7_39_chunk."time" + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + Sort Key: _dist_hyper_X_X_chunk.device_id, _dist_hyper_X_X_chunk."time" -> Append - -> Seq Scan on _timescaledb_internal._dist_hyper_7_39_chunk - Output: _dist_hyper_7_39_chunk."time", _dist_hyper_7_39_chunk.device_id - -> Seq Scan on _timescaledb_internal._dist_hyper_7_42_chunk - Output: _dist_hyper_7_42_chunk."time", _dist_hyper_7_42_chunk.device_id - -> Seq Scan on _timescaledb_internal._dist_hyper_7_45_chunk - Output: _dist_hyper_7_45_chunk."time", _dist_hyper_7_45_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id (66 rows) @@ -452,59 +452,59 @@ LIMIT 10; -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_1 Output: metrics_dist_1.device_id, metrics_dist_1."time" Data node: data_node_1 - Chunks: _dist_hyper_7_37_chunk, _dist_hyper_7_40_chunk, _dist_hyper_7_43_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT ON (device_id, "time") "time", device_id FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY device_id ASC NULLS LAST, "time" ASC NULLS LAST Remote EXPLAIN: Unique - Output: _dist_hyper_7_37_chunk."time", _dist_hyper_7_37_chunk.device_id + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id -> Sort - Output: _dist_hyper_7_37_chunk."time", _dist_hyper_7_37_chunk.device_id - Sort Key: _dist_hyper_7_37_chunk.device_id, _dist_hyper_7_37_chunk."time" + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + Sort Key: _dist_hyper_X_X_chunk.device_id, _dist_hyper_X_X_chunk."time" -> Append - -> Seq Scan on _timescaledb_internal._dist_hyper_7_37_chunk - Output: _dist_hyper_7_37_chunk."time", _dist_hyper_7_37_chunk.device_id - -> Seq Scan on _timescaledb_internal._dist_hyper_7_40_chunk - Output: _dist_hyper_7_40_chunk."time", _dist_hyper_7_40_chunk.device_id - -> Seq Scan on _timescaledb_internal._dist_hyper_7_43_chunk - Output: _dist_hyper_7_43_chunk."time", _dist_hyper_7_43_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_2 Output: metrics_dist_2.device_id, metrics_dist_2."time" Data node: data_node_2 - Chunks: _dist_hyper_7_38_chunk, _dist_hyper_7_41_chunk, _dist_hyper_7_44_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT ON (device_id, "time") "time", device_id FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY device_id ASC NULLS LAST, "time" ASC NULLS LAST Remote EXPLAIN: Unique - Output: _dist_hyper_7_38_chunk."time", _dist_hyper_7_38_chunk.device_id + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id -> Sort - Output: _dist_hyper_7_38_chunk."time", _dist_hyper_7_38_chunk.device_id - Sort Key: _dist_hyper_7_38_chunk.device_id, _dist_hyper_7_38_chunk."time" + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + Sort Key: _dist_hyper_X_X_chunk.device_id, _dist_hyper_X_X_chunk."time" -> Append - -> Seq Scan on _timescaledb_internal._dist_hyper_7_38_chunk - Output: _dist_hyper_7_38_chunk."time", _dist_hyper_7_38_chunk.device_id - -> Seq Scan on _timescaledb_internal._dist_hyper_7_41_chunk - Output: _dist_hyper_7_41_chunk."time", _dist_hyper_7_41_chunk.device_id - -> Seq Scan on _timescaledb_internal._dist_hyper_7_44_chunk - Output: _dist_hyper_7_44_chunk."time", _dist_hyper_7_44_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_3 Output: metrics_dist_3.device_id, metrics_dist_3."time" Data node: data_node_3 - Chunks: _dist_hyper_7_39_chunk, _dist_hyper_7_42_chunk, _dist_hyper_7_45_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT ON (device_id, "time") "time", device_id FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY device_id ASC NULLS LAST, "time" ASC NULLS LAST Remote EXPLAIN: Unique - Output: _dist_hyper_7_39_chunk."time", _dist_hyper_7_39_chunk.device_id + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id -> Sort - Output: _dist_hyper_7_39_chunk."time", _dist_hyper_7_39_chunk.device_id - Sort Key: _dist_hyper_7_39_chunk.device_id, _dist_hyper_7_39_chunk."time" + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + Sort Key: _dist_hyper_X_X_chunk.device_id, _dist_hyper_X_X_chunk."time" -> Append - -> Seq Scan on _timescaledb_internal._dist_hyper_7_39_chunk - Output: _dist_hyper_7_39_chunk."time", _dist_hyper_7_39_chunk.device_id - -> Seq Scan on _timescaledb_internal._dist_hyper_7_42_chunk - Output: _dist_hyper_7_42_chunk."time", _dist_hyper_7_42_chunk.device_id - -> Seq Scan on _timescaledb_internal._dist_hyper_7_45_chunk - Output: _dist_hyper_7_45_chunk."time", _dist_hyper_7_45_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id (65 rows) @@ -529,59 +529,59 @@ LIMIT 10) a; -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_1 Output: metrics_dist_1.device_id, metrics_dist_1."time" Data node: data_node_1 - Chunks: _dist_hyper_7_37_chunk, _dist_hyper_7_40_chunk, _dist_hyper_7_43_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT ON (device_id) "time", device_id FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY device_id ASC NULLS LAST, "time" ASC NULLS LAST Remote EXPLAIN: Unique - Output: _dist_hyper_7_37_chunk."time", _dist_hyper_7_37_chunk.device_id + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id -> Sort - Output: _dist_hyper_7_37_chunk."time", _dist_hyper_7_37_chunk.device_id - Sort Key: _dist_hyper_7_37_chunk.device_id, _dist_hyper_7_37_chunk."time" + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + Sort Key: _dist_hyper_X_X_chunk.device_id, _dist_hyper_X_X_chunk."time" -> Append - -> Seq Scan on _timescaledb_internal._dist_hyper_7_37_chunk - Output: _dist_hyper_7_37_chunk."time", _dist_hyper_7_37_chunk.device_id - -> Seq Scan on _timescaledb_internal._dist_hyper_7_40_chunk - Output: _dist_hyper_7_40_chunk."time", _dist_hyper_7_40_chunk.device_id - -> Seq Scan on _timescaledb_internal._dist_hyper_7_43_chunk - Output: _dist_hyper_7_43_chunk."time", _dist_hyper_7_43_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_2 Output: metrics_dist_2.device_id, metrics_dist_2."time" Data node: data_node_2 - Chunks: _dist_hyper_7_38_chunk, _dist_hyper_7_41_chunk, _dist_hyper_7_44_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT ON (device_id) "time", device_id FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY device_id ASC NULLS LAST, "time" ASC NULLS LAST Remote EXPLAIN: Unique - Output: _dist_hyper_7_38_chunk."time", _dist_hyper_7_38_chunk.device_id + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id -> Sort - Output: _dist_hyper_7_38_chunk."time", _dist_hyper_7_38_chunk.device_id - Sort Key: _dist_hyper_7_38_chunk.device_id, _dist_hyper_7_38_chunk."time" + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + Sort Key: _dist_hyper_X_X_chunk.device_id, _dist_hyper_X_X_chunk."time" -> Append - -> Seq Scan on _timescaledb_internal._dist_hyper_7_38_chunk - Output: _dist_hyper_7_38_chunk."time", _dist_hyper_7_38_chunk.device_id - -> Seq Scan on _timescaledb_internal._dist_hyper_7_41_chunk - Output: _dist_hyper_7_41_chunk."time", _dist_hyper_7_41_chunk.device_id - -> Seq Scan on _timescaledb_internal._dist_hyper_7_44_chunk - Output: _dist_hyper_7_44_chunk."time", _dist_hyper_7_44_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_3 Output: metrics_dist_3.device_id, metrics_dist_3."time" Data node: data_node_3 - Chunks: _dist_hyper_7_39_chunk, _dist_hyper_7_42_chunk, _dist_hyper_7_45_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT ON (device_id) "time", device_id FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY device_id ASC NULLS LAST, "time" ASC NULLS LAST Remote EXPLAIN: Unique - Output: _dist_hyper_7_39_chunk."time", _dist_hyper_7_39_chunk.device_id + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id -> Sort - Output: _dist_hyper_7_39_chunk."time", _dist_hyper_7_39_chunk.device_id - Sort Key: _dist_hyper_7_39_chunk.device_id, _dist_hyper_7_39_chunk."time" + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + Sort Key: _dist_hyper_X_X_chunk.device_id, _dist_hyper_X_X_chunk."time" -> Append - -> Seq Scan on _timescaledb_internal._dist_hyper_7_39_chunk - Output: _dist_hyper_7_39_chunk."time", _dist_hyper_7_39_chunk.device_id - -> Seq Scan on _timescaledb_internal._dist_hyper_7_42_chunk - Output: _dist_hyper_7_42_chunk."time", _dist_hyper_7_42_chunk.device_id - -> Seq Scan on _timescaledb_internal._dist_hyper_7_45_chunk - Output: _dist_hyper_7_45_chunk."time", _dist_hyper_7_45_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id + -> Seq Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk."time", _dist_hyper_X_X_chunk.device_id (67 rows) @@ -595,127 +595,127 @@ LIMIT 10; QUERY PLAN ---------------------------------------------------------------------------------------------------------------------------------------------------------------- Limit - Output: _dist_hyper_7_37_chunk.device_id + Output: _dist_hyper_X_X_chunk.device_id -> Unique - Output: _dist_hyper_7_37_chunk.device_id + Output: _dist_hyper_X_X_chunk.device_id -> Merge Append - Sort Key: _dist_hyper_7_37_chunk.device_id - -> Foreign Scan on _timescaledb_internal._dist_hyper_7_37_chunk - Output: _dist_hyper_7_37_chunk.device_id + Sort Key: _dist_hyper_X_X_chunk.device_id + -> Foreign Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id Data node: data_node_1 - Remote SQL: SELECT DISTINCT device_id FROM _timescaledb_internal._dist_hyper_7_37_chunk ORDER BY device_id ASC NULLS LAST + Remote SQL: SELECT DISTINCT device_id FROM _timescaledb_internal._dist_hyper_X_X_chunk ORDER BY device_id ASC NULLS LAST Remote EXPLAIN: Unique Output: device_id - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_37_chunk + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk Output: device_id - -> Index Only Scan using _dist_hyper_7_37_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_37_chunk + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk Output: device_id - Index Cond: (_dist_hyper_7_37_chunk.device_id > NULL::integer) + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) - -> Foreign Scan on _timescaledb_internal._dist_hyper_7_38_chunk - Output: _dist_hyper_7_38_chunk.device_id + -> Foreign Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id Data node: data_node_2 - Remote SQL: SELECT DISTINCT device_id FROM _timescaledb_internal._dist_hyper_7_38_chunk ORDER BY device_id ASC NULLS LAST + Remote SQL: SELECT DISTINCT device_id FROM _timescaledb_internal._dist_hyper_X_X_chunk ORDER BY device_id ASC NULLS LAST Remote EXPLAIN: Unique Output: device_id - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_38_chunk + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk Output: device_id - -> Index Only Scan using _dist_hyper_7_38_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_38_chunk + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk Output: device_id - Index Cond: (_dist_hyper_7_38_chunk.device_id > NULL::integer) + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) - -> Foreign Scan on _timescaledb_internal._dist_hyper_7_39_chunk - Output: _dist_hyper_7_39_chunk.device_id + -> Foreign Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id Data node: data_node_3 - Remote SQL: SELECT DISTINCT device_id FROM _timescaledb_internal._dist_hyper_7_39_chunk ORDER BY device_id ASC NULLS LAST + Remote SQL: SELECT DISTINCT device_id FROM _timescaledb_internal._dist_hyper_X_X_chunk ORDER BY device_id ASC NULLS LAST Remote EXPLAIN: Unique Output: device_id - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_39_chunk + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk Output: device_id - -> Index Only Scan using _dist_hyper_7_39_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_39_chunk + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk Output: device_id - Index Cond: (_dist_hyper_7_39_chunk.device_id > NULL::integer) + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) - -> Foreign Scan on _timescaledb_internal._dist_hyper_7_40_chunk - Output: _dist_hyper_7_40_chunk.device_id + -> Foreign Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id Data node: data_node_1 - Remote SQL: SELECT DISTINCT device_id FROM _timescaledb_internal._dist_hyper_7_40_chunk ORDER BY device_id ASC NULLS LAST + Remote SQL: SELECT DISTINCT device_id FROM _timescaledb_internal._dist_hyper_X_X_chunk ORDER BY device_id ASC NULLS LAST Remote EXPLAIN: Unique Output: device_id - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_40_chunk + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk Output: device_id - -> Index Only Scan using _dist_hyper_7_40_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_40_chunk + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk Output: device_id - Index Cond: (_dist_hyper_7_40_chunk.device_id > NULL::integer) + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) - -> Foreign Scan on _timescaledb_internal._dist_hyper_7_41_chunk - Output: _dist_hyper_7_41_chunk.device_id + -> Foreign Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id Data node: data_node_2 - Remote SQL: SELECT DISTINCT device_id FROM _timescaledb_internal._dist_hyper_7_41_chunk ORDER BY device_id ASC NULLS LAST + Remote SQL: SELECT DISTINCT device_id FROM _timescaledb_internal._dist_hyper_X_X_chunk ORDER BY device_id ASC NULLS LAST Remote EXPLAIN: Unique Output: device_id - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_41_chunk + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk Output: device_id - -> Index Only Scan using _dist_hyper_7_41_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_41_chunk + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk Output: device_id - Index Cond: (_dist_hyper_7_41_chunk.device_id > NULL::integer) + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) - -> Foreign Scan on _timescaledb_internal._dist_hyper_7_42_chunk - Output: _dist_hyper_7_42_chunk.device_id + -> Foreign Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id Data node: data_node_3 - Remote SQL: SELECT DISTINCT device_id FROM _timescaledb_internal._dist_hyper_7_42_chunk ORDER BY device_id ASC NULLS LAST + Remote SQL: SELECT DISTINCT device_id FROM _timescaledb_internal._dist_hyper_X_X_chunk ORDER BY device_id ASC NULLS LAST Remote EXPLAIN: Unique Output: device_id - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_42_chunk + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk Output: device_id - -> Index Only Scan using _dist_hyper_7_42_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_42_chunk + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk Output: device_id - Index Cond: (_dist_hyper_7_42_chunk.device_id > NULL::integer) + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) - -> Foreign Scan on _timescaledb_internal._dist_hyper_7_43_chunk - Output: _dist_hyper_7_43_chunk.device_id + -> Foreign Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id Data node: data_node_1 - Remote SQL: SELECT DISTINCT device_id FROM _timescaledb_internal._dist_hyper_7_43_chunk ORDER BY device_id ASC NULLS LAST + Remote SQL: SELECT DISTINCT device_id FROM _timescaledb_internal._dist_hyper_X_X_chunk ORDER BY device_id ASC NULLS LAST Remote EXPLAIN: Unique Output: device_id - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_43_chunk + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk Output: device_id - -> Index Only Scan using _dist_hyper_7_43_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_43_chunk + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk Output: device_id - Index Cond: (_dist_hyper_7_43_chunk.device_id > NULL::integer) + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) - -> Foreign Scan on _timescaledb_internal._dist_hyper_7_44_chunk - Output: _dist_hyper_7_44_chunk.device_id + -> Foreign Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id Data node: data_node_2 - Remote SQL: SELECT DISTINCT device_id FROM _timescaledb_internal._dist_hyper_7_44_chunk ORDER BY device_id ASC NULLS LAST + Remote SQL: SELECT DISTINCT device_id FROM _timescaledb_internal._dist_hyper_X_X_chunk ORDER BY device_id ASC NULLS LAST Remote EXPLAIN: Unique Output: device_id - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_44_chunk + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk Output: device_id - -> Index Only Scan using _dist_hyper_7_44_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_44_chunk + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk Output: device_id - Index Cond: (_dist_hyper_7_44_chunk.device_id > NULL::integer) + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) - -> Foreign Scan on _timescaledb_internal._dist_hyper_7_45_chunk - Output: _dist_hyper_7_45_chunk.device_id + -> Foreign Scan on _timescaledb_internal._dist_hyper_X_X_chunk + Output: _dist_hyper_X_X_chunk.device_id Data node: data_node_3 - Remote SQL: SELECT DISTINCT device_id FROM _timescaledb_internal._dist_hyper_7_45_chunk ORDER BY device_id ASC NULLS LAST + Remote SQL: SELECT DISTINCT device_id FROM _timescaledb_internal._dist_hyper_X_X_chunk ORDER BY device_id ASC NULLS LAST Remote EXPLAIN: Unique Output: device_id - -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_7_45_chunk + -> Custom Scan (SkipScan) on _timescaledb_internal._dist_hyper_X_X_chunk Output: device_id - -> Index Only Scan using _dist_hyper_7_45_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_7_45_chunk + -> Index Only Scan using _dist_hyper_X_X_chunk_metrics_dist_device_id_time_idx on _timescaledb_internal._dist_hyper_X_X_chunk Output: device_id - Index Cond: (_dist_hyper_7_45_chunk.device_id > NULL::integer) + Index Cond: (_dist_hyper_X_X_chunk.device_id > NULL::integer) (123 rows) @@ -740,17 +740,17 @@ ORDER BY 1; -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_1 Output: metrics_dist_1.device_id, metrics_dist_1.device_id Data node: data_node_1 - Chunks: _dist_hyper_7_37_chunk, _dist_hyper_7_40_chunk, _dist_hyper_7_43_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT device_id FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_2 Output: metrics_dist_2.device_id, metrics_dist_2.device_id Data node: data_node_2 - Chunks: _dist_hyper_7_38_chunk, _dist_hyper_7_41_chunk, _dist_hyper_7_44_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT device_id FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_3 Output: metrics_dist_3.device_id, metrics_dist_3.device_id Data node: data_node_3 - Chunks: _dist_hyper_7_39_chunk, _dist_hyper_7_42_chunk, _dist_hyper_7_45_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT device_id FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) (24 rows) @@ -773,17 +773,17 @@ LIMIT 10; -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_1 Output: metrics_dist_1."time", metrics_dist_1.device_id, metrics_dist_1.v0, metrics_dist_1.v1, metrics_dist_1.v2, metrics_dist_1.v3 Data node: data_node_1 - Chunks: _dist_hyper_7_37_chunk, _dist_hyper_7_40_chunk, _dist_hyper_7_43_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT "time", device_id, v0, v1, v2, v3 FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY "time" ASC NULLS LAST, device_id ASC NULLS LAST, v0 ASC NULLS LAST, v1 ASC NULLS LAST, v2 ASC NULLS LAST, v3 ASC NULLS LAST -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_2 Output: metrics_dist_2."time", metrics_dist_2.device_id, metrics_dist_2.v0, metrics_dist_2.v1, metrics_dist_2.v2, metrics_dist_2.v3 Data node: data_node_2 - Chunks: _dist_hyper_7_38_chunk, _dist_hyper_7_41_chunk, _dist_hyper_7_44_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT "time", device_id, v0, v1, v2, v3 FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY "time" ASC NULLS LAST, device_id ASC NULLS LAST, v0 ASC NULLS LAST, v1 ASC NULLS LAST, v2 ASC NULLS LAST, v3 ASC NULLS LAST -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_3 Output: metrics_dist_3."time", metrics_dist_3.device_id, metrics_dist_3.v0, metrics_dist_3.v1, metrics_dist_3.v2, metrics_dist_3.v3 Data node: data_node_3 - Chunks: _dist_hyper_7_39_chunk, _dist_hyper_7_42_chunk, _dist_hyper_7_45_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT "time", device_id, v0, v1, v2, v3 FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY "time" ASC NULLS LAST, device_id ASC NULLS LAST, v0 ASC NULLS LAST, v1 ASC NULLS LAST, v2 ASC NULLS LAST, v3 ASC NULLS LAST (23 rows) @@ -806,17 +806,17 @@ LIMIT 10; -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_1 Output: metrics_dist_1."time", metrics_dist_1.device_id, metrics_dist_1.v0, metrics_dist_1.v1, metrics_dist_1.v2, metrics_dist_1.v3 Data node: data_node_1 - Chunks: _dist_hyper_7_37_chunk, _dist_hyper_7_40_chunk, _dist_hyper_7_43_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT ON (device_id) "time", device_id, v0, v1, v2, v3 FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY device_id ASC NULLS LAST, "time" ASC NULLS LAST -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_2 Output: metrics_dist_2."time", metrics_dist_2.device_id, metrics_dist_2.v0, metrics_dist_2.v1, metrics_dist_2.v2, metrics_dist_2.v3 Data node: data_node_2 - Chunks: _dist_hyper_7_38_chunk, _dist_hyper_7_41_chunk, _dist_hyper_7_44_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT ON (device_id) "time", device_id, v0, v1, v2, v3 FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY device_id ASC NULLS LAST, "time" ASC NULLS LAST -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_3 Output: metrics_dist_3."time", metrics_dist_3.device_id, metrics_dist_3.v0, metrics_dist_3.v1, metrics_dist_3.v2, metrics_dist_3.v3 Data node: data_node_3 - Chunks: _dist_hyper_7_39_chunk, _dist_hyper_7_42_chunk, _dist_hyper_7_45_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT ON (device_id) "time", device_id, v0, v1, v2, v3 FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY device_id ASC NULLS LAST, "time" ASC NULLS LAST (23 rows) @@ -841,17 +841,17 @@ LIMIT 10; -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_1 Output: metrics_dist_1.* Data node: data_node_1 - Chunks: _dist_hyper_7_37_chunk, _dist_hyper_7_40_chunk, _dist_hyper_7_43_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT "time", device_id, v0, v1, v2, v3 FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_2 Output: metrics_dist_2.* Data node: data_node_2 - Chunks: _dist_hyper_7_38_chunk, _dist_hyper_7_41_chunk, _dist_hyper_7_44_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT "time", device_id, v0, v1, v2, v3 FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_3 Output: metrics_dist_3.* Data node: data_node_3 - Chunks: _dist_hyper_7_39_chunk, _dist_hyper_7_42_chunk, _dist_hyper_7_45_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT DISTINCT "time", device_id, v0, v1, v2, v3 FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) (25 rows) @@ -874,17 +874,17 @@ LIMIT 10; -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_1 Output: time_bucket('@ 1 hour'::interval, metrics_dist_1."time") Data node: data_node_1 - Chunks: _dist_hyper_7_37_chunk, _dist_hyper_7_40_chunk, _dist_hyper_7_43_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT "time" FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY public.time_bucket('01:00:00'::interval, "time") ASC NULLS LAST -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_2 Output: time_bucket('@ 1 hour'::interval, metrics_dist_2."time") Data node: data_node_2 - Chunks: _dist_hyper_7_38_chunk, _dist_hyper_7_41_chunk, _dist_hyper_7_44_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT "time" FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY public.time_bucket('01:00:00'::interval, "time") ASC NULLS LAST -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_3 Output: time_bucket('@ 1 hour'::interval, metrics_dist_3."time") Data node: data_node_3 - Chunks: _dist_hyper_7_39_chunk, _dist_hyper_7_42_chunk, _dist_hyper_7_45_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT "time" FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) ORDER BY public.time_bucket('01:00:00'::interval, "time") ASC NULLS LAST (23 rows) @@ -902,17 +902,17 @@ FROM metrics_dist; -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_1 Output: 1, 'constx'::text Data node: data_node_1 - Chunks: _dist_hyper_7_37_chunk, _dist_hyper_7_40_chunk, _dist_hyper_7_43_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT NULL FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_2 Output: 1, 'constx'::text Data node: data_node_2 - Chunks: _dist_hyper_7_38_chunk, _dist_hyper_7_41_chunk, _dist_hyper_7_44_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT NULL FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) -> Custom Scan (DataNodeScan) on public.metrics_dist metrics_dist_3 Output: 1, 'constx'::text Data node: data_node_3 - Chunks: _dist_hyper_7_39_chunk, _dist_hyper_7_42_chunk, _dist_hyper_7_45_chunk + Chunks: _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk, _dist_hyper_X_X_chunk Remote SQL: SELECT NULL FROM public.metrics_dist WHERE _timescaledb_internal.chunks_in(public.metrics_dist.*, ARRAY[1, 2, 3]) (20 rows) diff --git a/tsl/test/shared/expected/gapfill-12.out b/tsl/test/shared/expected/gapfill-12.out index 8cfc7195b..ba58003e8 100644 --- a/tsl/test/shared/expected/gapfill-12.out +++ b/tsl/test/shared/expected/gapfill-12.out @@ -109,19 +109,19 @@ ORDER BY 1; ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Custom Scan (GapFill) -> Finalize GroupAggregate - Group Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_47_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) + Group Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) -> Gather Merge Workers Planned: 2 -> Sort - Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_47_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) + Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) -> Partial HashAggregate - Group Key: time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_47_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone) + Group Key: time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone) -> Result -> Parallel Append - -> Parallel Seq Scan on _hyper_8_47_chunk - -> Parallel Seq Scan on _hyper_8_48_chunk - -> Parallel Seq Scan on _hyper_8_46_chunk - -> Parallel Seq Scan on _hyper_8_49_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk (15 rows) -- test parallel query with locf @@ -136,19 +136,19 @@ ORDER BY 1; ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Custom Scan (GapFill) -> Finalize GroupAggregate - Group Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_47_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) + Group Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) -> Gather Merge Workers Planned: 2 -> Sort - Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_47_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) + Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) -> Partial HashAggregate - Group Key: time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_47_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone) + Group Key: time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone) -> Result -> Parallel Append - -> Parallel Seq Scan on _hyper_8_47_chunk - -> Parallel Seq Scan on _hyper_8_48_chunk - -> Parallel Seq Scan on _hyper_8_46_chunk - -> Parallel Seq Scan on _hyper_8_49_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk (15 rows) -- test parallel query with interpolate @@ -163,19 +163,19 @@ ORDER BY 1; ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Custom Scan (GapFill) -> Finalize GroupAggregate - Group Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_47_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) + Group Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) -> Gather Merge Workers Planned: 2 -> Sort - Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_47_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) + Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) -> Partial HashAggregate - Group Key: time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_47_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone) + Group Key: time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone) -> Result -> Parallel Append - -> Parallel Seq Scan on _hyper_8_47_chunk - -> Parallel Seq Scan on _hyper_8_48_chunk - -> Parallel Seq Scan on _hyper_8_46_chunk - -> Parallel Seq Scan on _hyper_8_49_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk (15 rows) -- make sure we can run gapfill in parallel workers @@ -195,19 +195,19 @@ LIMIT 1; Sort Key: (interpolate(avg(value), NULL::record, NULL::record)) -> Custom Scan (GapFill) -> Finalize GroupAggregate - Group Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_47_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) + Group Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) -> Gather Merge Workers Planned: 2 -> Sort - Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_47_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) + Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) -> Partial HashAggregate - Group Key: time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_47_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone) + Group Key: time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone) -> Result -> Parallel Append - -> Parallel Seq Scan on _hyper_8_47_chunk - -> Parallel Seq Scan on _hyper_8_48_chunk - -> Parallel Seq Scan on _hyper_8_46_chunk - -> Parallel Seq Scan on _hyper_8_49_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk (18 rows) -- actually run a parallel gapfill @@ -233,10 +233,10 @@ ORDER BY 1; ---------------------------------------------------------------------------------------------------------------------------------------------- Custom Scan (ChunkAppend) on gapfill_plan_test Order: time_bucket_gapfill('@ 5 mins'::interval, gapfill_plan_test."time", NULL::timestamp with time zone, NULL::timestamp with time zone) - -> Index Scan Backward using _hyper_8_46_chunk_gapfill_plan_test_time_idx on _hyper_8_46_chunk - -> Index Scan Backward using _hyper_8_47_chunk_gapfill_plan_test_time_idx on _hyper_8_47_chunk - -> Index Scan Backward using _hyper_8_48_chunk_gapfill_plan_test_time_idx on _hyper_8_48_chunk - -> Index Scan Backward using _hyper_8_49_chunk_gapfill_plan_test_time_idx on _hyper_8_49_chunk + -> Index Scan Backward using _hyper_X_X_chunk_gapfill_plan_test_time_idx on _hyper_X_X_chunk + -> Index Scan Backward using _hyper_X_X_chunk_gapfill_plan_test_time_idx on _hyper_X_X_chunk + -> Index Scan Backward using _hyper_X_X_chunk_gapfill_plan_test_time_idx on _hyper_X_X_chunk + -> Index Scan Backward using _hyper_X_X_chunk_gapfill_plan_test_time_idx on _hyper_X_X_chunk (6 rows) SET max_parallel_workers_per_gather TO 0; @@ -252,10 +252,10 @@ ORDER BY 1; Group Key: (time_bucket_gapfill('@ 5 mins'::interval, gapfill_plan_test."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) -> Custom Scan (ChunkAppend) on gapfill_plan_test Order: time_bucket_gapfill('@ 5 mins'::interval, gapfill_plan_test."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone) - -> Index Scan Backward using _hyper_8_46_chunk_gapfill_plan_test_time_idx on _hyper_8_46_chunk - -> Index Scan Backward using _hyper_8_47_chunk_gapfill_plan_test_time_idx on _hyper_8_47_chunk - -> Index Scan Backward using _hyper_8_48_chunk_gapfill_plan_test_time_idx on _hyper_8_48_chunk - -> Index Scan Backward using _hyper_8_49_chunk_gapfill_plan_test_time_idx on _hyper_8_49_chunk + -> Index Scan Backward using _hyper_X_X_chunk_gapfill_plan_test_time_idx on _hyper_X_X_chunk + -> Index Scan Backward using _hyper_X_X_chunk_gapfill_plan_test_time_idx on _hyper_X_X_chunk + -> Index Scan Backward using _hyper_X_X_chunk_gapfill_plan_test_time_idx on _hyper_X_X_chunk + -> Index Scan Backward using _hyper_X_X_chunk_gapfill_plan_test_time_idx on _hyper_X_X_chunk (9 rows) -- test sort optimizations with interpolate @@ -270,10 +270,10 @@ ORDER BY 1; Group Key: (time_bucket_gapfill('@ 5 mins'::interval, gapfill_plan_test."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) -> Custom Scan (ChunkAppend) on gapfill_plan_test Order: time_bucket_gapfill('@ 5 mins'::interval, gapfill_plan_test."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone) - -> Index Scan Backward using _hyper_8_46_chunk_gapfill_plan_test_time_idx on _hyper_8_46_chunk - -> Index Scan Backward using _hyper_8_47_chunk_gapfill_plan_test_time_idx on _hyper_8_47_chunk - -> Index Scan Backward using _hyper_8_48_chunk_gapfill_plan_test_time_idx on _hyper_8_48_chunk - -> Index Scan Backward using _hyper_8_49_chunk_gapfill_plan_test_time_idx on _hyper_8_49_chunk + -> Index Scan Backward using _hyper_X_X_chunk_gapfill_plan_test_time_idx on _hyper_X_X_chunk + -> Index Scan Backward using _hyper_X_X_chunk_gapfill_plan_test_time_idx on _hyper_X_X_chunk + -> Index Scan Backward using _hyper_X_X_chunk_gapfill_plan_test_time_idx on _hyper_X_X_chunk + -> Index Scan Backward using _hyper_X_X_chunk_gapfill_plan_test_time_idx on _hyper_X_X_chunk (9 rows) RESET max_parallel_workers_per_gather; @@ -286,13 +286,13 @@ ORDER BY 1,2; QUERY PLAN ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Sort - Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_46_chunk."time", NULL::timestamp with time zone, NULL::timestamp with time zone)), _hyper_8_46_chunk.value + Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", NULL::timestamp with time zone, NULL::timestamp with time zone)), _hyper_X_X_chunk.value -> Result -> Append - -> Seq Scan on _hyper_8_46_chunk - -> Seq Scan on _hyper_8_47_chunk - -> Seq Scan on _hyper_8_48_chunk - -> Seq Scan on _hyper_8_49_chunk + -> Seq Scan on _hyper_X_X_chunk + -> Seq Scan on _hyper_X_X_chunk + -> Seq Scan on _hyper_X_X_chunk + -> Seq Scan on _hyper_X_X_chunk (8 rows) -- test sort optimization with ordering by multiple columns and time_bucket as last member, @@ -304,11 +304,11 @@ ORDER BY 2,1; ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Result -> Merge Append - Sort Key: _hyper_8_46_chunk.value, (time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_46_chunk."time", NULL::timestamp with time zone, NULL::timestamp with time zone)) - -> Index Only Scan using _hyper_8_46_chunk_gapfill_plan_test_indx on _hyper_8_46_chunk - -> Index Only Scan using _hyper_8_47_chunk_gapfill_plan_test_indx on _hyper_8_47_chunk - -> Index Only Scan using _hyper_8_48_chunk_gapfill_plan_test_indx on _hyper_8_48_chunk - -> Index Only Scan using _hyper_8_49_chunk_gapfill_plan_test_indx on _hyper_8_49_chunk + Sort Key: _hyper_X_X_chunk.value, (time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", NULL::timestamp with time zone, NULL::timestamp with time zone)) + -> Index Only Scan using _hyper_X_X_chunk_gapfill_plan_test_indx on _hyper_X_X_chunk + -> Index Only Scan using _hyper_X_X_chunk_gapfill_plan_test_indx on _hyper_X_X_chunk + -> Index Only Scan using _hyper_X_X_chunk_gapfill_plan_test_indx on _hyper_X_X_chunk + -> Index Only Scan using _hyper_X_X_chunk_gapfill_plan_test_indx on _hyper_X_X_chunk (7 rows) \set METRICS metrics_int @@ -3126,13 +3126,13 @@ GROUP BY 1; ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Custom Scan (GapFill) -> Sort - Sort Key: (time_bucket_gapfill('@ 364 days'::interval, _hyper_1_1_chunk."time", 'Sat Jan 01 00:00:00 2000 PST'::timestamp with time zone, 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone)) + Sort Key: (time_bucket_gapfill('@ 364 days'::interval, _hyper_X_X_chunk."time", 'Sat Jan 01 00:00:00 2000 PST'::timestamp with time zone, 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone)) -> HashAggregate - Group Key: time_bucket_gapfill('@ 364 days'::interval, _hyper_1_1_chunk."time", 'Sat Jan 01 00:00:00 2000 PST'::timestamp with time zone, 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) + Group Key: time_bucket_gapfill('@ 364 days'::interval, _hyper_X_X_chunk."time", 'Sat Jan 01 00:00:00 2000 PST'::timestamp with time zone, 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) -> Result -> Append - -> Seq Scan on _hyper_1_1_chunk - -> Seq Scan on _hyper_1_2_chunk - -> Seq Scan on _hyper_1_3_chunk + -> Seq Scan on _hyper_X_X_chunk + -> Seq Scan on _hyper_X_X_chunk + -> Seq Scan on _hyper_X_X_chunk (10 rows) diff --git a/tsl/test/shared/expected/gapfill-13.out b/tsl/test/shared/expected/gapfill-13.out index 16deaf56a..f8403e550 100644 --- a/tsl/test/shared/expected/gapfill-13.out +++ b/tsl/test/shared/expected/gapfill-13.out @@ -109,19 +109,19 @@ ORDER BY 1; ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Custom Scan (GapFill) -> Finalize GroupAggregate - Group Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_47_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) + Group Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) -> Gather Merge Workers Planned: 2 -> Sort - Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_47_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) + Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) -> Partial HashAggregate - Group Key: time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_47_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone) + Group Key: time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone) -> Result -> Parallel Append - -> Parallel Seq Scan on _hyper_8_47_chunk - -> Parallel Seq Scan on _hyper_8_48_chunk - -> Parallel Seq Scan on _hyper_8_46_chunk - -> Parallel Seq Scan on _hyper_8_49_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk (15 rows) -- test parallel query with locf @@ -136,19 +136,19 @@ ORDER BY 1; ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Custom Scan (GapFill) -> Finalize GroupAggregate - Group Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_47_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) + Group Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) -> Gather Merge Workers Planned: 2 -> Sort - Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_47_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) + Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) -> Partial HashAggregate - Group Key: time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_47_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone) + Group Key: time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone) -> Result -> Parallel Append - -> Parallel Seq Scan on _hyper_8_47_chunk - -> Parallel Seq Scan on _hyper_8_48_chunk - -> Parallel Seq Scan on _hyper_8_46_chunk - -> Parallel Seq Scan on _hyper_8_49_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk (15 rows) -- test parallel query with interpolate @@ -163,19 +163,19 @@ ORDER BY 1; ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Custom Scan (GapFill) -> Finalize GroupAggregate - Group Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_47_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) + Group Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) -> Gather Merge Workers Planned: 2 -> Sort - Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_47_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) + Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) -> Partial HashAggregate - Group Key: time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_47_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone) + Group Key: time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone) -> Result -> Parallel Append - -> Parallel Seq Scan on _hyper_8_47_chunk - -> Parallel Seq Scan on _hyper_8_48_chunk - -> Parallel Seq Scan on _hyper_8_46_chunk - -> Parallel Seq Scan on _hyper_8_49_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk (15 rows) -- make sure we can run gapfill in parallel workers @@ -195,19 +195,19 @@ LIMIT 1; Sort Key: (interpolate(avg(gapfill_plan_test.value), NULL::record, NULL::record)) -> Custom Scan (GapFill) -> Finalize GroupAggregate - Group Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_47_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) + Group Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) -> Gather Merge Workers Planned: 2 -> Sort - Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_47_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) + Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) -> Partial HashAggregate - Group Key: time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_47_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone) + Group Key: time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone) -> Result -> Parallel Append - -> Parallel Seq Scan on _hyper_8_47_chunk - -> Parallel Seq Scan on _hyper_8_48_chunk - -> Parallel Seq Scan on _hyper_8_46_chunk - -> Parallel Seq Scan on _hyper_8_49_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk + -> Parallel Seq Scan on _hyper_X_X_chunk (18 rows) -- actually run a parallel gapfill @@ -232,13 +232,13 @@ ORDER BY 1; QUERY PLAN --------------------------------------------------------------------------------------------------------------------------------------------------- Sort - Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_46_chunk."time", NULL::timestamp with time zone, NULL::timestamp with time zone)) + Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", NULL::timestamp with time zone, NULL::timestamp with time zone)) -> Result -> Append - -> Seq Scan on _hyper_8_46_chunk - -> Seq Scan on _hyper_8_47_chunk - -> Seq Scan on _hyper_8_48_chunk - -> Seq Scan on _hyper_8_49_chunk + -> Seq Scan on _hyper_X_X_chunk + -> Seq Scan on _hyper_X_X_chunk + -> Seq Scan on _hyper_X_X_chunk + -> Seq Scan on _hyper_X_X_chunk (8 rows) SET max_parallel_workers_per_gather TO 0; @@ -251,15 +251,15 @@ ORDER BY 1; ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Custom Scan (GapFill) -> Sort - Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_46_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) + Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) -> HashAggregate - Group Key: time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_46_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone) + Group Key: time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone) -> Result -> Append - -> Seq Scan on _hyper_8_46_chunk - -> Seq Scan on _hyper_8_47_chunk - -> Seq Scan on _hyper_8_48_chunk - -> Seq Scan on _hyper_8_49_chunk + -> Seq Scan on _hyper_X_X_chunk + -> Seq Scan on _hyper_X_X_chunk + -> Seq Scan on _hyper_X_X_chunk + -> Seq Scan on _hyper_X_X_chunk (11 rows) -- test sort optimizations with interpolate @@ -271,15 +271,15 @@ ORDER BY 1; ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Custom Scan (GapFill) -> Sort - Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_46_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) + Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone)) -> HashAggregate - Group Key: time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_46_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone) + Group Key: time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone, 'Wed Dec 31 16:00:00 1969 PST'::timestamp with time zone) -> Result -> Append - -> Seq Scan on _hyper_8_46_chunk - -> Seq Scan on _hyper_8_47_chunk - -> Seq Scan on _hyper_8_48_chunk - -> Seq Scan on _hyper_8_49_chunk + -> Seq Scan on _hyper_X_X_chunk + -> Seq Scan on _hyper_X_X_chunk + -> Seq Scan on _hyper_X_X_chunk + -> Seq Scan on _hyper_X_X_chunk (11 rows) RESET max_parallel_workers_per_gather; @@ -292,13 +292,13 @@ ORDER BY 1,2; QUERY PLAN ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Sort - Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_46_chunk."time", NULL::timestamp with time zone, NULL::timestamp with time zone)), _hyper_8_46_chunk.value + Sort Key: (time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", NULL::timestamp with time zone, NULL::timestamp with time zone)), _hyper_X_X_chunk.value -> Result -> Append - -> Seq Scan on _hyper_8_46_chunk - -> Seq Scan on _hyper_8_47_chunk - -> Seq Scan on _hyper_8_48_chunk - -> Seq Scan on _hyper_8_49_chunk + -> Seq Scan on _hyper_X_X_chunk + -> Seq Scan on _hyper_X_X_chunk + -> Seq Scan on _hyper_X_X_chunk + -> Seq Scan on _hyper_X_X_chunk (8 rows) -- test sort optimization with ordering by multiple columns and time_bucket as last member, @@ -309,13 +309,13 @@ ORDER BY 2,1; QUERY PLAN ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Sort - Sort Key: _hyper_8_46_chunk.value, (time_bucket_gapfill('@ 5 mins'::interval, _hyper_8_46_chunk."time", NULL::timestamp with time zone, NULL::timestamp with time zone)) + Sort Key: _hyper_X_X_chunk.value, (time_bucket_gapfill('@ 5 mins'::interval, _hyper_X_X_chunk."time", NULL::timestamp with time zone, NULL::timestamp with time zone)) -> Result -> Append - -> Seq Scan on _hyper_8_46_chunk - -> Seq Scan on _hyper_8_47_chunk - -> Seq Scan on _hyper_8_48_chunk - -> Seq Scan on _hyper_8_49_chunk + -> Seq Scan on _hyper_X_X_chunk + -> Seq Scan on _hyper_X_X_chunk + -> Seq Scan on _hyper_X_X_chunk + -> Seq Scan on _hyper_X_X_chunk (8 rows) \set METRICS metrics_int @@ -3133,13 +3133,13 @@ GROUP BY 1; ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- Custom Scan (GapFill) -> Sort - Sort Key: (time_bucket_gapfill('@ 364 days'::interval, _hyper_1_1_chunk."time", 'Sat Jan 01 00:00:00 2000 PST'::timestamp with time zone, 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone)) + Sort Key: (time_bucket_gapfill('@ 364 days'::interval, _hyper_X_X_chunk."time", 'Sat Jan 01 00:00:00 2000 PST'::timestamp with time zone, 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone)) -> HashAggregate - Group Key: time_bucket_gapfill('@ 364 days'::interval, _hyper_1_1_chunk."time", 'Sat Jan 01 00:00:00 2000 PST'::timestamp with time zone, 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) + Group Key: time_bucket_gapfill('@ 364 days'::interval, _hyper_X_X_chunk."time", 'Sat Jan 01 00:00:00 2000 PST'::timestamp with time zone, 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) -> Result -> Append - -> Seq Scan on _hyper_1_1_chunk - -> Seq Scan on _hyper_1_2_chunk - -> Seq Scan on _hyper_1_3_chunk + -> Seq Scan on _hyper_X_X_chunk + -> Seq Scan on _hyper_X_X_chunk + -> Seq Scan on _hyper_X_X_chunk (10 rows) diff --git a/tsl/test/shared/expected/ordered_append-12.out b/tsl/test/shared/expected/ordered_append-12.out index 0d0e92725..fca3dc699 100644 --- a/tsl/test/shared/expected/ordered_append-12.out +++ b/tsl/test/shared/expected/ordered_append-12.out @@ -29,11 +29,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (9 rows) @@ -48,11 +48,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" DESC - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (9 rows) @@ -68,9 +68,9 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" - -> Index Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=1 loops=1) - -> Index Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) - -> Index Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) (6 rows) -- ORDER BY may include other columns after time column @@ -88,11 +88,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" DESC - -> Index Scan using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Index Scan using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Index Scan using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) (9 rows) @@ -111,11 +111,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" DESC - -> Index Scan using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Index Scan using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Index Scan using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) (9 rows) @@ -130,11 +130,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" DESC - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (9 rows) @@ -148,12 +148,12 @@ LIMIT 1; --------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_1_1_chunk.device_id - -> Index Only Scan using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk.device_id + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 (9 rows) @@ -170,16 +170,16 @@ LIMIT 1; ------------------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_1_1_chunk.device_id, _hyper_1_1_chunk."time" + Sort Key: _hyper_X_X_chunk.device_id, _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=27348 loops=1) - -> Index Only Scan using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (actual rows=7196 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=7196 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) Heap Fetches: 7196 - -> Index Only Scan using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (actual rows=10076 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=10076 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) Heap Fetches: 10076 - -> Index Only Scan using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk (actual rows=10076 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=10076 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) Heap Fetches: 10076 (14 rows) @@ -199,14 +199,14 @@ LIMIT 10; ------------------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=10 loops=1) -> Merge Append (actual rows=10 loops=1) - Sort Key: _hyper_1_1_chunk."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (actual rows=10 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=10 loops=1) Index Cond: (device_id = 1) Heap Fetches: 10 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) Heap Fetches: 1 (12 rows) @@ -222,13 +222,13 @@ ORDER BY time ASC; ------------------------------------------------------------------------------------------------------------------- Custom Scan (ChunkAppend) on metrics (actual rows=27348 loops=1) Order: metrics."time" - -> Index Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=7196 loops=1) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=7196 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 10794 - -> Index Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (actual rows=10076 loops=1) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=10076 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 15114 - -> Index Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=10076 loops=1) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=10076 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 15114 (11 rows) @@ -243,9 +243,9 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Result (actual rows=1 loops=1) -> Append (actual rows=1 loops=1) - -> Seq Scan on _hyper_1_1_chunk (actual rows=1 loops=1) - -> Seq Scan on _hyper_1_2_chunk (never executed) - -> Seq Scan on _hyper_1_3_chunk (never executed) + -> Seq Scan on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Seq Scan on _hyper_X_X_chunk (never executed) + -> Seq Scan on _hyper_X_X_chunk (never executed) (6 rows) -- test interaction with constraint exclusion @@ -260,10 +260,10 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 0 (9 rows) @@ -279,10 +279,10 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" DESC - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 0 (9 rows) @@ -300,10 +300,10 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" Chunks excluded during startup: 1 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 (10 rows) @@ -320,10 +320,10 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" Chunks excluded during startup: 1 - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 (10 rows) @@ -342,7 +342,7 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" Chunks excluded during startup: 1 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (("time" > ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 1 (7 rows) @@ -360,7 +360,7 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" Chunks excluded during startup: 1 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (("time" < ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 1 (7 rows) @@ -376,13 +376,13 @@ FROM :TEST_TABLE; -> Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" DESC - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 (14 rows) @@ -397,13 +397,13 @@ FROM :TEST_TABLE; -> Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 (14 rows) @@ -419,13 +419,13 @@ FROM :TEST_TABLE; -> Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 (14 rows) @@ -440,13 +440,13 @@ FROM :TEST_TABLE; -> Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" DESC - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 (14 rows) @@ -462,11 +462,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (9 rows) @@ -481,11 +481,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: time_bucket('@ 1 day'::interval, metrics."time") - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (9 rows) @@ -504,15 +504,15 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (time_bucket('@ 1 day'::interval, _hyper_1_1_chunk."time")), _hyper_1_1_chunk.device_id + Sort Key: (time_bucket('@ 1 day'::interval, _hyper_X_X_chunk."time")), _hyper_X_X_chunk.device_id Sort Method: top-N heapsort -> Result (actual rows=27348 loops=1) -> Append (actual rows=27348 loops=1) - -> Index Scan using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (actual rows=7196 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=7196 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) - -> Index Scan using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (actual rows=10076 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=10076 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) - -> Index Scan using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk (actual rows=10076 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=10076 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) (12 rows) @@ -527,11 +527,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: date_trunc('day'::text, metrics."time") - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (9 rows) @@ -546,11 +546,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: date_trunc('day'::text, metrics."time") - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (9 rows) @@ -569,15 +569,15 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (date_trunc('day'::text, _hyper_1_1_chunk."time")), _hyper_1_1_chunk.device_id + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")), _hyper_X_X_chunk.device_id Sort Method: top-N heapsort -> Result (actual rows=27348 loops=1) -> Append (actual rows=27348 loops=1) - -> Index Scan using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (actual rows=7196 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=7196 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) - -> Index Scan using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (actual rows=10076 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=10076 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) - -> Index Scan using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk (actual rows=10076 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=10076 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) (12 rows) @@ -594,13 +594,13 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" DESC Chunks excluded during startup: 0 - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < (now() + '@ 1 mon'::interval)) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < (now() + '@ 1 mon'::interval)) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < (now() + '@ 1 mon'::interval)) Heap Fetches: 0 (13 rows) @@ -621,13 +621,13 @@ FROM i; -> Custom Scan (ChunkAppend) on metrics (actual rows=100 loops=1) Order: metrics."time" DESC Chunks excluded during startup: 0 - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ("time" < now()) Heap Fetches: 100 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Heap Fetches: 0 (13 rows) @@ -647,13 +647,13 @@ WHERE time < '2000-02-01'::timestamptz; --------------------------------------------------------------------------------------------------------------------------------- Custom Scan (ChunkAppend) on metrics (actual rows=13674 loops=1) Order: metrics."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (actual rows=3598 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=3598 loops=1) Index Cond: ((device_id = 1) AND ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 3598 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (actual rows=5038 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=5038 loops=1) Index Cond: ((device_id = 1) AND ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 5038 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk (actual rows=5038 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=5038 loops=1) Index Cond: ((device_id = 1) AND ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 5038 (11 rows) @@ -677,22 +677,22 @@ ORDER BY time; -> Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics metrics_1 (actual rows=1 loops=1) Order: metrics_1."time" DESC - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk _hyper_1_3_chunk_1 (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk _hyper_1_2_chunk_1 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk _hyper_X_X_chunk_1 (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk _hyper_1_1_chunk_1 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk _hyper_X_X_chunk_1 (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" = $1) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" = $1) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=5 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=5 loops=1) Index Cond: ("time" = $1) Heap Fetches: 5 (26 rows) @@ -711,11 +711,11 @@ LIMIT ( -> Result (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=4 loops=1) Order: metrics."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=4 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=4 loops=1) Heap Fetches: 4 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (11 rows) @@ -730,12 +730,12 @@ LIMIT 3; -------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=3 loops=1) -> Merge Append (actual rows=3 loops=1) - Sort Key: _hyper_1_1_chunk."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=3 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=3 loops=1) Heap Fetches: 3 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 (9 rows) @@ -750,11 +750,11 @@ LIMIT 3; Limit (actual rows=3 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=3 loops=1) Order: metrics."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=3 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=3 loops=1) Heap Fetches: 3 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (9 rows) @@ -769,12 +769,12 @@ LIMIT 3; -------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=3 loops=1) -> Merge Append (actual rows=3 loops=1) - Sort Key: _hyper_1_1_chunk."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=3 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=3 loops=1) Heap Fetches: 3 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 (9 rows) @@ -789,11 +789,11 @@ LIMIT 3; Limit (actual rows=3 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=3 loops=1) Order: metrics."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=3 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=3 loops=1) Heap Fetches: 3 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (9 rows) @@ -814,28 +814,28 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (27 rows) @@ -851,28 +851,28 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" DESC -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_12_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_9_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_6_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (27 rows) @@ -889,20 +889,20 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=1 loops=1) - -> Index Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) - -> Index Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) -> Merge Append (never executed) - Sort Key: _hyper_2_7_chunk."time" - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) - -> Index Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) - -> Index Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) - -> Index Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) - -> Index Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) (18 rows) -- ORDER BY may include other columns after time column @@ -920,11 +920,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" DESC - -> Index Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: (device_id = 1) - -> Index Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Filter: (device_id = 1) - -> Index Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Filter: (device_id = 1) (9 rows) @@ -943,11 +943,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" DESC - -> Index Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: (device_id = 1) - -> Index Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Filter: (device_id = 1) - -> Index Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Filter: (device_id = 1) (9 rows) @@ -963,28 +963,28 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" DESC -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_12_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_9_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_6_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (27 rows) @@ -998,24 +998,24 @@ LIMIT 1; ----------------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_4_chunk.device_id - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_device_id_time_idx on _hyper_2_4_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk.device_id + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_device_id_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_device_id_time_idx on _hyper_2_7_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_device_id_time_idx on _hyper_2_9_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_device_id_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_device_id_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 (21 rows) @@ -1032,23 +1032,23 @@ LIMIT 1; ----------------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_8_chunk.device_id, _hyper_2_8_chunk."time" - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk.device_id, _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_device_id_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_device_id_time_idx on _hyper_2_4_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_device_id_time_idx on _hyper_2_7_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) Heap Fetches: 1 (21 rows) @@ -1068,12 +1068,12 @@ LIMIT 10; -------------------------------------------------------------------------------------------------------------------- Limit (actual rows=10 loops=1) -> Merge Append (actual rows=10 loops=1) - Sort Key: _hyper_2_10_chunk."time" - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: (device_id = 1) - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=10 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=10 loops=1) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (actual rows=1 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: (device_id = 1) (9 rows) @@ -1089,24 +1089,24 @@ ORDER BY time ASC; Custom Scan (ChunkAppend) on metrics_space (actual rows=27348 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=7196 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=3598 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Index Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=3598 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 7196 -> Merge Append (actual rows=10076 loops=1) - Sort Key: _hyper_2_7_chunk."time" - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (actual rows=5038 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Index Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (actual rows=5038 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 10076 -> Merge Append (actual rows=10076 loops=1) - Sort Key: _hyper_2_10_chunk."time" - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=5038 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Index Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=5038 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 10076 (23 rows) @@ -1121,15 +1121,15 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Result (actual rows=1 loops=1) -> Append (actual rows=1 loops=1) - -> Seq Scan on _hyper_2_4_chunk (actual rows=1 loops=1) - -> Seq Scan on _hyper_2_5_chunk (never executed) - -> Seq Scan on _hyper_2_6_chunk (never executed) - -> Seq Scan on _hyper_2_7_chunk (never executed) - -> Seq Scan on _hyper_2_8_chunk (never executed) - -> Seq Scan on _hyper_2_9_chunk (never executed) - -> Seq Scan on _hyper_2_10_chunk (never executed) - -> Seq Scan on _hyper_2_11_chunk (never executed) - -> Seq Scan on _hyper_2_12_chunk (never executed) + -> Seq Scan on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Seq Scan on _hyper_X_X_chunk (never executed) + -> Seq Scan on _hyper_X_X_chunk (never executed) + -> Seq Scan on _hyper_X_X_chunk (never executed) + -> Seq Scan on _hyper_X_X_chunk (never executed) + -> Seq Scan on _hyper_X_X_chunk (never executed) + -> Seq Scan on _hyper_X_X_chunk (never executed) + -> Seq Scan on _hyper_X_X_chunk (never executed) + -> Seq Scan on _hyper_X_X_chunk (never executed) (12 rows) -- test interaction with constraint exclusion @@ -1145,25 +1145,25 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 0 (25 rows) @@ -1180,25 +1180,25 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" DESC -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_12_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_9_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 0 (25 rows) @@ -1216,36 +1216,36 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=0 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=0 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=0 loops=1) Index Cond: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=0 loops=1) Index Cond: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=0 loops=1) Index Cond: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 (36 rows) @@ -1262,36 +1262,36 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 (36 rows) @@ -1310,25 +1310,25 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=0 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=0 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=0 loops=1) Index Cond: (("time" > ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=0 loops=1) Index Cond: (("time" > ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=0 loops=1) Index Cond: (("time" > ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 0 -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (("time" > ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (("time" > ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (("time" > ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 1 (25 rows) @@ -1346,25 +1346,25 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (("time" < ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (("time" < ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (("time" < ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: (("time" < ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: (("time" < ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: (("time" < ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 0 (25 rows) @@ -1381,36 +1381,36 @@ FROM :TEST_TABLE; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" DESC -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_12_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_9_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_6_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 (38 rows) @@ -1426,36 +1426,36 @@ FROM :TEST_TABLE; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 (38 rows) @@ -1472,36 +1472,36 @@ FROM :TEST_TABLE; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 (38 rows) @@ -1517,36 +1517,36 @@ FROM :TEST_TABLE; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" DESC -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_12_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_9_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_6_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 (38 rows) @@ -1563,28 +1563,28 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (27 rows) @@ -1600,28 +1600,28 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: time_bucket('@ 1 day'::interval, metrics_space."time") -> Merge Append (actual rows=1 loops=1) - Sort Key: (time_bucket('@ 1 day'::interval, _hyper_2_4_chunk."time")) - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=1 loops=1) + Sort Key: (time_bucket('@ 1 day'::interval, _hyper_X_X_chunk."time")) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: (time_bucket('@ 1 day'::interval, _hyper_2_7_chunk."time")) - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: (time_bucket('@ 1 day'::interval, _hyper_X_X_chunk."time")) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: (time_bucket('@ 1 day'::interval, _hyper_2_10_chunk."time")) - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: (time_bucket('@ 1 day'::interval, _hyper_X_X_chunk."time")) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (27 rows) @@ -1640,21 +1640,21 @@ LIMIT 1; --------------------------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (time_bucket('@ 1 day'::interval, _hyper_2_8_chunk."time")), _hyper_2_8_chunk.device_id + Sort Key: (time_bucket('@ 1 day'::interval, _hyper_X_X_chunk."time")), _hyper_X_X_chunk.device_id Sort Method: top-N heapsort -> Result (actual rows=27348 loops=1) -> Append (actual rows=27348 loops=1) - -> Index Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk (actual rows=5038 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=5038 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) - -> Seq Scan on _hyper_2_10_chunk (actual rows=5038 loops=1) + -> Seq Scan on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Index Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk (actual rows=5038 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=5038 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) - -> Seq Scan on _hyper_2_4_chunk (actual rows=3598 loops=1) + -> Seq Scan on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Index Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk (actual rows=3598 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=3598 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) - -> Seq Scan on _hyper_2_7_chunk (actual rows=5038 loops=1) + -> Seq Scan on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) (18 rows) @@ -1670,28 +1670,28 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: date_trunc('day'::text, metrics_space."time") -> Merge Append (actual rows=1 loops=1) - Sort Key: (date_trunc('day'::text, _hyper_2_4_chunk."time")) - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=1 loops=1) + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: (date_trunc('day'::text, _hyper_2_7_chunk."time")) - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: (date_trunc('day'::text, _hyper_2_10_chunk."time")) - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (27 rows) @@ -1707,28 +1707,28 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: date_trunc('day'::text, metrics_space."time") -> Merge Append (actual rows=1 loops=1) - Sort Key: (date_trunc('day'::text, _hyper_2_4_chunk."time")) - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=1 loops=1) + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: (date_trunc('day'::text, _hyper_2_7_chunk."time")) - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: (date_trunc('day'::text, _hyper_2_10_chunk."time")) - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (27 rows) @@ -1747,21 +1747,21 @@ LIMIT 1; --------------------------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (date_trunc('day'::text, _hyper_2_8_chunk."time")), _hyper_2_8_chunk.device_id + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")), _hyper_X_X_chunk.device_id Sort Method: top-N heapsort -> Result (actual rows=27348 loops=1) -> Append (actual rows=27348 loops=1) - -> Index Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk (actual rows=5038 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=5038 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) - -> Seq Scan on _hyper_2_10_chunk (actual rows=5038 loops=1) + -> Seq Scan on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Index Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk (actual rows=5038 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=5038 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) - -> Seq Scan on _hyper_2_4_chunk (actual rows=3598 loops=1) + -> Seq Scan on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Index Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk (actual rows=3598 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=3598 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) - -> Seq Scan on _hyper_2_7_chunk (actual rows=5038 loops=1) + -> Seq Scan on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) (18 rows) @@ -1778,36 +1778,36 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" DESC -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_12_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < (now() + '@ 1 mon'::interval)) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < (now() + '@ 1 mon'::interval)) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < (now() + '@ 1 mon'::interval)) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_9_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < (now() + '@ 1 mon'::interval)) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < (now() + '@ 1 mon'::interval)) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < (now() + '@ 1 mon'::interval)) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_6_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < (now() + '@ 1 mon'::interval)) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < (now() + '@ 1 mon'::interval)) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < (now() + '@ 1 mon'::interval)) Heap Fetches: 0 (36 rows) @@ -1828,36 +1828,36 @@ FROM i; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=100 loops=1) Order: metrics_space."time" DESC -> Merge Append (actual rows=100 loops=1) - Sort Key: _hyper_2_12_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=21 loops=1) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=21 loops=1) Index Cond: ("time" < now()) Heap Fetches: 21 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=60 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=60 loops=1) Index Cond: ("time" < now()) Heap Fetches: 60 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=21 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=21 loops=1) Index Cond: ("time" < now()) Heap Fetches: 21 -> Merge Append (never executed) - Sort Key: _hyper_2_9_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_6_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Heap Fetches: 0 (36 rows) @@ -1877,13 +1877,13 @@ WHERE time < '2000-02-01'::timestamptz; ----------------------------------------------------------------------------------------------------------------- Custom Scan (ChunkAppend) on metrics_space (actual rows=13674 loops=1) Order: metrics_space."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=3598 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=3598 loops=1) Index Cond: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (actual rows=5038 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=5038 loops=1) Index Cond: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=5038 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=5038 loops=1) Index Cond: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) Filter: (device_id = 1) (11 rows) @@ -1907,66 +1907,66 @@ ORDER BY time; -> Custom Scan (ChunkAppend) on metrics_space metrics_space_1 (actual rows=1 loops=1) Order: metrics_space_1."time" DESC -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_12_chunk_1."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk _hyper_2_12_chunk_1 (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk_1."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk _hyper_2_11_chunk_1 (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk _hyper_2_10_chunk_1 (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_9_chunk_1."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk _hyper_2_9_chunk_1 (never executed) + Sort Key: _hyper_X_X_chunk_1."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk _hyper_X_X_chunk_1 (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk _hyper_2_8_chunk_1 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk _hyper_X_X_chunk_1 (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk _hyper_2_7_chunk_1 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk _hyper_X_X_chunk_1 (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_6_chunk_1."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk _hyper_2_6_chunk_1 (never executed) + Sort Key: _hyper_X_X_chunk_1."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk _hyper_X_X_chunk_1 (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk _hyper_2_5_chunk_1 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk _hyper_X_X_chunk_1 (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk _hyper_2_4_chunk_1 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk _hyper_X_X_chunk_1 (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 -> Merge Append (actual rows=0 loops=1) - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=0 loops=1) Index Cond: ("time" = $1) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=0 loops=1) Index Cond: ("time" = $1) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=0 loops=1) Index Cond: ("time" = $1) Heap Fetches: 0 -> Merge Append (actual rows=0 loops=1) - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=0 loops=1) Index Cond: ("time" = $1) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=0 loops=1) Index Cond: ("time" = $1) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=0 loops=1) Index Cond: ("time" = $1) Heap Fetches: 0 -> Merge Append (actual rows=5 loops=1) - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" = $1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=3 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=3 loops=1) Index Cond: ("time" = $1) Heap Fetches: 3 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" = $1) Heap Fetches: 1 (70 rows) @@ -1986,28 +1986,28 @@ LIMIT ( -> Custom Scan (ChunkAppend) on metrics_space (actual rows=4 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=4 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=2 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=2 loops=1) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=3 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=3 loops=1) Heap Fetches: 3 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (29 rows) @@ -2022,24 +2022,24 @@ LIMIT 3; ------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=3 loops=1) -> Merge Append (actual rows=3 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=2 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=2 loops=1) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=2 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=2 loops=1) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 (21 rows) @@ -2055,28 +2055,28 @@ LIMIT 3; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=3 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=3 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=2 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=2 loops=1) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=2 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=2 loops=1) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (27 rows) @@ -2091,24 +2091,24 @@ LIMIT 3; ------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=3 loops=1) -> Merge Append (actual rows=3 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=2 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=2 loops=1) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=2 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=2 loops=1) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 (21 rows) @@ -2124,28 +2124,28 @@ LIMIT 3; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=3 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=3 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=2 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=2 loops=1) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=2 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=2 loops=1) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (27 rows) @@ -2164,15 +2164,15 @@ LIMIT 1; -------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_3_13_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (11 rows) -- test DESC for ordered chunks @@ -2185,15 +2185,15 @@ LIMIT 1; -------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_3_15_chunk."time" DESC + Sort Key: _hyper_X_X_chunk."time" DESC Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) (11 rows) -- test query with ORDER BY column not in targetlist @@ -2207,16 +2207,16 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_3_13_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (12 rows) -- ORDER BY may include other columns after time column @@ -2234,14 +2234,14 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=1 loops=1) Order: metrics_compressed."time" DESC - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=1 loops=1) - -> Index Scan using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (never executed) - -> Index Scan using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (never executed) - -> Index Scan using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) (12 rows) @@ -2260,14 +2260,14 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=1 loops=1) Order: metrics_compressed."time" DESC - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=1 loops=1) - -> Index Scan using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (never executed) - -> Index Scan using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (never executed) - -> Index Scan using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) (12 rows) @@ -2281,16 +2281,16 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_3_15_chunk."time" DESC + Sort Key: _hyper_X_X_chunk."time" DESC Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) (12 rows) -- queries with ORDER BY non-time column shouldn't use ordered append @@ -2303,22 +2303,22 @@ LIMIT 1; ---------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_3_13_chunk.device_id - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk.device_id + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_4_18_chunk.device_id + Sort Key: compress_hyper_X_X_chunk.device_id Sort Method: quicksort - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_4_17_chunk.device_id + Sort Key: compress_hyper_X_X_chunk.device_id Sort Method: quicksort - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_4_16_chunk.device_id + Sort Key: compress_hyper_X_X_chunk.device_id Sort Method: quicksort - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (18 rows) -- time column must be primary sort order @@ -2334,26 +2334,26 @@ LIMIT 1; ------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_3_13_chunk.device_id, _hyper_3_13_chunk."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk.device_id, _hyper_X_X_chunk."time" + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_4_18_chunk.device_id, compress_hyper_4_18_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=8 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=8 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_4_17_chunk.device_id, compress_hyper_4_17_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=12 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 18 - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_4_16_chunk.device_id, compress_hyper_4_16_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=12 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 18 (24 rows) @@ -2373,15 +2373,15 @@ LIMIT 10; ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Limit (actual rows=10 loops=1) -> Merge Append (actual rows=10 loops=1) - Sort Key: _hyper_3_13_chunk."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=10 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=1 loops=1) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=1 loops=1) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) (12 rows) @@ -2395,19 +2395,19 @@ ORDER BY time ASC; QUERY PLAN -------------------------------------------------------------------------------------------- Sort (actual rows=27348 loops=1) - Sort Key: _hyper_3_13_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: quicksort -> Append (actual rows=27348 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=7196 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=8 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=7196 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=8 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=10076 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10076 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 18 - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=10076 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10076 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 18 (16 rows) @@ -2422,12 +2422,12 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Result (actual rows=1 loops=1) -> Append (actual rows=1 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=1 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=1 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (never executed) - -> Seq Scan on compress_hyper_4_17_chunk (never executed) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (never executed) - -> Seq Scan on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) (9 rows) -- test interaction with constraint exclusion @@ -2441,18 +2441,18 @@ LIMIT 1; --------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_3_14_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=45575 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=20385 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=20385 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 4615 - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=25 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=25 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 5 - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) (15 rows) @@ -2466,17 +2466,17 @@ LIMIT 1; --------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_3_15_chunk."time" DESC + Sort Key: _hyper_X_X_chunk."time" DESC Sort Method: top-N heapsort -> Append (actual rows=45575 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=20385 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=20385 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 4615 - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=25 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=25 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 5 (15 rows) @@ -2496,13 +2496,13 @@ LIMIT 1; Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=41975 loops=1) Chunks excluded during startup: 1 - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=16785 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=16785 loops=1) Filter: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 8405 - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) Filter: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (13 rows) :PREFIX @@ -2519,13 +2519,13 @@ LIMIT 1; Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=26390 loops=1) Chunks excluded during startup: 1 - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) Filter: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=8400 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=8400 loops=1) Filter: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 16790 - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (13 rows) -- test constraint exclusion @@ -2544,10 +2544,10 @@ LIMIT 1; Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=7195 loops=1) Chunks excluded during startup: 1 - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=7195 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=7195 loops=1) Filter: (("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) AND ("time" > ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 12995 - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=25 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=25 loops=1) Filter: (_ts_meta_min_1 < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 5 (12 rows) @@ -2567,10 +2567,10 @@ LIMIT 1; Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=3595 loops=1) Chunks excluded during startup: 1 - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=3595 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3595 loops=1) Filter: (("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) AND ("time" < ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 21405 - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=25 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=25 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 5 (12 rows) @@ -2583,12 +2583,12 @@ FROM :TEST_TABLE; -------------------------------------------------------------------------------------------- Aggregate (actual rows=1 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (8 rows) :PREFIX @@ -2598,12 +2598,12 @@ FROM :TEST_TABLE; -------------------------------------------------------------------------------------------- Aggregate (actual rows=1 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (8 rows) -- test first/last (doesn't use ordered append yet) @@ -2614,12 +2614,12 @@ FROM :TEST_TABLE; -------------------------------------------------------------------------------------------- Aggregate (actual rows=1 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (8 rows) :PREFIX @@ -2629,12 +2629,12 @@ FROM :TEST_TABLE; -------------------------------------------------------------------------------------------- Aggregate (actual rows=1 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (8 rows) -- test query with time_bucket @@ -2647,16 +2647,16 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_3_13_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (12 rows) -- test query with ORDER BY time_bucket @@ -2669,16 +2669,16 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (time_bucket('@ 1 day'::interval, _hyper_3_13_chunk."time")) + Sort Key: (time_bucket('@ 1 day'::interval, _hyper_X_X_chunk."time")) Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (12 rows) -- test query with ORDER BY time_bucket, device_id @@ -2696,20 +2696,20 @@ LIMIT 1; ------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (time_bucket('@ 1 day'::interval, _hyper_3_13_chunk."time")), _hyper_3_13_chunk.device_id + Sort Key: (time_bucket('@ 1 day'::interval, _hyper_X_X_chunk."time")), _hyper_X_X_chunk.device_id Sort Method: top-N heapsort -> Result (actual rows=27348 loops=1) -> Append (actual rows=27348 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=7196 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=8 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=7196 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=8 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=10076 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10076 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 18 - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=10076 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10076 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 18 (18 rows) @@ -2724,16 +2724,16 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (date_trunc('day'::text, _hyper_3_13_chunk."time")) + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")) Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (12 rows) -- test query with ORDER BY date_trunc @@ -2746,16 +2746,16 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (date_trunc('day'::text, _hyper_3_13_chunk."time")) + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")) Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (12 rows) -- test query with ORDER BY date_trunc, device_id @@ -2773,20 +2773,20 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (date_trunc('day'::text, _hyper_3_13_chunk."time")), _hyper_3_13_chunk.device_id + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")), _hyper_X_X_chunk.device_id Sort Method: top-N heapsort -> Result (actual rows=27348 loops=1) -> Append (actual rows=27348 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=7196 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=8 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=7196 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=8 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=10076 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10076 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 18 - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=10076 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10076 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 18 (18 rows) @@ -2806,15 +2806,15 @@ LIMIT 1; Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=68370 loops=1) Chunks excluded during startup: 0 - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) Filter: ("time" < (now() + '@ 1 mon'::interval)) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) Filter: ("time" < (now() + '@ 1 mon'::interval)) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) Filter: ("time" < (now() + '@ 1 mon'::interval)) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) (15 rows) -- test CTE @@ -2835,15 +2835,15 @@ FROM i; Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=68370 loops=1) Chunks excluded during startup: 0 - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) Filter: ("time" < now()) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) Filter: ("time" < now()) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) Filter: ("time" < now()) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) (15 rows) -- test CTE @@ -2861,19 +2861,19 @@ WHERE time < '2000-02-01'::timestamptz; ------------------------------------------------------------------------------------------------------------------------------------------------------------ Custom Scan (ChunkAppend) on metrics_compressed (actual rows=13674 loops=1) Order: metrics_compressed."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=4 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=4 loops=1) Index Cond: (device_id = 1) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (actual rows=6 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 1) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (actual rows=6 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 1) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) (17 rows) @@ -2894,25 +2894,25 @@ ORDER BY time; InitPlan 1 (returns $0) -> Aggregate (actual rows=1 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk _hyper_3_13_chunk_1 (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk _hyper_3_14_chunk_1 (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk _hyper_3_15_chunk_1 (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" = $0) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=1) Filter: ((_ts_meta_min_1 <= $0) AND (_ts_meta_max_1 >= $0)) Rows Removed by Filter: 20 - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" = $0) - -> Seq Scan on compress_hyper_4_17_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= $0) AND (_ts_meta_max_1 >= $0)) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=5 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5 loops=1) Filter: ("time" = $0) Rows Removed by Filter: 4995 - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=5 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=5 loops=1) Filter: ((_ts_meta_min_1 <= $0) AND (_ts_meta_max_1 >= $0)) Rows Removed by Filter: 25 (26 rows) @@ -2930,15 +2930,15 @@ LIMIT ( InitPlan 1 (returns $0) -> Result (actual rows=1 loops=1) -> Sort (actual rows=4 loops=1) - Sort Key: _hyper_3_13_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (13 rows) -- test with ordered guc disabled @@ -2952,15 +2952,15 @@ LIMIT 3; -------------------------------------------------------------------------------------------------- Limit (actual rows=3 loops=1) -> Sort (actual rows=3 loops=1) - Sort Key: _hyper_3_13_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (11 rows) RESET timescaledb.enable_ordered_append; @@ -2973,15 +2973,15 @@ LIMIT 3; -------------------------------------------------------------------------------------------------- Limit (actual rows=3 loops=1) -> Sort (actual rows=3 loops=1) - Sort Key: _hyper_3_13_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (11 rows) -- test with chunk append disabled @@ -2995,15 +2995,15 @@ LIMIT 3; -------------------------------------------------------------------------------------------------- Limit (actual rows=3 loops=1) -> Sort (actual rows=3 loops=1) - Sort Key: _hyper_3_13_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (11 rows) RESET timescaledb.enable_chunk_append; @@ -3016,15 +3016,15 @@ LIMIT 3; -------------------------------------------------------------------------------------------------- Limit (actual rows=3 loops=1) -> Sort (actual rows=3 loops=1) - Sort Key: _hyper_3_13_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (11 rows) \set TEST_TABLE 'metrics_space_compressed' @@ -3042,27 +3042,27 @@ LIMIT 1; -------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_5_19_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (23 rows) -- test DESC for ordered chunks @@ -3075,27 +3075,27 @@ LIMIT 1; -------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_5_27_chunk."time" DESC + Sort Key: _hyper_X_X_chunk."time" DESC Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) (23 rows) -- test query with ORDER BY column not in targetlist @@ -3109,28 +3109,28 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_5_19_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (24 rows) -- ORDER BY may include other columns after time column @@ -3148,21 +3148,21 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=1 loops=1) Order: metrics_space_compressed."time" DESC - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_30_chunk._ts_meta_sequence_num + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num Sort Method: quicksort - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) -> Sort (never executed) - Sort Key: compress_hyper_6_33_chunk._ts_meta_sequence_num - -> Seq Scan on compress_hyper_6_33_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) -> Sort (never executed) - Sort Key: compress_hyper_6_36_chunk._ts_meta_sequence_num - -> Seq Scan on compress_hyper_6_36_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) (19 rows) @@ -3181,21 +3181,21 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=1 loops=1) Order: metrics_space_compressed."time" DESC - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_30_chunk._ts_meta_sequence_num + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num Sort Method: quicksort - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) -> Sort (never executed) - Sort Key: compress_hyper_6_33_chunk._ts_meta_sequence_num - -> Seq Scan on compress_hyper_6_33_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) -> Sort (never executed) - Sort Key: compress_hyper_6_36_chunk._ts_meta_sequence_num - -> Seq Scan on compress_hyper_6_36_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) (19 rows) @@ -3209,28 +3209,28 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_5_27_chunk."time" DESC + Sort Key: _hyper_X_X_chunk."time" DESC Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) (24 rows) -- queries with ORDER BY non-time column shouldn't use ordered append @@ -3243,52 +3243,52 @@ LIMIT 1; ---------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_5_19_chunk.device_id - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk.device_id + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_36_chunk.device_id + Sort Key: compress_hyper_X_X_chunk.device_id Sort Method: quicksort - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_35_chunk.device_id + Sort Key: compress_hyper_X_X_chunk.device_id Sort Method: quicksort - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_34_chunk.device_id + Sort Key: compress_hyper_X_X_chunk.device_id Sort Method: quicksort - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_33_chunk.device_id + Sort Key: compress_hyper_X_X_chunk.device_id Sort Method: quicksort - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_32_chunk.device_id + Sort Key: compress_hyper_X_X_chunk.device_id Sort Method: quicksort - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_31_chunk.device_id + Sort Key: compress_hyper_X_X_chunk.device_id Sort Method: quicksort - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_30_chunk.device_id + Sort Key: compress_hyper_X_X_chunk.device_id Sort Method: quicksort - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_29_chunk.device_id + Sort Key: compress_hyper_X_X_chunk.device_id Sort Method: quicksort - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_28_chunk.device_id + Sort Key: compress_hyper_X_X_chunk.device_id Sort Method: quicksort - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (48 rows) -- time column must be primary sort order @@ -3304,45 +3304,45 @@ LIMIT 1; ------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_5_25_chunk.device_id, _hyper_5_25_chunk."time" - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk.device_id, _hyper_X_X_chunk."time" + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_30_chunk.device_id, compress_hyper_6_30_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_29_chunk.device_id, compress_hyper_6_29_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_36_chunk.device_id, compress_hyper_6_36_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_32_chunk.device_id, compress_hyper_6_32_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_35_chunk.device_id, compress_hyper_6_35_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 8 - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_33_chunk.device_id, compress_hyper_6_33_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) (42 rows) @@ -3361,15 +3361,15 @@ LIMIT 10; ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Limit (actual rows=10 loops=1) -> Merge Append (actual rows=10 loops=1) - Sort Key: _hyper_5_25_chunk."time" - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=1 loops=1) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=10 loops=1) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=1 loops=1) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) (12 rows) @@ -3383,28 +3383,28 @@ ORDER BY time ASC; QUERY PLAN ------------------------------------------------------------------------------------------- Sort (actual rows=27348 loops=1) - Sort Key: _hyper_5_19_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: quicksort -> Append (actual rows=27348 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 8 - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 12 (25 rows) @@ -3419,24 +3419,24 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Result (actual rows=1 loops=1) -> Append (actual rows=1 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=1 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=1 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (never executed) - -> Seq Scan on compress_hyper_6_35_chunk (never executed) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (never executed) - -> Seq Scan on compress_hyper_6_34_chunk (never executed) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (never executed) - -> Seq Scan on compress_hyper_6_33_chunk (never executed) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (never executed) - -> Seq Scan on compress_hyper_6_32_chunk (never executed) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (never executed) - -> Seq Scan on compress_hyper_6_31_chunk (never executed) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (never executed) - -> Seq Scan on compress_hyper_6_30_chunk (never executed) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (never executed) - -> Seq Scan on compress_hyper_6_29_chunk (never executed) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (never executed) - -> Seq Scan on compress_hyper_6_28_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) (21 rows) -- test interaction with constraint exclusion @@ -3450,38 +3450,38 @@ LIMIT 1; --------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_5_22_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=45575 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=4077 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=4077 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 923 - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=5 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=5 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 1 - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=12231 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=12231 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 2769 - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=15 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=15 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 3 - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=4077 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=4077 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 923 - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=5 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=5 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 1 - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) (35 rows) @@ -3495,37 +3495,37 @@ LIMIT 1; --------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_5_27_chunk."time" DESC + Sort Key: _hyper_X_X_chunk."time" DESC Sort Method: top-N heapsort -> Append (actual rows=45575 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=4077 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=4077 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 923 - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=5 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=5 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 1 - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=12231 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=12231 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 2769 - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=15 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=15 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 3 - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=4077 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=4077 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 923 - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=5 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=5 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 1 (35 rows) @@ -3545,41 +3545,41 @@ LIMIT 1; Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=41975 loops=1) -> Merge Append (actual rows=0 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 3598 - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 10794 - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 3598 - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) -> Merge Append (actual rows=16785 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=3357 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3357 loops=1) Filter: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 1681 - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=10071 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10071 loops=1) Filter: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 5043 - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=3357 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3357 loops=1) Filter: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 1681 - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) -> Merge Append (actual rows=25190 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) Filter: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (41 rows) :PREFIX @@ -3596,41 +3596,41 @@ LIMIT 1; Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=26390 loops=1) -> Merge Append (actual rows=17990 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) Filter: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) -> Merge Append (actual rows=8400 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=1680 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1680 loops=1) Filter: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 3358 - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=5040 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5040 loops=1) Filter: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 10074 - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=1680 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1680 loops=1) Filter: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 3358 - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) -> Merge Append (actual rows=0 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 5038 - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 15114 - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 5038 - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (41 rows) -- test constraint exclusion @@ -3649,38 +3649,38 @@ LIMIT 1; Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=7195 loops=1) -> Merge Append (actual rows=0 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: (("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) AND ("time" > ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 3598 - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (_ts_meta_min_1 < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: (("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) AND ("time" > ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 10794 - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) Filter: (_ts_meta_min_1 < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: (("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) AND ("time" > ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 3598 - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (_ts_meta_min_1 < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) -> Merge Append (actual rows=7195 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=1439 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1439 loops=1) Filter: (("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) AND ("time" > ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 2599 - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=5 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=5 loops=1) Filter: (_ts_meta_min_1 < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 1 - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=4317 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=4317 loops=1) Filter: (("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) AND ("time" > ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 7797 - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=15 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=15 loops=1) Filter: (_ts_meta_min_1 < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 3 - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=1439 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1439 loops=1) Filter: (("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) AND ("time" > ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 2599 - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=5 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=5 loops=1) Filter: (_ts_meta_min_1 < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 1 (40 rows) @@ -3700,39 +3700,39 @@ LIMIT 1; Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=3595 loops=1) -> Merge Append (actual rows=3595 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=719 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=719 loops=1) Filter: (("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) AND ("time" < ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 4281 - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=5 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=5 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 1 - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=2157 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=2157 loops=1) Filter: (("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) AND ("time" < ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 12843 - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=15 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=15 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 3 - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=719 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=719 loops=1) Filter: (("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) AND ("time" < ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 4281 - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=5 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=5 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 1 -> Merge Append (actual rows=0 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: (("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) AND ("time" < ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 5038 - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: (("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) AND ("time" < ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 15114 - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: (("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) AND ("time" < ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 5038 - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) (40 rows) @@ -3744,24 +3744,24 @@ FROM :TEST_TABLE; -------------------------------------------------------------------------------------------- Aggregate (actual rows=1 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (20 rows) :PREFIX @@ -3771,24 +3771,24 @@ FROM :TEST_TABLE; -------------------------------------------------------------------------------------------- Aggregate (actual rows=1 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (20 rows) -- test first/last (doesn't use ordered append yet) @@ -3799,24 +3799,24 @@ FROM :TEST_TABLE; -------------------------------------------------------------------------------------------- Aggregate (actual rows=1 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (20 rows) :PREFIX @@ -3826,24 +3826,24 @@ FROM :TEST_TABLE; -------------------------------------------------------------------------------------------- Aggregate (actual rows=1 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (20 rows) -- test query with time_bucket @@ -3856,28 +3856,28 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_5_19_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (24 rows) -- test query with ORDER BY time_bucket @@ -3890,28 +3890,28 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (time_bucket('@ 1 day'::interval, _hyper_5_19_chunk."time")) + Sort Key: (time_bucket('@ 1 day'::interval, _hyper_X_X_chunk."time")) Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (24 rows) -- test query with ORDER BY time_bucket, device_id @@ -3929,30 +3929,30 @@ LIMIT 1; ------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (time_bucket('@ 1 day'::interval, _hyper_5_25_chunk."time")), _hyper_5_25_chunk.device_id + Sort Key: (time_bucket('@ 1 day'::interval, _hyper_X_X_chunk."time")), _hyper_X_X_chunk.device_id Sort Method: top-N heapsort -> Result (actual rows=27348 loops=1) -> Append (actual rows=27348 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 8 - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) (27 rows) @@ -3966,28 +3966,28 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (date_trunc('day'::text, _hyper_5_19_chunk."time")) + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")) Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (24 rows) -- test query with ORDER BY date_trunc @@ -4000,28 +4000,28 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (date_trunc('day'::text, _hyper_5_19_chunk."time")) + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")) Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (24 rows) -- test query with ORDER BY date_trunc, device_id @@ -4039,30 +4039,30 @@ LIMIT 1; ------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (date_trunc('day'::text, _hyper_5_25_chunk."time")), _hyper_5_25_chunk.device_id + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")), _hyper_X_X_chunk.device_id Sort Method: top-N heapsort -> Result (actual rows=27348 loops=1) -> Append (actual rows=27348 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 8 - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) (27 rows) @@ -4081,35 +4081,35 @@ LIMIT 1; Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=68370 loops=1) -> Merge Append (actual rows=25190 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" < (now() + '@ 1 mon'::interval)) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) Filter: ("time" < (now() + '@ 1 mon'::interval)) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" < (now() + '@ 1 mon'::interval)) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) -> Merge Append (actual rows=25190 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" < (now() + '@ 1 mon'::interval)) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) Filter: ("time" < (now() + '@ 1 mon'::interval)) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" < (now() + '@ 1 mon'::interval)) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) -> Merge Append (actual rows=17990 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < (now() + '@ 1 mon'::interval)) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) Filter: ("time" < (now() + '@ 1 mon'::interval)) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < (now() + '@ 1 mon'::interval)) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) (35 rows) -- test CTE @@ -4130,35 +4130,35 @@ FROM i; Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=68370 loops=1) -> Merge Append (actual rows=25190 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" < now()) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) Filter: ("time" < now()) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" < now()) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) -> Merge Append (actual rows=25190 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" < now()) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) Filter: ("time" < now()) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" < now()) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) -> Merge Append (actual rows=17990 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < now()) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) Filter: ("time" < now()) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < now()) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) (35 rows) -- test CTE @@ -4176,19 +4176,19 @@ WHERE time < '2000-02-01'::timestamptz; ------------------------------------------------------------------------------------------------------------------------------------------------------------ Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=13674 loops=1) Order: metrics_space_compressed."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=4 loops=1) Index Cond: (device_id = 1) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (actual rows=6 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 1) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 1) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) (17 rows) @@ -4208,73 +4208,73 @@ ORDER BY time; InitPlan 1 (returns $0) -> Aggregate (actual rows=1 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk _hyper_5_19_chunk_1 (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk compress_hyper_6_36_chunk_1 (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk _hyper_5_20_chunk_1 (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk compress_hyper_6_35_chunk_1 (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk _hyper_5_21_chunk_1 (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk compress_hyper_6_34_chunk_1 (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk _hyper_5_22_chunk_1 (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk compress_hyper_6_33_chunk_1 (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk _hyper_5_23_chunk_1 (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk compress_hyper_6_32_chunk_1 (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk _hyper_5_24_chunk_1 (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk compress_hyper_6_31_chunk_1 (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk _hyper_5_25_chunk_1 (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk compress_hyper_6_30_chunk_1 (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk _hyper_5_26_chunk_1 (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk compress_hyper_6_29_chunk_1 (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk _hyper_5_27_chunk_1 (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk compress_hyper_6_28_chunk_1 (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) -> Merge Append (actual rows=0 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" = $0) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=1) Filter: ((_ts_meta_min_1 <= $0) AND (_ts_meta_max_1 >= $0)) Rows Removed by Filter: 4 - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" = $0) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=1) Filter: ((_ts_meta_min_1 <= $0) AND (_ts_meta_max_1 >= $0)) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" = $0) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=1) Filter: ((_ts_meta_min_1 <= $0) AND (_ts_meta_max_1 >= $0)) Rows Removed by Filter: 4 -> Merge Append (actual rows=0 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" = $0) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=1) Filter: ((_ts_meta_min_1 <= $0) AND (_ts_meta_max_1 >= $0)) Rows Removed by Filter: 6 - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" = $0) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=1) Filter: ((_ts_meta_min_1 <= $0) AND (_ts_meta_max_1 >= $0)) Rows Removed by Filter: 18 - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" = $0) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=1) Filter: ((_ts_meta_min_1 <= $0) AND (_ts_meta_max_1 >= $0)) Rows Removed by Filter: 6 -> Merge Append (actual rows=5 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" = $0) Rows Removed by Filter: 999 - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=1 loops=1) Filter: ((_ts_meta_min_1 <= $0) AND (_ts_meta_max_1 >= $0)) Rows Removed by Filter: 5 - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=3 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3 loops=1) Filter: ("time" = $0) Rows Removed by Filter: 2997 - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=3 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=3 loops=1) Filter: ((_ts_meta_min_1 <= $0) AND (_ts_meta_max_1 >= $0)) Rows Removed by Filter: 15 - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" = $0) Rows Removed by Filter: 999 - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=1 loops=1) Filter: ((_ts_meta_min_1 <= $0) AND (_ts_meta_max_1 >= $0)) Rows Removed by Filter: 5 (73 rows) @@ -4292,27 +4292,27 @@ LIMIT ( InitPlan 1 (returns $0) -> Result (actual rows=1 loops=1) -> Sort (actual rows=4 loops=1) - Sort Key: _hyper_5_19_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (25 rows) -- test with ordered guc disabled @@ -4326,27 +4326,27 @@ LIMIT 3; -------------------------------------------------------------------------------------------------- Limit (actual rows=3 loops=1) -> Sort (actual rows=3 loops=1) - Sort Key: _hyper_5_19_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (23 rows) RESET timescaledb.enable_ordered_append; @@ -4359,27 +4359,27 @@ LIMIT 3; -------------------------------------------------------------------------------------------------- Limit (actual rows=3 loops=1) -> Sort (actual rows=3 loops=1) - Sort Key: _hyper_5_19_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (23 rows) -- test with chunk append disabled @@ -4393,27 +4393,27 @@ LIMIT 3; -------------------------------------------------------------------------------------------------- Limit (actual rows=3 loops=1) -> Sort (actual rows=3 loops=1) - Sort Key: _hyper_5_19_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (23 rows) RESET timescaledb.enable_chunk_append; @@ -4426,27 +4426,27 @@ LIMIT 3; -------------------------------------------------------------------------------------------------- Limit (actual rows=3 loops=1) -> Sort (actual rows=3 loops=1) - Sort Key: _hyper_5_19_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (23 rows) -- get results for all the queries diff --git a/tsl/test/shared/expected/ordered_append-13.out b/tsl/test/shared/expected/ordered_append-13.out index 1a864464f..dfc784dac 100644 --- a/tsl/test/shared/expected/ordered_append-13.out +++ b/tsl/test/shared/expected/ordered_append-13.out @@ -29,11 +29,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (9 rows) @@ -48,11 +48,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" DESC - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (9 rows) @@ -68,9 +68,9 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" - -> Index Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=1 loops=1) - -> Index Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) - -> Index Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) (6 rows) -- ORDER BY may include other columns after time column @@ -88,11 +88,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" DESC - -> Index Scan using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Index Scan using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Index Scan using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) (9 rows) @@ -111,11 +111,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" DESC - -> Index Scan using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Index Scan using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Index Scan using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) (9 rows) @@ -130,11 +130,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" DESC - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (9 rows) @@ -148,12 +148,12 @@ LIMIT 1; --------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_1_1_chunk.device_id - -> Index Only Scan using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk.device_id + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 (9 rows) @@ -170,19 +170,19 @@ LIMIT 1; ------------------------------------------------------------------------------------------------------------------------------------ Limit (actual rows=1 loops=1) -> Incremental Sort (actual rows=1 loops=1) - Sort Key: _hyper_1_1_chunk.device_id, _hyper_1_1_chunk."time" - Presorted Key: _hyper_1_1_chunk.device_id + Sort Key: _hyper_X_X_chunk.device_id, _hyper_X_X_chunk."time" + Presorted Key: _hyper_X_X_chunk.device_id Full-sort Groups: 1 Sort Method: top-N heapsort Pre-sorted Groups: 1 Sort Method: top-N heapsort -> Merge Append (actual rows=13675 loops=1) - Sort Key: _hyper_1_1_chunk.device_id - -> Index Only Scan using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (actual rows=3599 loops=1) + Sort Key: _hyper_X_X_chunk.device_id + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=3599 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) Heap Fetches: 3599 - -> Index Only Scan using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (actual rows=5039 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=5039 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) Heap Fetches: 5039 - -> Index Only Scan using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk (actual rows=5039 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=5039 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) Heap Fetches: 5039 (17 rows) @@ -202,14 +202,14 @@ LIMIT 10; ------------------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=10 loops=1) -> Merge Append (actual rows=10 loops=1) - Sort Key: _hyper_1_1_chunk."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (actual rows=10 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=10 loops=1) Index Cond: (device_id = 1) Heap Fetches: 10 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) Heap Fetches: 1 (12 rows) @@ -225,13 +225,13 @@ ORDER BY time ASC; ------------------------------------------------------------------------------------------------------------------- Custom Scan (ChunkAppend) on metrics (actual rows=27348 loops=1) Order: metrics."time" - -> Index Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=7196 loops=1) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=7196 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 10794 - -> Index Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (actual rows=10076 loops=1) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=10076 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 15114 - -> Index Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=10076 loops=1) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=10076 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 15114 (11 rows) @@ -246,9 +246,9 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Result (actual rows=1 loops=1) -> Append (actual rows=1 loops=1) - -> Seq Scan on _hyper_1_1_chunk (actual rows=1 loops=1) - -> Seq Scan on _hyper_1_2_chunk (never executed) - -> Seq Scan on _hyper_1_3_chunk (never executed) + -> Seq Scan on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Seq Scan on _hyper_X_X_chunk (never executed) + -> Seq Scan on _hyper_X_X_chunk (never executed) (6 rows) -- test interaction with constraint exclusion @@ -263,10 +263,10 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 0 (9 rows) @@ -282,10 +282,10 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" DESC - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 0 (9 rows) @@ -303,10 +303,10 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" Chunks excluded during startup: 1 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 (10 rows) @@ -323,10 +323,10 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" Chunks excluded during startup: 1 - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 (10 rows) @@ -345,7 +345,7 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" Chunks excluded during startup: 1 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (("time" > ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 1 (7 rows) @@ -363,7 +363,7 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" Chunks excluded during startup: 1 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (("time" < ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 1 (7 rows) @@ -379,13 +379,13 @@ FROM :TEST_TABLE; -> Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" DESC - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 (14 rows) @@ -400,13 +400,13 @@ FROM :TEST_TABLE; -> Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 (14 rows) @@ -422,13 +422,13 @@ FROM :TEST_TABLE; -> Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 (14 rows) @@ -443,13 +443,13 @@ FROM :TEST_TABLE; -> Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" DESC - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 (14 rows) @@ -465,11 +465,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (9 rows) @@ -484,11 +484,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: time_bucket('@ 1 day'::interval, metrics."time") - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (9 rows) @@ -507,15 +507,15 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (time_bucket('@ 1 day'::interval, _hyper_1_1_chunk."time")), _hyper_1_1_chunk.device_id + Sort Key: (time_bucket('@ 1 day'::interval, _hyper_X_X_chunk."time")), _hyper_X_X_chunk.device_id Sort Method: top-N heapsort -> Result (actual rows=27348 loops=1) -> Append (actual rows=27348 loops=1) - -> Index Scan using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (actual rows=7196 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=7196 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) - -> Index Scan using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (actual rows=10076 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=10076 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) - -> Index Scan using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk (actual rows=10076 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=10076 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) (12 rows) @@ -530,11 +530,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: date_trunc('day'::text, metrics."time") - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (9 rows) @@ -549,11 +549,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: date_trunc('day'::text, metrics."time") - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (9 rows) @@ -572,15 +572,15 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (date_trunc('day'::text, _hyper_1_1_chunk."time")), _hyper_1_1_chunk.device_id + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")), _hyper_X_X_chunk.device_id Sort Method: top-N heapsort -> Result (actual rows=27348 loops=1) -> Append (actual rows=27348 loops=1) - -> Index Scan using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (actual rows=7196 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=7196 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) - -> Index Scan using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (actual rows=10076 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=10076 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) - -> Index Scan using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk (actual rows=10076 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=10076 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) (12 rows) @@ -597,13 +597,13 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" DESC Chunks excluded during startup: 0 - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < (now() + '@ 1 mon'::interval)) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < (now() + '@ 1 mon'::interval)) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < (now() + '@ 1 mon'::interval)) Heap Fetches: 0 (13 rows) @@ -624,13 +624,13 @@ FROM i; -> Custom Scan (ChunkAppend) on metrics (actual rows=100 loops=1) Order: metrics."time" DESC Chunks excluded during startup: 0 - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=100 loops=1) Index Cond: ("time" < now()) Heap Fetches: 100 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Heap Fetches: 0 (13 rows) @@ -650,13 +650,13 @@ WHERE time < '2000-02-01'::timestamptz; --------------------------------------------------------------------------------------------------------------------------------- Custom Scan (ChunkAppend) on metrics (actual rows=13674 loops=1) Order: metrics."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (actual rows=3598 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=3598 loops=1) Index Cond: ((device_id = 1) AND ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 3598 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (actual rows=5038 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=5038 loops=1) Index Cond: ((device_id = 1) AND ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 5038 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk (actual rows=5038 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=5038 loops=1) Index Cond: ((device_id = 1) AND ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 5038 (11 rows) @@ -680,22 +680,22 @@ ORDER BY time; -> Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics metrics_1 (actual rows=1 loops=1) Order: metrics_1."time" DESC - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk _hyper_1_3_chunk_1 (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk _hyper_1_2_chunk_1 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk _hyper_X_X_chunk_1 (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk _hyper_1_1_chunk_1 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk _hyper_X_X_chunk_1 (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" = $1) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" = $1) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=5 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=5 loops=1) Index Cond: ("time" = $1) Heap Fetches: 5 (26 rows) @@ -714,11 +714,11 @@ LIMIT ( -> Result (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=4 loops=1) Order: metrics."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=4 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=4 loops=1) Heap Fetches: 4 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (11 rows) @@ -733,12 +733,12 @@ LIMIT 3; -------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=3 loops=1) -> Merge Append (actual rows=3 loops=1) - Sort Key: _hyper_1_1_chunk."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=3 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=3 loops=1) Heap Fetches: 3 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 (9 rows) @@ -753,11 +753,11 @@ LIMIT 3; Limit (actual rows=3 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=3 loops=1) Order: metrics."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=3 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=3 loops=1) Heap Fetches: 3 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (9 rows) @@ -772,12 +772,12 @@ LIMIT 3; -------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=3 loops=1) -> Merge Append (actual rows=3 loops=1) - Sort Key: _hyper_1_1_chunk."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=3 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=3 loops=1) Heap Fetches: 3 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 (9 rows) @@ -792,11 +792,11 @@ LIMIT 3; Limit (actual rows=3 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=3 loops=1) Order: metrics."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (actual rows=3 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=3 loops=1) Heap Fetches: 3 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (9 rows) @@ -817,28 +817,28 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (27 rows) @@ -854,28 +854,28 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" DESC -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_12_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_9_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_6_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (27 rows) @@ -892,20 +892,20 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=1 loops=1) - -> Index Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) - -> Index Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) -> Merge Append (never executed) - Sort Key: _hyper_2_7_chunk."time" - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) - -> Index Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) - -> Index Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) - -> Index Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) - -> Index Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) (18 rows) -- ORDER BY may include other columns after time column @@ -923,11 +923,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" DESC - -> Index Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: (device_id = 1) - -> Index Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Filter: (device_id = 1) - -> Index Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Filter: (device_id = 1) (9 rows) @@ -946,11 +946,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" DESC - -> Index Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: (device_id = 1) - -> Index Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Filter: (device_id = 1) - -> Index Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Filter: (device_id = 1) (9 rows) @@ -966,28 +966,28 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" DESC -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_12_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_9_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_6_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (27 rows) @@ -1001,24 +1001,24 @@ LIMIT 1; ----------------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_4_chunk.device_id - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_device_id_time_idx on _hyper_2_4_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk.device_id + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_device_id_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_device_id_time_idx on _hyper_2_7_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_device_id_time_idx on _hyper_2_9_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_device_id_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_device_id_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 (21 rows) @@ -1035,23 +1035,23 @@ LIMIT 1; ----------------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_8_chunk.device_id, _hyper_2_8_chunk."time" - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk.device_id, _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_device_id_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_device_id_time_idx on _hyper_2_4_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_device_id_time_idx on _hyper_2_7_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) Heap Fetches: 1 (21 rows) @@ -1071,12 +1071,12 @@ LIMIT 10; -------------------------------------------------------------------------------------------------------------------- Limit (actual rows=10 loops=1) -> Merge Append (actual rows=10 loops=1) - Sort Key: _hyper_2_10_chunk."time" - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: (device_id = 1) - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=10 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=10 loops=1) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (actual rows=1 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: (device_id = 1) (9 rows) @@ -1092,24 +1092,24 @@ ORDER BY time ASC; Custom Scan (ChunkAppend) on metrics_space (actual rows=27348 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=7196 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=3598 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Index Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=3598 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 7196 -> Merge Append (actual rows=10076 loops=1) - Sort Key: _hyper_2_7_chunk."time" - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (actual rows=5038 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Index Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (actual rows=5038 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 10076 -> Merge Append (actual rows=10076 loops=1) - Sort Key: _hyper_2_10_chunk."time" - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=5038 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Index Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=5038 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 10076 (23 rows) @@ -1124,15 +1124,15 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Result (actual rows=1 loops=1) -> Append (actual rows=1 loops=1) - -> Seq Scan on _hyper_2_4_chunk (actual rows=1 loops=1) - -> Seq Scan on _hyper_2_5_chunk (never executed) - -> Seq Scan on _hyper_2_6_chunk (never executed) - -> Seq Scan on _hyper_2_7_chunk (never executed) - -> Seq Scan on _hyper_2_8_chunk (never executed) - -> Seq Scan on _hyper_2_9_chunk (never executed) - -> Seq Scan on _hyper_2_10_chunk (never executed) - -> Seq Scan on _hyper_2_11_chunk (never executed) - -> Seq Scan on _hyper_2_12_chunk (never executed) + -> Seq Scan on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Seq Scan on _hyper_X_X_chunk (never executed) + -> Seq Scan on _hyper_X_X_chunk (never executed) + -> Seq Scan on _hyper_X_X_chunk (never executed) + -> Seq Scan on _hyper_X_X_chunk (never executed) + -> Seq Scan on _hyper_X_X_chunk (never executed) + -> Seq Scan on _hyper_X_X_chunk (never executed) + -> Seq Scan on _hyper_X_X_chunk (never executed) + -> Seq Scan on _hyper_X_X_chunk (never executed) (12 rows) -- test interaction with constraint exclusion @@ -1148,25 +1148,25 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 0 (25 rows) @@ -1183,25 +1183,25 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" DESC -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_12_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_9_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 0 (25 rows) @@ -1219,36 +1219,36 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=0 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=0 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=0 loops=1) Index Cond: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=0 loops=1) Index Cond: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=0 loops=1) Index Cond: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 (36 rows) @@ -1265,36 +1265,36 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Heap Fetches: 0 (36 rows) @@ -1313,25 +1313,25 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=0 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=0 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=0 loops=1) Index Cond: (("time" > ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=0 loops=1) Index Cond: (("time" > ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=0 loops=1) Index Cond: (("time" > ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 0 -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (("time" > ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (("time" > ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (("time" > ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 1 (25 rows) @@ -1349,25 +1349,25 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (("time" < ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (("time" < ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (("time" < ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: (("time" < ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: (("time" < ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: (("time" < ('2000-01-08'::cstring)::timestamp with time zone) AND ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 0 (25 rows) @@ -1384,36 +1384,36 @@ FROM :TEST_TABLE; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" DESC -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_12_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_9_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_6_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 (38 rows) @@ -1429,36 +1429,36 @@ FROM :TEST_TABLE; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 (38 rows) @@ -1475,36 +1475,36 @@ FROM :TEST_TABLE; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 (38 rows) @@ -1520,36 +1520,36 @@ FROM :TEST_TABLE; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" DESC -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_12_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_9_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_6_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 (38 rows) @@ -1566,28 +1566,28 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (27 rows) @@ -1603,28 +1603,28 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: time_bucket('@ 1 day'::interval, metrics_space."time") -> Merge Append (actual rows=1 loops=1) - Sort Key: (time_bucket('@ 1 day'::interval, _hyper_2_4_chunk."time")) - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=1 loops=1) + Sort Key: (time_bucket('@ 1 day'::interval, _hyper_X_X_chunk."time")) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: (time_bucket('@ 1 day'::interval, _hyper_2_7_chunk."time")) - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: (time_bucket('@ 1 day'::interval, _hyper_X_X_chunk."time")) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: (time_bucket('@ 1 day'::interval, _hyper_2_10_chunk."time")) - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: (time_bucket('@ 1 day'::interval, _hyper_X_X_chunk."time")) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (27 rows) @@ -1643,21 +1643,21 @@ LIMIT 1; --------------------------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (time_bucket('@ 1 day'::interval, _hyper_2_8_chunk."time")), _hyper_2_8_chunk.device_id + Sort Key: (time_bucket('@ 1 day'::interval, _hyper_X_X_chunk."time")), _hyper_X_X_chunk.device_id Sort Method: top-N heapsort -> Result (actual rows=27348 loops=1) -> Append (actual rows=27348 loops=1) - -> Index Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk (actual rows=5038 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=5038 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) - -> Seq Scan on _hyper_2_10_chunk (actual rows=5038 loops=1) + -> Seq Scan on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Index Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk (actual rows=5038 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=5038 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) - -> Seq Scan on _hyper_2_4_chunk (actual rows=3598 loops=1) + -> Seq Scan on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Index Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk (actual rows=3598 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=3598 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) - -> Seq Scan on _hyper_2_7_chunk (actual rows=5038 loops=1) + -> Seq Scan on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) (18 rows) @@ -1673,28 +1673,28 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: date_trunc('day'::text, metrics_space."time") -> Merge Append (actual rows=1 loops=1) - Sort Key: (date_trunc('day'::text, _hyper_2_4_chunk."time")) - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=1 loops=1) + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: (date_trunc('day'::text, _hyper_2_7_chunk."time")) - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: (date_trunc('day'::text, _hyper_2_10_chunk."time")) - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (27 rows) @@ -1710,28 +1710,28 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: date_trunc('day'::text, metrics_space."time") -> Merge Append (actual rows=1 loops=1) - Sort Key: (date_trunc('day'::text, _hyper_2_4_chunk."time")) - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=1 loops=1) + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: (date_trunc('day'::text, _hyper_2_7_chunk."time")) - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: (date_trunc('day'::text, _hyper_2_10_chunk."time")) - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (27 rows) @@ -1750,21 +1750,21 @@ LIMIT 1; --------------------------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (date_trunc('day'::text, _hyper_2_8_chunk."time")), _hyper_2_8_chunk.device_id + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")), _hyper_X_X_chunk.device_id Sort Method: top-N heapsort -> Result (actual rows=27348 loops=1) -> Append (actual rows=27348 loops=1) - -> Index Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk (actual rows=5038 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=5038 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) - -> Seq Scan on _hyper_2_10_chunk (actual rows=5038 loops=1) + -> Seq Scan on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Index Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk (actual rows=5038 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=5038 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) - -> Seq Scan on _hyper_2_4_chunk (actual rows=3598 loops=1) + -> Seq Scan on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Index Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk (actual rows=3598 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk (actual rows=3598 loops=1) Index Cond: (device_id = ANY ('{1,2}'::integer[])) - -> Seq Scan on _hyper_2_7_chunk (actual rows=5038 loops=1) + -> Seq Scan on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) (18 rows) @@ -1781,36 +1781,36 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" DESC -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_12_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < (now() + '@ 1 mon'::interval)) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < (now() + '@ 1 mon'::interval)) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" < (now() + '@ 1 mon'::interval)) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_9_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < (now() + '@ 1 mon'::interval)) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < (now() + '@ 1 mon'::interval)) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < (now() + '@ 1 mon'::interval)) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_6_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < (now() + '@ 1 mon'::interval)) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < (now() + '@ 1 mon'::interval)) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < (now() + '@ 1 mon'::interval)) Heap Fetches: 0 (36 rows) @@ -1831,36 +1831,36 @@ FROM i; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=100 loops=1) Order: metrics_space."time" DESC -> Merge Append (actual rows=100 loops=1) - Sort Key: _hyper_2_12_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=21 loops=1) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=21 loops=1) Index Cond: ("time" < now()) Heap Fetches: 21 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=60 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=60 loops=1) Index Cond: ("time" < now()) Heap Fetches: 60 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=21 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=21 loops=1) Index Cond: ("time" < now()) Heap Fetches: 21 -> Merge Append (never executed) - Sort Key: _hyper_2_9_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_6_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" < now()) Heap Fetches: 0 (36 rows) @@ -1880,13 +1880,13 @@ WHERE time < '2000-02-01'::timestamptz; ----------------------------------------------------------------------------------------------------------------- Custom Scan (ChunkAppend) on metrics_space (actual rows=13674 loops=1) Order: metrics_space."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=3598 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=3598 loops=1) Index Cond: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (actual rows=5038 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=5038 loops=1) Index Cond: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=5038 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=5038 loops=1) Index Cond: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) Filter: (device_id = 1) (11 rows) @@ -1910,66 +1910,66 @@ ORDER BY time; -> Custom Scan (ChunkAppend) on metrics_space metrics_space_1 (actual rows=1 loops=1) Order: metrics_space_1."time" DESC -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_12_chunk_1."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk _hyper_2_12_chunk_1 (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk_1."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk _hyper_2_11_chunk_1 (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk _hyper_2_10_chunk_1 (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_9_chunk_1."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk _hyper_2_9_chunk_1 (never executed) + Sort Key: _hyper_X_X_chunk_1."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk _hyper_X_X_chunk_1 (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk _hyper_2_8_chunk_1 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk _hyper_X_X_chunk_1 (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk _hyper_2_7_chunk_1 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk _hyper_X_X_chunk_1 (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_6_chunk_1."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk _hyper_2_6_chunk_1 (never executed) + Sort Key: _hyper_X_X_chunk_1."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk _hyper_X_X_chunk_1 (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk _hyper_2_5_chunk_1 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk _hyper_X_X_chunk_1 (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk _hyper_2_4_chunk_1 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk _hyper_X_X_chunk_1 (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 -> Merge Append (actual rows=0 loops=1) - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=0 loops=1) Index Cond: ("time" = $1) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=0 loops=1) Index Cond: ("time" = $1) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=0 loops=1) Index Cond: ("time" = $1) Heap Fetches: 0 -> Merge Append (actual rows=0 loops=1) - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=0 loops=1) Index Cond: ("time" = $1) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=0 loops=1) Index Cond: ("time" = $1) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=0 loops=1) Index Cond: ("time" = $1) Heap Fetches: 0 -> Merge Append (actual rows=5 loops=1) - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" = $1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=3 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=3 loops=1) Index Cond: ("time" = $1) Heap Fetches: 3 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" = $1) Heap Fetches: 1 (70 rows) @@ -1989,28 +1989,28 @@ LIMIT ( -> Custom Scan (ChunkAppend) on metrics_space (actual rows=4 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=4 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=2 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=2 loops=1) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=3 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=3 loops=1) Heap Fetches: 3 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (29 rows) @@ -2025,24 +2025,24 @@ LIMIT 3; ------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=3 loops=1) -> Merge Append (actual rows=3 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=2 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=2 loops=1) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=2 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=2 loops=1) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 (21 rows) @@ -2058,28 +2058,28 @@ LIMIT 3; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=3 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=3 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=2 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=2 loops=1) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=2 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=2 loops=1) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (27 rows) @@ -2094,24 +2094,24 @@ LIMIT 3; ------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=3 loops=1) -> Merge Append (actual rows=3 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=2 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=2 loops=1) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=2 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=2 loops=1) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 (21 rows) @@ -2127,28 +2127,28 @@ LIMIT 3; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=3 loops=1) Order: metrics_space."time" -> Merge Append (actual rows=3 loops=1) - Sort Key: _hyper_2_4_chunk."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (actual rows=2 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=2 loops=1) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (actual rows=2 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=2 loops=1) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_7_chunk."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_10_chunk."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (27 rows) @@ -2167,15 +2167,15 @@ LIMIT 1; -------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_3_13_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (11 rows) -- test DESC for ordered chunks @@ -2188,15 +2188,15 @@ LIMIT 1; -------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_3_15_chunk."time" DESC + Sort Key: _hyper_X_X_chunk."time" DESC Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) (11 rows) -- test query with ORDER BY column not in targetlist @@ -2210,16 +2210,16 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_3_13_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (12 rows) -- ORDER BY may include other columns after time column @@ -2237,14 +2237,14 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=1 loops=1) Order: metrics_compressed."time" DESC - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=1 loops=1) - -> Index Scan using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (never executed) - -> Index Scan using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (never executed) - -> Index Scan using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) (12 rows) @@ -2263,14 +2263,14 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=1 loops=1) Order: metrics_compressed."time" DESC - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=1 loops=1) - -> Index Scan using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (never executed) - -> Index Scan using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (never executed) - -> Index Scan using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) (12 rows) @@ -2284,16 +2284,16 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_3_15_chunk."time" DESC + Sort Key: _hyper_X_X_chunk."time" DESC Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) (12 rows) -- queries with ORDER BY non-time column shouldn't use ordered append @@ -2306,22 +2306,22 @@ LIMIT 1; ---------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_3_13_chunk.device_id - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk.device_id + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_4_18_chunk.device_id + Sort Key: compress_hyper_X_X_chunk.device_id Sort Method: quicksort - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_4_17_chunk.device_id + Sort Key: compress_hyper_X_X_chunk.device_id Sort Method: quicksort - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_4_16_chunk.device_id + Sort Key: compress_hyper_X_X_chunk.device_id Sort Method: quicksort - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (18 rows) -- time column must be primary sort order @@ -2337,26 +2337,26 @@ LIMIT 1; ------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_3_13_chunk.device_id, _hyper_3_13_chunk."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk.device_id, _hyper_X_X_chunk."time" + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_4_18_chunk.device_id, compress_hyper_4_18_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=8 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=8 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_4_17_chunk.device_id, compress_hyper_4_17_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=12 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 18 - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_4_16_chunk.device_id, compress_hyper_4_16_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=12 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 18 (24 rows) @@ -2376,15 +2376,15 @@ LIMIT 10; ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Limit (actual rows=10 loops=1) -> Merge Append (actual rows=10 loops=1) - Sort Key: _hyper_3_13_chunk."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=10 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=1 loops=1) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=1 loops=1) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) (12 rows) @@ -2398,19 +2398,19 @@ ORDER BY time ASC; QUERY PLAN -------------------------------------------------------------------------------------------- Sort (actual rows=27348 loops=1) - Sort Key: _hyper_3_13_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: quicksort -> Append (actual rows=27348 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=7196 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=8 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=7196 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=8 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=10076 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10076 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 18 - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=10076 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10076 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 18 (16 rows) @@ -2425,12 +2425,12 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Result (actual rows=1 loops=1) -> Append (actual rows=1 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=1 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=1 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (never executed) - -> Seq Scan on compress_hyper_4_17_chunk (never executed) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (never executed) - -> Seq Scan on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) (9 rows) -- test interaction with constraint exclusion @@ -2444,18 +2444,18 @@ LIMIT 1; --------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_3_14_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=45575 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=20385 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=20385 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 4615 - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=25 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=25 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 5 - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) (15 rows) @@ -2469,17 +2469,17 @@ LIMIT 1; --------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_3_15_chunk."time" DESC + Sort Key: _hyper_X_X_chunk."time" DESC Sort Method: top-N heapsort -> Append (actual rows=45575 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=20385 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=20385 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 4615 - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=25 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=25 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 5 (15 rows) @@ -2499,13 +2499,13 @@ LIMIT 1; Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=41975 loops=1) Chunks excluded during startup: 1 - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=16785 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=16785 loops=1) Filter: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 8405 - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) Filter: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (13 rows) :PREFIX @@ -2522,13 +2522,13 @@ LIMIT 1; Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=26390 loops=1) Chunks excluded during startup: 1 - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) Filter: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=8400 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=8400 loops=1) Filter: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 16790 - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (13 rows) -- test constraint exclusion @@ -2547,10 +2547,10 @@ LIMIT 1; Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=7195 loops=1) Chunks excluded during startup: 1 - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=7195 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=7195 loops=1) Filter: (("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) AND ("time" > ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 12995 - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=25 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=25 loops=1) Filter: (_ts_meta_min_1 < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 5 (12 rows) @@ -2570,10 +2570,10 @@ LIMIT 1; Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=3595 loops=1) Chunks excluded during startup: 1 - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=3595 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3595 loops=1) Filter: (("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) AND ("time" < ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 21405 - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=25 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=25 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 5 (12 rows) @@ -2586,12 +2586,12 @@ FROM :TEST_TABLE; -------------------------------------------------------------------------------------------- Aggregate (actual rows=1 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (8 rows) :PREFIX @@ -2601,12 +2601,12 @@ FROM :TEST_TABLE; -------------------------------------------------------------------------------------------- Aggregate (actual rows=1 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (8 rows) -- test first/last (doesn't use ordered append yet) @@ -2617,12 +2617,12 @@ FROM :TEST_TABLE; -------------------------------------------------------------------------------------------- Aggregate (actual rows=1 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (8 rows) :PREFIX @@ -2632,12 +2632,12 @@ FROM :TEST_TABLE; -------------------------------------------------------------------------------------------- Aggregate (actual rows=1 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (8 rows) -- test query with time_bucket @@ -2650,16 +2650,16 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_3_13_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (12 rows) -- test query with ORDER BY time_bucket @@ -2672,16 +2672,16 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (time_bucket('@ 1 day'::interval, _hyper_3_13_chunk."time")) + Sort Key: (time_bucket('@ 1 day'::interval, _hyper_X_X_chunk."time")) Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (12 rows) -- test query with ORDER BY time_bucket, device_id @@ -2699,20 +2699,20 @@ LIMIT 1; ------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (time_bucket('@ 1 day'::interval, _hyper_3_13_chunk."time")), _hyper_3_13_chunk.device_id + Sort Key: (time_bucket('@ 1 day'::interval, _hyper_X_X_chunk."time")), _hyper_X_X_chunk.device_id Sort Method: top-N heapsort -> Result (actual rows=27348 loops=1) -> Append (actual rows=27348 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=7196 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=8 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=7196 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=8 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=10076 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10076 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 18 - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=10076 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10076 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 18 (18 rows) @@ -2727,16 +2727,16 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (date_trunc('day'::text, _hyper_3_13_chunk."time")) + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")) Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (12 rows) -- test query with ORDER BY date_trunc @@ -2749,16 +2749,16 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (date_trunc('day'::text, _hyper_3_13_chunk."time")) + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")) Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (12 rows) -- test query with ORDER BY date_trunc, device_id @@ -2776,20 +2776,20 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (date_trunc('day'::text, _hyper_3_13_chunk."time")), _hyper_3_13_chunk.device_id + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")), _hyper_X_X_chunk.device_id Sort Method: top-N heapsort -> Result (actual rows=27348 loops=1) -> Append (actual rows=27348 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=7196 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=8 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=7196 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=8 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=10076 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10076 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 18 - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=10076 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10076 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 18 (18 rows) @@ -2809,15 +2809,15 @@ LIMIT 1; Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=68370 loops=1) Chunks excluded during startup: 0 - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) Filter: ("time" < (now() + '@ 1 mon'::interval)) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) Filter: ("time" < (now() + '@ 1 mon'::interval)) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) Filter: ("time" < (now() + '@ 1 mon'::interval)) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) (15 rows) -- test CTE @@ -2838,15 +2838,15 @@ FROM i; Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=68370 loops=1) Chunks excluded during startup: 0 - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) Filter: ("time" < now()) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) Filter: ("time" < now()) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) Filter: ("time" < now()) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) (15 rows) -- test CTE @@ -2864,19 +2864,19 @@ WHERE time < '2000-02-01'::timestamptz; ------------------------------------------------------------------------------------------------------------------------------------------------------------ Custom Scan (ChunkAppend) on metrics_compressed (actual rows=13674 loops=1) Order: metrics_compressed."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=4 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=4 loops=1) Index Cond: (device_id = 1) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (actual rows=6 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 1) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (actual rows=6 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 1) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) (17 rows) @@ -2897,25 +2897,25 @@ ORDER BY time; InitPlan 1 (returns $0) -> Aggregate (actual rows=1 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk _hyper_3_13_chunk_1 (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk _hyper_3_14_chunk_1 (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk _hyper_3_15_chunk_1 (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" = $0) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=1) Filter: ((_ts_meta_min_1 <= $0) AND (_ts_meta_max_1 >= $0)) Rows Removed by Filter: 20 - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) Filter: ("time" = $0) - -> Seq Scan on compress_hyper_4_17_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_min_1 <= $0) AND (_ts_meta_max_1 >= $0)) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=5 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5 loops=1) Filter: ("time" = $0) Rows Removed by Filter: 4995 - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=5 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=5 loops=1) Filter: ((_ts_meta_min_1 <= $0) AND (_ts_meta_max_1 >= $0)) Rows Removed by Filter: 25 (26 rows) @@ -2933,15 +2933,15 @@ LIMIT ( InitPlan 1 (returns $0) -> Result (actual rows=1 loops=1) -> Sort (actual rows=4 loops=1) - Sort Key: _hyper_3_13_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (13 rows) -- test with ordered guc disabled @@ -2955,15 +2955,15 @@ LIMIT 3; -------------------------------------------------------------------------------------------------- Limit (actual rows=3 loops=1) -> Sort (actual rows=3 loops=1) - Sort Key: _hyper_3_13_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (11 rows) RESET timescaledb.enable_ordered_append; @@ -2976,15 +2976,15 @@ LIMIT 3; -------------------------------------------------------------------------------------------------- Limit (actual rows=3 loops=1) -> Sort (actual rows=3 loops=1) - Sort Key: _hyper_3_13_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (11 rows) -- test with chunk append disabled @@ -2998,15 +2998,15 @@ LIMIT 3; -------------------------------------------------------------------------------------------------- Limit (actual rows=3 loops=1) -> Sort (actual rows=3 loops=1) - Sort Key: _hyper_3_13_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (11 rows) RESET timescaledb.enable_chunk_append; @@ -3019,15 +3019,15 @@ LIMIT 3; -------------------------------------------------------------------------------------------------- Limit (actual rows=3 loops=1) -> Sort (actual rows=3 loops=1) - Sort Key: _hyper_3_13_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (11 rows) \set TEST_TABLE 'metrics_space_compressed' @@ -3045,27 +3045,27 @@ LIMIT 1; -------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_5_19_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (23 rows) -- test DESC for ordered chunks @@ -3078,27 +3078,27 @@ LIMIT 1; -------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_5_27_chunk."time" DESC + Sort Key: _hyper_X_X_chunk."time" DESC Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) (23 rows) -- test query with ORDER BY column not in targetlist @@ -3112,28 +3112,28 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_5_19_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (24 rows) -- ORDER BY may include other columns after time column @@ -3151,21 +3151,21 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=1 loops=1) Order: metrics_space_compressed."time" DESC - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_30_chunk._ts_meta_sequence_num + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num Sort Method: quicksort - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) -> Sort (never executed) - Sort Key: compress_hyper_6_33_chunk._ts_meta_sequence_num - -> Seq Scan on compress_hyper_6_33_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) -> Sort (never executed) - Sort Key: compress_hyper_6_36_chunk._ts_meta_sequence_num - -> Seq Scan on compress_hyper_6_36_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) (19 rows) @@ -3184,21 +3184,21 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=1 loops=1) Order: metrics_space_compressed."time" DESC - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_30_chunk._ts_meta_sequence_num + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num Sort Method: quicksort - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) -> Sort (never executed) - Sort Key: compress_hyper_6_33_chunk._ts_meta_sequence_num - -> Seq Scan on compress_hyper_6_33_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) -> Sort (never executed) - Sort Key: compress_hyper_6_36_chunk._ts_meta_sequence_num - -> Seq Scan on compress_hyper_6_36_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) (19 rows) @@ -3212,28 +3212,28 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_5_27_chunk."time" DESC + Sort Key: _hyper_X_X_chunk."time" DESC Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) (24 rows) -- queries with ORDER BY non-time column shouldn't use ordered append @@ -3246,52 +3246,52 @@ LIMIT 1; ---------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_5_19_chunk.device_id - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk.device_id + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_36_chunk.device_id + Sort Key: compress_hyper_X_X_chunk.device_id Sort Method: quicksort - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_35_chunk.device_id + Sort Key: compress_hyper_X_X_chunk.device_id Sort Method: quicksort - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_34_chunk.device_id + Sort Key: compress_hyper_X_X_chunk.device_id Sort Method: quicksort - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_33_chunk.device_id + Sort Key: compress_hyper_X_X_chunk.device_id Sort Method: quicksort - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_32_chunk.device_id + Sort Key: compress_hyper_X_X_chunk.device_id Sort Method: quicksort - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_31_chunk.device_id + Sort Key: compress_hyper_X_X_chunk.device_id Sort Method: quicksort - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_30_chunk.device_id + Sort Key: compress_hyper_X_X_chunk.device_id Sort Method: quicksort - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_29_chunk.device_id + Sort Key: compress_hyper_X_X_chunk.device_id Sort Method: quicksort - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_28_chunk.device_id + Sort Key: compress_hyper_X_X_chunk.device_id Sort Method: quicksort - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (48 rows) -- time column must be primary sort order @@ -3307,45 +3307,45 @@ LIMIT 1; ------------------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_5_25_chunk.device_id, _hyper_5_25_chunk."time" - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk.device_id, _hyper_X_X_chunk."time" + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_30_chunk.device_id, compress_hyper_6_30_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_29_chunk.device_id, compress_hyper_6_29_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_36_chunk.device_id, compress_hyper_6_36_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_32_chunk.device_id, compress_hyper_6_32_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_35_chunk.device_id, compress_hyper_6_35_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 8 - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_33_chunk.device_id, compress_hyper_6_33_chunk._ts_meta_sequence_num DESC + Sort Key: compress_hyper_X_X_chunk.device_id, compress_hyper_X_X_chunk._ts_meta_sequence_num DESC Sort Method: quicksort - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) (42 rows) @@ -3364,15 +3364,15 @@ LIMIT 10; ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Limit (actual rows=10 loops=1) -> Merge Append (actual rows=10 loops=1) - Sort Key: _hyper_5_25_chunk."time" - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=1 loops=1) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=10 loops=1) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=1 loops=1) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) (12 rows) @@ -3386,28 +3386,28 @@ ORDER BY time ASC; QUERY PLAN ------------------------------------------------------------------------------------------- Sort (actual rows=27348 loops=1) - Sort Key: _hyper_5_19_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: quicksort -> Append (actual rows=27348 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 8 - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 12 (25 rows) @@ -3422,24 +3422,24 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Result (actual rows=1 loops=1) -> Append (actual rows=1 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=1 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=1 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (never executed) - -> Seq Scan on compress_hyper_6_35_chunk (never executed) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (never executed) - -> Seq Scan on compress_hyper_6_34_chunk (never executed) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (never executed) - -> Seq Scan on compress_hyper_6_33_chunk (never executed) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (never executed) - -> Seq Scan on compress_hyper_6_32_chunk (never executed) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (never executed) - -> Seq Scan on compress_hyper_6_31_chunk (never executed) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (never executed) - -> Seq Scan on compress_hyper_6_30_chunk (never executed) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (never executed) - -> Seq Scan on compress_hyper_6_29_chunk (never executed) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (never executed) - -> Seq Scan on compress_hyper_6_28_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) (21 rows) -- test interaction with constraint exclusion @@ -3453,38 +3453,38 @@ LIMIT 1; --------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_5_22_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=45575 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=4077 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=4077 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 923 - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=5 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=5 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 1 - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=12231 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=12231 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 2769 - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=15 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=15 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 3 - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=4077 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=4077 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 923 - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=5 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=5 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 1 - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) (35 rows) @@ -3498,37 +3498,37 @@ LIMIT 1; --------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_5_27_chunk."time" DESC + Sort Key: _hyper_X_X_chunk."time" DESC Sort Method: top-N heapsort -> Append (actual rows=45575 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=4077 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=4077 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 923 - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=5 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=5 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 1 - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=12231 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=12231 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 2769 - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=15 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=15 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 3 - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=4077 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=4077 loops=1) Filter: ("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 923 - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=5 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=5 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 1 (35 rows) @@ -3548,41 +3548,41 @@ LIMIT 1; Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=41975 loops=1) -> Merge Append (actual rows=0 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 3598 - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 10794 - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 3598 - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) -> Merge Append (actual rows=16785 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=3357 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3357 loops=1) Filter: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 1681 - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=10071 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10071 loops=1) Filter: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 5043 - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=3357 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3357 loops=1) Filter: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 1681 - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) -> Merge Append (actual rows=25190 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) Filter: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" > ('2000-01-08'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (41 rows) :PREFIX @@ -3599,41 +3599,41 @@ LIMIT 1; Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=26390 loops=1) -> Merge Append (actual rows=17990 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) Filter: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) -> Merge Append (actual rows=8400 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=1680 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1680 loops=1) Filter: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 3358 - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=5040 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5040 loops=1) Filter: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 10074 - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=1680 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1680 loops=1) Filter: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 3358 - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) -> Merge Append (actual rows=0 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 5038 - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 15114 - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" < ('2000-01-08'::cstring)::timestamp with time zone) Rows Removed by Filter: 5038 - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (41 rows) -- test constraint exclusion @@ -3652,38 +3652,38 @@ LIMIT 1; Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=7195 loops=1) -> Merge Append (actual rows=0 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: (("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) AND ("time" > ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 3598 - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (_ts_meta_min_1 < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: (("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) AND ("time" > ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 10794 - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) Filter: (_ts_meta_min_1 < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: (("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) AND ("time" > ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 3598 - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (_ts_meta_min_1 < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) -> Merge Append (actual rows=7195 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=1439 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1439 loops=1) Filter: (("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) AND ("time" > ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 2599 - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=5 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=5 loops=1) Filter: (_ts_meta_min_1 < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 1 - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=4317 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=4317 loops=1) Filter: (("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) AND ("time" > ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 7797 - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=15 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=15 loops=1) Filter: (_ts_meta_min_1 < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 3 - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=1439 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1439 loops=1) Filter: (("time" < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) AND ("time" > ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 2599 - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=5 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=5 loops=1) Filter: (_ts_meta_min_1 < 'Mon Jan 10 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 1 (40 rows) @@ -3703,39 +3703,39 @@ LIMIT 1; Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=3595 loops=1) -> Merge Append (actual rows=3595 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=719 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=719 loops=1) Filter: (("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) AND ("time" < ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 4281 - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=5 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=5 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 1 - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=2157 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=2157 loops=1) Filter: (("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) AND ("time" < ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 12843 - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=15 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=15 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 3 - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=719 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=719 loops=1) Filter: (("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) AND ("time" < ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 4281 - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=5 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=5 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 1 -> Merge Append (actual rows=0 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: (("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) AND ("time" < ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 5038 - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: (("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) AND ("time" < ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 15114 - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: (("time" > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) AND ("time" < ('2000-01-08'::cstring)::timestamp with time zone)) Rows Removed by Filter: 5038 - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (_ts_meta_max_1 > 'Fri Jan 07 00:00:00 2000 PST'::timestamp with time zone) (40 rows) @@ -3747,24 +3747,24 @@ FROM :TEST_TABLE; -------------------------------------------------------------------------------------------- Aggregate (actual rows=1 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (20 rows) :PREFIX @@ -3774,24 +3774,24 @@ FROM :TEST_TABLE; -------------------------------------------------------------------------------------------- Aggregate (actual rows=1 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (20 rows) -- test first/last (doesn't use ordered append yet) @@ -3802,24 +3802,24 @@ FROM :TEST_TABLE; -------------------------------------------------------------------------------------------- Aggregate (actual rows=1 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (20 rows) :PREFIX @@ -3829,24 +3829,24 @@ FROM :TEST_TABLE; -------------------------------------------------------------------------------------------- Aggregate (actual rows=1 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (20 rows) -- test query with time_bucket @@ -3859,28 +3859,28 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_5_19_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (24 rows) -- test query with ORDER BY time_bucket @@ -3893,28 +3893,28 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (time_bucket('@ 1 day'::interval, _hyper_5_19_chunk."time")) + Sort Key: (time_bucket('@ 1 day'::interval, _hyper_X_X_chunk."time")) Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (24 rows) -- test query with ORDER BY time_bucket, device_id @@ -3932,30 +3932,30 @@ LIMIT 1; ------------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (time_bucket('@ 1 day'::interval, _hyper_5_25_chunk."time")), _hyper_5_25_chunk.device_id + Sort Key: (time_bucket('@ 1 day'::interval, _hyper_X_X_chunk."time")), _hyper_X_X_chunk.device_id Sort Method: top-N heapsort -> Result (actual rows=27348 loops=1) -> Append (actual rows=27348 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 8 - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) (27 rows) @@ -3969,28 +3969,28 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (date_trunc('day'::text, _hyper_5_19_chunk."time")) + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")) Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (24 rows) -- test query with ORDER BY date_trunc @@ -4003,28 +4003,28 @@ LIMIT 1; -------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (date_trunc('day'::text, _hyper_5_19_chunk."time")) + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")) Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (24 rows) -- test query with ORDER BY date_trunc, device_id @@ -4042,30 +4042,30 @@ LIMIT 1; ------------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: (date_trunc('day'::text, _hyper_5_25_chunk."time")), _hyper_5_25_chunk.device_id + Sort Key: (date_trunc('day'::text, _hyper_X_X_chunk."time")), _hyper_X_X_chunk.device_id Sort Method: top-N heapsort -> Result (actual rows=27348 loops=1) -> Append (actual rows=27348 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) Rows Removed by Filter: 8 - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = ANY ('{1,2}'::integer[])) (27 rows) @@ -4084,35 +4084,35 @@ LIMIT 1; Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=68370 loops=1) -> Merge Append (actual rows=25190 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" < (now() + '@ 1 mon'::interval)) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) Filter: ("time" < (now() + '@ 1 mon'::interval)) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" < (now() + '@ 1 mon'::interval)) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) -> Merge Append (actual rows=25190 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" < (now() + '@ 1 mon'::interval)) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) Filter: ("time" < (now() + '@ 1 mon'::interval)) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" < (now() + '@ 1 mon'::interval)) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) -> Merge Append (actual rows=17990 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < (now() + '@ 1 mon'::interval)) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) Filter: ("time" < (now() + '@ 1 mon'::interval)) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < (now() + '@ 1 mon'::interval)) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) (35 rows) -- test CTE @@ -4133,35 +4133,35 @@ FROM i; Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=68370 loops=1) -> Merge Append (actual rows=25190 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" < now()) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) Filter: ("time" < now()) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" < now()) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) -> Merge Append (actual rows=25190 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" < now()) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) Filter: ("time" < now()) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" < now()) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) -> Merge Append (actual rows=17990 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < now()) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) Filter: ("time" < now()) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < now()) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) (35 rows) -- test CTE @@ -4179,19 +4179,19 @@ WHERE time < '2000-02-01'::timestamptz; ------------------------------------------------------------------------------------------------------------------------------------------------------------ Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=13674 loops=1) Order: metrics_space_compressed."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=4 loops=1) Index Cond: (device_id = 1) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (actual rows=6 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 1) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 1) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) (17 rows) @@ -4211,73 +4211,73 @@ ORDER BY time; InitPlan 1 (returns $0) -> Aggregate (actual rows=1 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk _hyper_5_19_chunk_1 (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk compress_hyper_6_36_chunk_1 (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk _hyper_5_20_chunk_1 (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk compress_hyper_6_35_chunk_1 (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk _hyper_5_21_chunk_1 (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk compress_hyper_6_34_chunk_1 (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk _hyper_5_22_chunk_1 (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk compress_hyper_6_33_chunk_1 (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk _hyper_5_23_chunk_1 (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk compress_hyper_6_32_chunk_1 (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk _hyper_5_24_chunk_1 (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk compress_hyper_6_31_chunk_1 (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk _hyper_5_25_chunk_1 (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk compress_hyper_6_30_chunk_1 (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk _hyper_5_26_chunk_1 (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk compress_hyper_6_29_chunk_1 (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk _hyper_5_27_chunk_1 (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk compress_hyper_6_28_chunk_1 (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk _hyper_X_X_chunk_1 (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) -> Merge Append (actual rows=0 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" = $0) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=1) Filter: ((_ts_meta_min_1 <= $0) AND (_ts_meta_max_1 >= $0)) Rows Removed by Filter: 4 - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" = $0) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=1) Filter: ((_ts_meta_min_1 <= $0) AND (_ts_meta_max_1 >= $0)) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" = $0) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=1) Filter: ((_ts_meta_min_1 <= $0) AND (_ts_meta_max_1 >= $0)) Rows Removed by Filter: 4 -> Merge Append (actual rows=0 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" = $0) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=1) Filter: ((_ts_meta_min_1 <= $0) AND (_ts_meta_max_1 >= $0)) Rows Removed by Filter: 6 - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" = $0) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=1) Filter: ((_ts_meta_min_1 <= $0) AND (_ts_meta_max_1 >= $0)) Rows Removed by Filter: 18 - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=0 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=0 loops=1) Filter: ("time" = $0) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=0 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=1) Filter: ((_ts_meta_min_1 <= $0) AND (_ts_meta_max_1 >= $0)) Rows Removed by Filter: 6 -> Merge Append (actual rows=5 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" = $0) Rows Removed by Filter: 999 - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=1 loops=1) Filter: ((_ts_meta_min_1 <= $0) AND (_ts_meta_max_1 >= $0)) Rows Removed by Filter: 5 - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=3 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3 loops=1) Filter: ("time" = $0) Rows Removed by Filter: 2997 - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=3 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=3 loops=1) Filter: ((_ts_meta_min_1 <= $0) AND (_ts_meta_max_1 >= $0)) Rows Removed by Filter: 15 - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: ("time" = $0) Rows Removed by Filter: 999 - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=1 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=1 loops=1) Filter: ((_ts_meta_min_1 <= $0) AND (_ts_meta_max_1 >= $0)) Rows Removed by Filter: 5 (73 rows) @@ -4295,27 +4295,27 @@ LIMIT ( InitPlan 1 (returns $0) -> Result (actual rows=1 loops=1) -> Sort (actual rows=4 loops=1) - Sort Key: _hyper_5_19_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (25 rows) -- test with ordered guc disabled @@ -4329,27 +4329,27 @@ LIMIT 3; -------------------------------------------------------------------------------------------------- Limit (actual rows=3 loops=1) -> Sort (actual rows=3 loops=1) - Sort Key: _hyper_5_19_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (23 rows) RESET timescaledb.enable_ordered_append; @@ -4362,27 +4362,27 @@ LIMIT 3; -------------------------------------------------------------------------------------------------- Limit (actual rows=3 loops=1) -> Sort (actual rows=3 loops=1) - Sort Key: _hyper_5_19_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (23 rows) -- test with chunk append disabled @@ -4396,27 +4396,27 @@ LIMIT 3; -------------------------------------------------------------------------------------------------- Limit (actual rows=3 loops=1) -> Sort (actual rows=3 loops=1) - Sort Key: _hyper_5_19_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (23 rows) RESET timescaledb.enable_chunk_append; @@ -4429,27 +4429,27 @@ LIMIT 3; -------------------------------------------------------------------------------------------------- Limit (actual rows=3 loops=1) -> Sort (actual rows=3 loops=1) - Sort Key: _hyper_5_19_chunk."time" + Sort Key: _hyper_X_X_chunk."time" Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (23 rows) -- get results for all the queries diff --git a/tsl/test/shared/expected/ordered_append_join-12.out b/tsl/test/shared/expected/ordered_append_join-12.out index 22562dbbf..55a99cc07 100644 --- a/tsl/test/shared/expected/ordered_append_join-12.out +++ b/tsl/test/shared/expected/ordered_append_join-12.out @@ -36,11 +36,11 @@ LIMIT 2; -> Nested Loop (actual rows=2 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" DESC - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Materialize (actual rows=2 loops=1) -> Values Scan on "*VALUES*" (actual rows=2 loops=1) @@ -67,11 +67,11 @@ FROM ( -> Limit (actual rows=2 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=2 loops=1) Order: metrics."time" DESC - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=2 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=2 loops=1) Heap Fetches: 2 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (13 rows) @@ -89,13 +89,13 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" DESC - -> Index Only Scan using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 (12 rows) @@ -112,11 +112,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" DESC - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (9 rows) @@ -142,13 +142,13 @@ FROM generate_series('2000-01-01'::timestamptz, '2000-01-03', '1d') AS g (time) Order: o."time" DESC Chunks excluded during startup: 0 Chunks excluded during runtime: 2 - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk o_1 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o_1 (never executed) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk o_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o_2 (never executed) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk o_3 (actual rows=1 loops=3) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o_3 (actual rows=1 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 3 (16 rows) @@ -175,13 +175,13 @@ FROM generate_series('2000-01-10'::timestamptz, '2000-01-11', '1d') AS g (time) Order: o."time" Chunks excluded during startup: 0 Chunks excluded during runtime: 2 - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk o_1 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o_1 (never executed) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk o_2 (actual rows=1 loops=2) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o_2 (actual rows=1 loops=2) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 2 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk o_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o_3 (never executed) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 (16 rows) @@ -208,13 +208,13 @@ FROM generate_series('2000-01-01'::timestamptz, '2000-01-03', '1d') AS g (time) Order: o."time" DESC Chunks excluded during startup: 0 Chunks excluded during runtime: 2 - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk o_1 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o_1 (never executed) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk o_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o_2 (never executed) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk o_3 (actual rows=1 loops=3) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o_3 (actual rows=1 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Heap Fetches: 3 (16 rows) @@ -260,25 +260,25 @@ ORDER BY o1.time; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=13674 loops=1) Order: o1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o1_1 (actual rows=3598 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=3598 loops=1) Index Cond: ((device_id = 1) AND ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 3598 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o1_2 (actual rows=5038 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_2 (actual rows=5038 loops=1) Index Cond: ((device_id = 1) AND ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 5038 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o1_3 (actual rows=5038 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_3 (actual rows=5038 loops=1) Index Cond: ((device_id = 1) AND ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 5038 -> Materialize (actual rows=13674 loops=1) -> Custom Scan (ChunkAppend) on metrics o2 (actual rows=13674 loops=1) Order: o2."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o2_1 (actual rows=3598 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=3598 loops=1) Index Cond: ((device_id = 2) AND ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 3598 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o2_2 (actual rows=5038 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_2 (actual rows=5038 loops=1) Index Cond: ((device_id = 2) AND ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 5038 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o2_3 (actual rows=5038 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_3 (actual rows=5038 loops=1) Index Cond: ((device_id = 2) AND ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 5038 (25 rows) @@ -303,20 +303,20 @@ LIMIT 10; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=2 loops=1) Order: o1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk o1_1 (actual rows=2 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o1_1 (actual rows=2 loops=1) Index Cond: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 2 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk o1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o1_2 (never executed) Index Cond: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 0 -> Materialize (actual rows=10 loops=1) -> Custom Scan (ChunkAppend) on metrics o2 (actual rows=6 loops=1) Order: o2."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk o2_1 (actual rows=6 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o2_1 (actual rows=6 loops=1) Heap Fetches: 6 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk o2_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o2_2 (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk o2_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o2_3 (never executed) Heap Fetches: 0 (20 rows) @@ -343,23 +343,23 @@ ORDER BY time; -> Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" DESC - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 -> Append (actual rows=1 loops=1) - -> Index Only Scan using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o1 (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1 (actual rows=0 loops=1) Index Cond: ((device_id = 1) AND ("time" = ($0))) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o1_1 (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=0 loops=1) Index Cond: ((device_id = 1) AND ("time" = ($0))) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o1_2 (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_2 (actual rows=1 loops=1) Index Cond: ((device_id = 1) AND ("time" = ($0))) Heap Fetches: 1 (28 rows) @@ -383,25 +383,25 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o1_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Index Cond: (device_id = 1) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_2 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_3 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o2_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o2_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (26 rows) @@ -423,25 +423,25 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o1_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Index Cond: (device_id = 1) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_2 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_3 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o2_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o2_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (26 rows) @@ -483,25 +483,25 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o1_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Index Cond: (device_id = 1) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_2 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_3 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o2_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o2_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (26 rows) @@ -523,25 +523,25 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o1_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Index Cond: (device_id = 1) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_2 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_3 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o2_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o2_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (26 rows) @@ -563,25 +563,25 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o1_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Index Cond: (device_id = 1) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_2 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_3 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o2_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o2_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (26 rows) @@ -604,25 +604,25 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o1_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Index Cond: (device_id = 1) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_2 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_3 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o2_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o2_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (26 rows) @@ -644,25 +644,25 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o1_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Index Cond: (device_id = 1) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_2 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_3 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o2_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o2_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (26 rows) @@ -685,15 +685,15 @@ FROM :TEST_TABLE o1 Rows Removed by Join Filter: 400 -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk o1_2 (never executed) - -> Index Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk o1_3 (never executed) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o1_3 (never executed) -> Materialize (actual rows=500 loops=1) -> Custom Scan (ChunkAppend) on metrics o2 (actual rows=101 loops=1) Order: o2."time" - -> Index Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk o2_1 (actual rows=101 loops=1) - -> Index Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk o2_2 (never executed) - -> Index Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk o2_3 (never executed) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o2_1 (actual rows=101 loops=1) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o2_3 (never executed) (16 rows) -- test JOIN on device_id @@ -711,24 +711,24 @@ LIMIT 100; -> Nested Loop (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=1 loops=1) Order: o1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o1_1 (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=1 loops=1) Index Cond: (device_id = 1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_2 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_3 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 -> Materialize (actual rows=100 loops=1) -> Append (actual rows=100 loops=1) - -> Index Only Scan using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o2 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2 (actual rows=100 loops=1) Index Cond: (device_id = 1) Heap Fetches: 100 - -> Index Only Scan using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o2_1 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_1 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 (24 rows) @@ -751,25 +751,25 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o1_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Index Cond: (device_id = 1) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_2 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_3 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o2_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o2_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (26 rows) @@ -793,13 +793,13 @@ LIMIT 100; Merge Cond: (o3."time" = o1."time") -> Custom Scan (ChunkAppend) on metrics o3 (actual rows=100 loops=1) Order: o3."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o3_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o3_1 (actual rows=100 loops=1) Index Cond: (device_id = 3) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o3_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o3_2 (never executed) Index Cond: (device_id = 3) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o3_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o3_3 (never executed) Index Cond: (device_id = 3) Heap Fetches: 0 -> Materialize (actual rows=100 loops=1) @@ -807,25 +807,25 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o1_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Index Cond: (device_id = 1) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_2 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_3 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o2_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o2_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (40 rows) @@ -855,28 +855,28 @@ LIMIT 2; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" DESC -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_12_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_9_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_6_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Materialize (actual rows=2 loops=1) -> Values Scan on "*VALUES*" (actual rows=2 loops=1) @@ -904,28 +904,28 @@ FROM ( -> Custom Scan (ChunkAppend) on metrics_space (actual rows=2 loops=1) Order: metrics_space."time" DESC -> Merge Append (actual rows=2 loops=1) - Sort Key: _hyper_2_12_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=2 loops=1) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=2 loops=1) Heap Fetches: 2 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_9_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_6_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (31 rows) @@ -943,11 +943,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" DESC - -> Index Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: (device_id = 1) - -> Index Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Filter: (device_id = 1) - -> Index Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Filter: (device_id = 1) (9 rows) @@ -964,28 +964,28 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" DESC -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_12_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_9_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_6_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (27 rows) @@ -1011,35 +1011,35 @@ FROM generate_series('2000-01-01'::timestamptz, '2000-01-03', '1d') AS g (time) Order: o."time" DESC -> Merge Append (actual rows=0 loops=3) Sort Key: o_1."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk o_1 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_1 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk o_2 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_2 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o_3 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_3 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 -> Merge Append (actual rows=0 loops=3) Sort Key: o_4."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk o_4 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_4 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk o_5 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_5 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o_6 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_6 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 -> Merge Append (actual rows=1 loops=3) Sort Key: o_7."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk o_7 (actual rows=1 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_7 (actual rows=1 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 3 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk o_8 (actual rows=1 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_8 (actual rows=1 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 3 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o_9 (actual rows=1 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_9 (actual rows=1 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 3 (38 rows) @@ -1066,35 +1066,35 @@ FROM generate_series('2000-01-10'::timestamptz, '2000-01-11', '1d') AS g (time) Order: o."time" -> Merge Append (actual rows=0 loops=2) Sort Key: o_1."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o_1 (actual rows=0 loops=2) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_1 (actual rows=0 loops=2) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk o_2 (actual rows=0 loops=2) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_2 (actual rows=0 loops=2) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk o_3 (actual rows=0 loops=2) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_3 (actual rows=0 loops=2) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 -> Merge Append (actual rows=1 loops=2) Sort Key: o_4."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o_4 (actual rows=1 loops=2) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_4 (actual rows=1 loops=2) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk o_5 (actual rows=1 loops=2) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_5 (actual rows=1 loops=2) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk o_6 (actual rows=1 loops=2) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_6 (actual rows=1 loops=2) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 2 -> Merge Append (never executed) Sort Key: o_7."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o_7 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_7 (never executed) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk o_8 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_8 (never executed) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk o_9 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_9 (never executed) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 (38 rows) @@ -1121,35 +1121,35 @@ FROM generate_series('2000-01-01'::timestamptz, '2000-01-03', '1d') AS g (time) Order: o."time" DESC -> Merge Append (actual rows=0 loops=3) Sort Key: o_1."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk o_1 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_1 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk o_2 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_2 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o_3 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_3 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Heap Fetches: 0 -> Merge Append (actual rows=0 loops=3) Sort Key: o_4."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk o_4 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_4 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk o_5 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_5 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o_6 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_6 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Heap Fetches: 0 -> Merge Append (actual rows=1 loops=3) Sort Key: o_7."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk o_7 (actual rows=1 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_7 (actual rows=1 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Heap Fetches: 3 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk o_8 (actual rows=1 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_8 (actual rows=1 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Heap Fetches: 3 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o_9 (actual rows=1 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_9 (actual rows=1 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Heap Fetches: 3 (38 rows) @@ -1177,35 +1177,35 @@ FROM generate_series('2000-01-01'::timestamptz, '2000-01-03', '1d') AS g (time) Order: o."time" DESC -> Merge Append (actual rows=0 loops=3) Sort Key: o_1."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk o_1 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_1 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk o_2 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_2 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o_3 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_3 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) Heap Fetches: 0 -> Merge Append (actual rows=0 loops=3) Sort Key: o_4."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk o_4 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_4 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk o_5 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_5 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o_6 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_6 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) Heap Fetches: 0 -> Merge Append (actual rows=0 loops=3) Sort Key: o_7."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk o_7 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_7 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk o_8 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_8 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o_9 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_9 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) Heap Fetches: 0 (38 rows) @@ -1227,25 +1227,25 @@ ORDER BY o1.time; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space o1 (actual rows=13674 loops=1) Order: o1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=3598 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=3598 loops=1) Index Cond: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_2 (actual rows=5038 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (actual rows=5038 loops=1) Index Cond: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o1_3 (actual rows=5038 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (actual rows=5038 loops=1) Index Cond: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) Filter: (device_id = 1) -> Materialize (actual rows=13674 loops=1) -> Custom Scan (ChunkAppend) on metrics_space o2 (actual rows=13674 loops=1) Order: o2."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk o2_1 (actual rows=3598 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=3598 loops=1) Index Cond: ((device_id = 2) AND ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 3598 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk o2_2 (actual rows=5038 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_2 (actual rows=5038 loops=1) Index Cond: ((device_id = 2) AND ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 5038 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk o2_3 (actual rows=5038 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_3 (actual rows=5038 loops=1) Index Cond: ((device_id = 2) AND ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 5038 (25 rows) @@ -1272,24 +1272,24 @@ LIMIT 10; Order: o1."time" -> Merge Append (actual rows=2 loops=1) Sort Key: o1_1."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=2 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=2 loops=1) Index Cond: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk o1_2 (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (actual rows=1 loops=1) Index Cond: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk o1_3 (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (actual rows=1 loops=1) Index Cond: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 1 -> Merge Append (never executed) Sort Key: o1_4."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_4 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_4 (never executed) Index Cond: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk o1_5 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_5 (never executed) Index Cond: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk o1_6 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_6 (never executed) Index Cond: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 0 -> Materialize (actual rows=10 loops=1) @@ -1297,27 +1297,27 @@ LIMIT 10; Order: o2."time" -> Merge Append (actual rows=6 loops=1) Sort Key: o2_1."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o2_1 (actual rows=2 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_1 (actual rows=2 loops=1) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk o2_2 (actual rows=4 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_2 (actual rows=4 loops=1) Heap Fetches: 4 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk o2_3 (actual rows=2 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_3 (actual rows=2 loops=1) Heap Fetches: 2 -> Merge Append (never executed) Sort Key: o2_4."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o2_4 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_4 (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk o2_5 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_5 (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk o2_6 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_6 (never executed) Heap Fetches: 0 -> Merge Append (never executed) Sort Key: o2_7."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o2_7 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_7 (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk o2_8 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_8 (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk o2_9 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_9 (never executed) Heap Fetches: 0 (54 rows) @@ -1345,46 +1345,46 @@ ORDER BY time; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" DESC -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_12_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_9_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_6_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 -> Append (actual rows=1 loops=1) - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_device_id_time_idx on _hyper_2_4_chunk o1 (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o1 (actual rows=0 loops=1) Index Cond: ((device_id = 1) AND ("time" = ($0))) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_device_id_time_idx on _hyper_2_7_chunk o1_1 (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=0 loops=1) Index Cond: ((device_id = 1) AND ("time" = ($0))) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_device_id_time_idx on _hyper_2_10_chunk o1_2 (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o1_2 (actual rows=1 loops=1) Index Cond: ((device_id = 1) AND ("time" = ($0))) Heap Fetches: 1 (52 rows) @@ -1408,22 +1408,22 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_2 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (never executed) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o1_3 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (never executed) Filter: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk o2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk o2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (23 rows) @@ -1445,22 +1445,22 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_2 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (never executed) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o1_3 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (never executed) Filter: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk o2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk o2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (23 rows) @@ -1502,22 +1502,22 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_2 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (never executed) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o1_3 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (never executed) Filter: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk o2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk o2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (23 rows) @@ -1539,22 +1539,22 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_2 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (never executed) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o1_3 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (never executed) Filter: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk o2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk o2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (23 rows) @@ -1576,22 +1576,22 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_2 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (never executed) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o1_3 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (never executed) Filter: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk o2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk o2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (23 rows) @@ -1614,22 +1614,22 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_2 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (never executed) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o1_3 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (never executed) Filter: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk o2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk o2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (23 rows) @@ -1651,22 +1651,22 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_2 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (never executed) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o1_3 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (never executed) Filter: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk o2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk o2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (23 rows) @@ -1691,37 +1691,37 @@ FROM :TEST_TABLE o1 Order: o1."time" -> Merge Append (actual rows=100 loops=1) Sort Key: o1_1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=21 loops=1) - -> Index Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk o1_2 (actual rows=60 loops=1) - -> Index Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk o1_3 (actual rows=21 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=21 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (actual rows=60 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (actual rows=21 loops=1) -> Merge Append (never executed) Sort Key: o1_4."time" - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_4 (never executed) - -> Index Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk o1_5 (never executed) - -> Index Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk o1_6 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_4 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_5 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_6 (never executed) -> Merge Append (never executed) Sort Key: o1_7."time" - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o1_7 (never executed) - -> Index Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk o1_8 (never executed) - -> Index Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk o1_9 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_7 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_8 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_9 (never executed) -> Materialize (actual rows=500 loops=1) -> Custom Scan (ChunkAppend) on metrics_space o2 (actual rows=101 loops=1) Order: o2."time" -> Merge Append (actual rows=101 loops=1) Sort Key: o2_1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o2_1 (actual rows=21 loops=1) - -> Index Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk o2_2 (actual rows=61 loops=1) - -> Index Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk o2_3 (actual rows=21 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_1 (actual rows=21 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_2 (actual rows=61 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_3 (actual rows=21 loops=1) -> Merge Append (never executed) Sort Key: o2_4."time" - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o2_4 (never executed) - -> Index Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk o2_5 (never executed) - -> Index Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk o2_6 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_4 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_5 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_6 (never executed) -> Merge Append (never executed) Sort Key: o2_7."time" - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o2_7 (never executed) - -> Index Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk o2_8 (never executed) - -> Index Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk o2_9 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_7 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_8 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_9 (never executed) (40 rows) -- test JOIN on device_id @@ -1739,21 +1739,21 @@ LIMIT 100; -> Nested Loop (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space o1 (actual rows=1 loops=1) Order: o1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=1 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=1 loops=1) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_2 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (never executed) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o1_3 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (never executed) Filter: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Append (actual rows=100 loops=1) - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_device_id_time_idx on _hyper_2_10_chunk o2 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2 (actual rows=100 loops=1) Index Cond: (device_id = 1) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_device_id_time_idx on _hyper_2_4_chunk o2_1 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_1 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_device_id_time_idx on _hyper_2_7_chunk o2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 (21 rows) @@ -1776,22 +1776,22 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_2 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (never executed) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o1_3 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (never executed) Filter: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk o2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk o2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (23 rows) @@ -1815,33 +1815,33 @@ LIMIT 100; Merge Cond: (o3."time" = o1."time") -> Custom Scan (ChunkAppend) on metrics_space o3 (actual rows=100 loops=1) Order: o3."time" - -> Index Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk o3_1 (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o3_1 (actual rows=100 loops=1) Filter: (device_id = 3) - -> Index Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk o3_2 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o3_2 (never executed) Filter: (device_id = 3) - -> Index Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk o3_3 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o3_3 (never executed) Filter: (device_id = 3) -> Materialize (actual rows=100 loops=1) -> Merge Join (actual rows=100 loops=1) Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_2 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (never executed) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o1_3 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (never executed) Filter: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk o2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk o2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (34 rows) @@ -1868,16 +1868,16 @@ LIMIT 2; -------------------------------------------------------------------------------------------------------- Limit (actual rows=2 loops=1) -> Sort (actual rows=2 loops=1) - Sort Key: _hyper_3_15_chunk."time" DESC + Sort Key: _hyper_X_X_chunk."time" DESC Sort Method: top-N heapsort -> Nested Loop (actual rows=136740 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) -> Materialize (actual rows=2 loops=68370) -> Values Scan on "*VALUES*" (actual rows=2 loops=1) (14 rows) @@ -1902,16 +1902,16 @@ FROM ( -> Subquery Scan on l (actual rows=2 loops=1) -> Limit (actual rows=2 loops=1) -> Sort (actual rows=2 loops=1) - Sort Key: _hyper_3_15_chunk."time" DESC + Sort Key: _hyper_X_X_chunk."time" DESC Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) (16 rows) -- test plan with best index is chosen @@ -1928,14 +1928,14 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=1 loops=1) Order: metrics_compressed."time" DESC - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=1 loops=1) - -> Index Scan using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (never executed) - -> Index Scan using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (never executed) - -> Index Scan using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) (12 rows) @@ -1950,15 +1950,15 @@ LIMIT 1; -------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_3_15_chunk."time" DESC + Sort Key: _hyper_X_X_chunk."time" DESC Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) (11 rows) -- test LATERAL with correlated query @@ -1985,18 +1985,18 @@ FROM generate_series('2000-01-01'::timestamptz, '2000-01-03', '1d') AS g (time) -> Custom Scan (ChunkAppend) on metrics_compressed o (actual rows=3600 loops=3) Chunks excluded during startup: 0 Chunks excluded during runtime: 2 - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_1 (never executed) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_4_16_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o_2 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_2 (never executed) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_4_17_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o_3 (actual rows=3600 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_3 (actual rows=3600 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 4063 - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=8 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=8 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 12 (23 rows) @@ -2025,19 +2025,19 @@ FROM generate_series('2000-01-10'::timestamptz, '2000-01-11', '1d') AS g (time) -> Custom Scan (ChunkAppend) on metrics_compressed o (actual rows=3600 loops=2) Chunks excluded during startup: 0 Chunks excluded during runtime: 2 - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_1 (never executed) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_4_18_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o_2 (actual rows=3600 loops=2) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_2 (actual rows=3600 loops=2) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 3900 - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=8 loops=2) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=8 loops=2) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 22 - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o_3 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_3 (never executed) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_4_16_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) (23 rows) @@ -2065,18 +2065,18 @@ FROM generate_series('2000-01-01'::timestamptz, '2000-01-03', '1d') AS g (time) -> Custom Scan (ChunkAppend) on metrics_compressed o (actual rows=3600 loops=3) Chunks excluded during startup: 0 Chunks excluded during runtime: 2 - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_1 (never executed) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) - -> Seq Scan on compress_hyper_4_16_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o_2 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_2 (never executed) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) - -> Seq Scan on compress_hyper_4_17_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o_3 (actual rows=3600 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_3 (actual rows=3600 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Rows Removed by Filter: 4063 - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=8 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=8 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 12 (23 rows) @@ -2124,37 +2124,37 @@ ORDER BY o1.time; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_compressed o1 (actual rows=13674 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=3598 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=4 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=4 loops=1) Index Cond: (device_id = 1) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (actual rows=5038 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (actual rows=6 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 1) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (actual rows=5038 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (actual rows=6 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 1) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) -> Materialize (actual rows=13674 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed o2 (actual rows=13674 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2_1 (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=3598 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=4 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=4 loops=1) Index Cond: (device_id = 2) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_2 (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (actual rows=5038 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (actual rows=6 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) Index Cond: (device_id = 2) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_3 (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (actual rows=5038 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (actual rows=6 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) Index Cond: (device_id = 2) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) (37 rows) @@ -2181,14 +2181,14 @@ LIMIT 10; Sort Key: o1."time" Sort Method: quicksort -> Append (actual rows=26390 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1 (actual rows=17990 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1 (actual rows=17990 loops=1) Filter: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) Filter: (_ts_meta_min_1 < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_1 (actual rows=8400 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=8400 loops=1) Filter: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 1790 - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=15 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=15 loops=1) Filter: (_ts_meta_min_1 < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 15 -> Materialize (actual rows=10 loops=1) @@ -2197,12 +2197,12 @@ LIMIT 10; Sort Method: quicksort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2 (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_1 (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_2 (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2 (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (29 rows) -- test join against max query @@ -2220,29 +2220,29 @@ ORDER BY time; QUERY PLAN ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Merge Join (actual rows=1 loops=1) - Merge Cond: (o1."time" = (max(_hyper_3_13_chunk."time"))) + Merge Cond: (o1."time" = (max(_hyper_X_X_chunk."time"))) -> Custom Scan (ChunkAppend) on metrics_compressed o1 (actual rows=13674 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=3598 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=3598 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=4 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (actual rows=5038 loops=1) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (actual rows=5038 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (actual rows=5038 loops=1) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (actual rows=5038 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 1) -> Sort (actual rows=1 loops=1) - Sort Key: (max(_hyper_3_13_chunk."time")) + Sort Key: (max(_hyper_X_X_chunk."time")) Sort Method: quicksort -> Aggregate (actual rows=1 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=30 loops=1) (24 rows) RESET enable_hashjoin; @@ -2264,26 +2264,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) (26 rows) @@ -2304,26 +2304,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) (26 rows) @@ -2364,26 +2364,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) (26 rows) @@ -2404,26 +2404,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) (26 rows) @@ -2444,26 +2444,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) (26 rows) @@ -2485,26 +2485,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) (26 rows) @@ -2525,26 +2525,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) (26 rows) @@ -2566,21 +2566,21 @@ FROM :TEST_TABLE o1 -> Hash Join (actual rows=68370 loops=1) Hash Cond: ((o1.device_id = o2.device_id) AND (o1."time" = o2."time")) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1 (actual rows=17990 loops=1) - -> Index Scan using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_1 (actual rows=25190 loops=1) - -> Index Scan using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_2 (actual rows=25190 loops=1) - -> Index Scan using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1 (actual rows=17990 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=25190 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (actual rows=25190 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=30 loops=1) -> Hash (actual rows=68370 loops=1) Buckets: 131072 Batches: 1 -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2 (actual rows=17990 loops=1) - -> Index Scan using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_1 (actual rows=25190 loops=1) - -> Index Scan using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_2 (actual rows=25190 loops=1) - -> Index Scan using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2 (actual rows=17990 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=25190 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (actual rows=25190 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=30 loops=1) (22 rows) -- test JOIN on device_id @@ -2598,25 +2598,25 @@ LIMIT 100; -> Nested Loop (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed o1 (actual rows=1 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=1 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=1 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Append (actual rows=100 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2 (actual rows=100 loops=1) - -> Index Scan using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2 (actual rows=100 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_1 (never executed) - -> Index Scan using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (never executed) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_2 (never executed) - -> Index Scan using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 1) (24 rows) @@ -2638,26 +2638,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) (26 rows) @@ -2680,40 +2680,40 @@ LIMIT 100; Merge Cond: (o3."time" = o1."time") -> Custom Scan (ChunkAppend) on metrics_compressed o3 (actual rows=100 loops=1) Order: o3."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o3_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_2 (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o3_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_2 (actual rows=1 loops=1) Index Cond: (device_id = 3) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o3_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_2 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o3_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_2 (never executed) Index Cond: (device_id = 3) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o3_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_2 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o3_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_2 (never executed) Index Cond: (device_id = 3) -> Materialize (actual rows=100 loops=1) -> Merge Join (actual rows=100 loops=1) Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) (40 rows) @@ -2739,28 +2739,28 @@ LIMIT 2; -------------------------------------------------------------------------------------------------------- Limit (actual rows=2 loops=1) -> Sort (actual rows=2 loops=1) - Sort Key: _hyper_5_27_chunk."time" DESC + Sort Key: _hyper_X_X_chunk."time" DESC Sort Method: top-N heapsort -> Nested Loop (actual rows=136740 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) -> Materialize (actual rows=2 loops=68370) -> Values Scan on "*VALUES*" (actual rows=2 loops=1) (26 rows) @@ -2785,28 +2785,28 @@ FROM ( -> Subquery Scan on l (actual rows=2 loops=1) -> Limit (actual rows=2 loops=1) -> Sort (actual rows=2 loops=1) - Sort Key: _hyper_5_27_chunk."time" DESC + Sort Key: _hyper_X_X_chunk."time" DESC Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) (28 rows) -- test plan with best index is chosen @@ -2823,21 +2823,21 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=1 loops=1) Order: metrics_space_compressed."time" DESC - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_30_chunk._ts_meta_sequence_num + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num Sort Method: quicksort - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) -> Sort (never executed) - Sort Key: compress_hyper_6_33_chunk._ts_meta_sequence_num - -> Seq Scan on compress_hyper_6_33_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) -> Sort (never executed) - Sort Key: compress_hyper_6_36_chunk._ts_meta_sequence_num - -> Seq Scan on compress_hyper_6_36_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) (19 rows) @@ -2852,27 +2852,27 @@ LIMIT 1; -------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_5_27_chunk."time" DESC + Sort Key: _hyper_X_X_chunk."time" DESC Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) (23 rows) -- test LATERAL with correlated query @@ -2898,54 +2898,54 @@ FROM generate_series('2000-01-01'::timestamptz, '2000-01-03', '1d') AS g (time) Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_space_compressed o (actual rows=3600 loops=3) -> Merge Append (actual rows=0 loops=3) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk o_1 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_1 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o_2 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_2 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 18 - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o_3 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_3 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 -> Merge Append (actual rows=0 loops=3) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk o_4 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_4 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o_5 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_5 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 18 - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o_6 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_6 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 -> Merge Append (actual rows=3600 loops=3) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk o_7 (actual rows=720 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_7 (actual rows=720 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 813 - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=2 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=2 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 2 - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o_8 (actual rows=2160 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_8 (actual rows=2160 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 2438 - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=5 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=5 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 7 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o_9 (actual rows=720 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_9 (actual rows=720 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 813 - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=2 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=2 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 2 (58 rows) @@ -2973,54 +2973,54 @@ FROM generate_series('2000-01-10'::timestamptz, '2000-01-11', '1d') AS g (time) Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_space_compressed o (actual rows=3600 loops=2) -> Merge Append (actual rows=0 loops=2) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o_1 (actual rows=0 loops=2) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_1 (actual rows=0 loops=2) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=0 loops=2) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=2) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 4 - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o_2 (actual rows=0 loops=2) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_2 (actual rows=0 loops=2) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=0 loops=2) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=2) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk o_3 (actual rows=0 loops=2) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_3 (actual rows=0 loops=2) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=0 loops=2) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=2) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 4 -> Merge Append (actual rows=3600 loops=2) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o_4 (actual rows=720 loops=2) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_4 (actual rows=720 loops=2) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 780 - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=2 loops=2) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=2 loops=2) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 4 - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o_5 (actual rows=2160 loops=2) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_5 (actual rows=2160 loops=2) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 2340 - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=4 loops=2) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=2) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 14 - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk o_6 (actual rows=720 loops=2) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_6 (actual rows=720 loops=2) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 780 - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=2 loops=2) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=2 loops=2) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 4 -> Merge Append (actual rows=0 loops=2) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o_7 (actual rows=0 loops=2) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_7 (actual rows=0 loops=2) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=0 loops=2) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=2) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o_8 (actual rows=0 loops=2) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_8 (actual rows=0 loops=2) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=0 loops=2) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=2) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 18 - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk o_9 (actual rows=0 loops=2) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_9 (actual rows=0 loops=2) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=0 loops=2) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=2) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 (58 rows) @@ -3048,54 +3048,54 @@ FROM generate_series('2000-01-01'::timestamptz, '2000-01-03', '1d') AS g (time) Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_space_compressed o (actual rows=3600 loops=3) -> Merge Append (actual rows=0 loops=3) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk o_1 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_1 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o_2 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_2 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 18 - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o_3 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_3 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 -> Merge Append (actual rows=0 loops=3) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk o_4 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_4 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o_5 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_5 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 18 - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o_6 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_6 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 -> Merge Append (actual rows=3600 loops=3) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk o_7 (actual rows=720 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_7 (actual rows=720 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Rows Removed by Filter: 813 - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=2 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=2 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 2 - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o_8 (actual rows=2160 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_8 (actual rows=2160 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Rows Removed by Filter: 2438 - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=5 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=5 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 7 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o_9 (actual rows=720 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_9 (actual rows=720 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Rows Removed by Filter: 813 - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=2 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=2 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 2 (58 rows) @@ -3124,54 +3124,54 @@ FROM generate_series('2000-01-01'::timestamptz, '2000-01-03', '1d') AS g (time) Sort Method: quicksort -> Custom Scan (ChunkAppend) on metrics_space_compressed o (actual rows=0 loops=3) -> Merge Append (actual rows=0 loops=3) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk o_1 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_1 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o_2 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_2 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 18 - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o_3 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_3 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 -> Merge Append (actual rows=0 loops=3) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk o_4 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_4 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o_5 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_5 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 18 - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o_6 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_6 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 -> Merge Append (actual rows=0 loops=3) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk o_7 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_7 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) Rows Removed by Filter: 1533 - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=2 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=2 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 2 - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o_8 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_8 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) Rows Removed by Filter: 4598 - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=5 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=5 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 7 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o_9 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_9 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) Rows Removed by Filter: 1533 - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=2 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=2 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 2 (58 rows) @@ -3193,37 +3193,37 @@ ORDER BY o1.time; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space_compressed o1 (actual rows=13674 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=3598 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=4 loops=1) Index Cond: (device_id = 1) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_2 (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (actual rows=5038 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (actual rows=6 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 1) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_3 (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (actual rows=5038 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 1) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) -> Materialize (actual rows=13674 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed o2 (actual rows=13674 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o2_1 (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=3598 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=4 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=4 loops=1) Index Cond: (device_id = 2) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o2_2 (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (actual rows=5038 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (actual rows=6 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 2) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o2_3 (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (actual rows=5038 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (actual rows=6 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 2) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) (37 rows) @@ -3250,34 +3250,34 @@ LIMIT 10; Sort Key: o1."time" Sort Method: quicksort -> Append (actual rows=26390 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1 (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1 (actual rows=3598 loops=1) Filter: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (_ts_meta_min_1 < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o1_1 (actual rows=10794 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=10794 loops=1) Filter: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) Filter: (_ts_meta_min_1 < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk o1_2 (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (actual rows=3598 loops=1) Filter: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (_ts_meta_min_1 < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_3 (actual rows=1680 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (actual rows=1680 loops=1) Filter: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 358 - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=3 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=3 loops=1) Filter: (_ts_meta_min_1 < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 3 - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o1_4 (actual rows=5040 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_4 (actual rows=5040 loops=1) Filter: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 1074 - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=9 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=9 loops=1) Filter: (_ts_meta_min_1 < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 9 - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk o1_5 (actual rows=1680 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_5 (actual rows=1680 loops=1) Filter: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 358 - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=3 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=3 loops=1) Filter: (_ts_meta_min_1 < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 3 -> Materialize (actual rows=10 loops=1) @@ -3286,24 +3286,24 @@ LIMIT 10; Sort Method: quicksort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o2 (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk compress_hyper_6_36_chunk_1 (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o2_1 (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk compress_hyper_6_35_chunk_1 (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk o2_2 (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk compress_hyper_6_34_chunk_1 (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o2_3 (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk compress_hyper_6_33_chunk_1 (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o2_4 (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk compress_hyper_6_32_chunk_1 (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk o2_5 (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk compress_hyper_6_31_chunk_1 (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o2_6 (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o2_7 (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk o2_8 (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2 (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_4 (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_5 (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_6 (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_7 (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_8 (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (61 rows) -- test join against max query @@ -3321,41 +3321,41 @@ ORDER BY time; QUERY PLAN ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Merge Join (actual rows=1 loops=1) - Merge Cond: (o1."time" = (max(_hyper_5_19_chunk."time"))) + Merge Cond: (o1."time" = (max(_hyper_X_X_chunk."time"))) -> Custom Scan (ChunkAppend) on metrics_space_compressed o1 (actual rows=13674 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=3598 loops=1) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=3598 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=4 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_2 (actual rows=5038 loops=1) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (actual rows=5038 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_3 (actual rows=5038 loops=1) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (actual rows=5038 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 1) -> Sort (actual rows=1 loops=1) - Sort Key: (max(_hyper_5_19_chunk."time")) + Sort Key: (max(_hyper_X_X_chunk."time")) Sort Method: quicksort -> Aggregate (actual rows=1 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk compress_hyper_6_36_chunk_1 (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk compress_hyper_6_33_chunk_1 (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk compress_hyper_6_30_chunk_1 (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (36 rows) RESET enable_hashjoin; @@ -3377,26 +3377,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) (26 rows) @@ -3417,26 +3417,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) (26 rows) @@ -3477,26 +3477,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) (26 rows) @@ -3517,26 +3517,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) (26 rows) @@ -3557,26 +3557,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) (26 rows) @@ -3598,26 +3598,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) (26 rows) @@ -3638,26 +3638,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) (26 rows) @@ -3679,45 +3679,45 @@ FROM :TEST_TABLE o1 -> Hash Join (actual rows=68370 loops=1) Hash Cond: ((o1.device_id = o2.device_id) AND (o1."time" = o2."time")) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1 (actual rows=3598 loops=1) - -> Index Scan using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o1_1 (actual rows=10794 loops=1) - -> Index Scan using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk o1_2 (actual rows=3598 loops=1) - -> Index Scan using compress_hyper_6_34_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_3 (actual rows=5038 loops=1) - -> Index Scan using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o1_4 (actual rows=15114 loops=1) - -> Index Scan using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk o1_5 (actual rows=5038 loops=1) - -> Index Scan using compress_hyper_6_31_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_6 (actual rows=5038 loops=1) - -> Index Scan using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o1_7 (actual rows=15114 loops=1) - -> Index Scan using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk o1_8 (actual rows=5038 loops=1) - -> Index Scan using compress_hyper_6_28_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1 (actual rows=3598 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=10794 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (actual rows=3598 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (actual rows=5038 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_4 (actual rows=15114 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_5 (actual rows=5038 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_6 (actual rows=5038 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_7 (actual rows=15114 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_8 (actual rows=5038 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) -> Hash (actual rows=68370 loops=1) Buckets: 131072 Batches: 1 -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o2 (actual rows=3598 loops=1) - -> Index Scan using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk compress_hyper_6_36_chunk_1 (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o2_1 (actual rows=10794 loops=1) - -> Index Scan using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk compress_hyper_6_35_chunk_1 (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk o2_2 (actual rows=3598 loops=1) - -> Index Scan using compress_hyper_6_34_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_34_chunk compress_hyper_6_34_chunk_1 (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o2_3 (actual rows=5038 loops=1) - -> Index Scan using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk compress_hyper_6_33_chunk_1 (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o2_4 (actual rows=15114 loops=1) - -> Index Scan using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk compress_hyper_6_32_chunk_1 (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk o2_5 (actual rows=5038 loops=1) - -> Index Scan using compress_hyper_6_31_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_31_chunk compress_hyper_6_31_chunk_1 (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o2_6 (actual rows=5038 loops=1) - -> Index Scan using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk compress_hyper_6_30_chunk_1 (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o2_7 (actual rows=15114 loops=1) - -> Index Scan using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk compress_hyper_6_29_chunk_1 (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk o2_8 (actual rows=5038 loops=1) - -> Index Scan using compress_hyper_6_28_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_28_chunk compress_hyper_6_28_chunk_1 (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2 (actual rows=3598 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=10794 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (actual rows=3598 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (actual rows=5038 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_4 (actual rows=15114 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_5 (actual rows=5038 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_6 (actual rows=5038 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_7 (actual rows=15114 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_8 (actual rows=5038 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) (46 rows) -- test JOIN on device_id @@ -3735,25 +3735,25 @@ LIMIT 100; -> Nested Loop (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed o1 (actual rows=1 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=1 loops=1) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=1 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Append (actual rows=100 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o2 (actual rows=100 loops=1) - -> Index Scan using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk compress_hyper_6_30_chunk_1 (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2 (actual rows=100 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o2_1 (never executed) - -> Index Scan using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk compress_hyper_6_36_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (never executed) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o2_2 (never executed) - -> Index Scan using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk compress_hyper_6_33_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 1) (24 rows) @@ -3775,26 +3775,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) (26 rows) @@ -3817,40 +3817,40 @@ LIMIT 100; Merge Cond: (o3."time" = o1."time") -> Custom Scan (ChunkAppend) on metrics_space_compressed o3 (actual rows=100 loops=1) Order: o3."time" - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk o3_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_34_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_34_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o3_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 3) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk o3_2 (never executed) - -> Index Scan Backward using compress_hyper_6_31_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_31_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o3_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 3) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk o3_3 (never executed) - -> Index Scan Backward using compress_hyper_6_28_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_28_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o3_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 3) -> Materialize (actual rows=100 loops=1) -> Merge Join (actual rows=100 loops=1) Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) (40 rows) diff --git a/tsl/test/shared/expected/ordered_append_join-13.out b/tsl/test/shared/expected/ordered_append_join-13.out index cbc2bf6d4..a06c86c68 100644 --- a/tsl/test/shared/expected/ordered_append_join-13.out +++ b/tsl/test/shared/expected/ordered_append_join-13.out @@ -36,11 +36,11 @@ LIMIT 2; -> Nested Loop (actual rows=2 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" DESC - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Materialize (actual rows=2 loops=1) -> Values Scan on "*VALUES*" (actual rows=2 loops=1) @@ -67,11 +67,11 @@ FROM ( -> Limit (actual rows=2 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=2 loops=1) Order: metrics."time" DESC - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=2 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=2 loops=1) Heap Fetches: 2 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (13 rows) @@ -89,13 +89,13 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" DESC - -> Index Only Scan using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 (12 rows) @@ -112,11 +112,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" DESC - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (9 rows) @@ -142,13 +142,13 @@ FROM generate_series('2000-01-01'::timestamptz, '2000-01-03', '1d') AS g (time) Order: o."time" DESC Chunks excluded during startup: 0 Chunks excluded during runtime: 2 - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk o_1 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o_1 (never executed) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk o_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o_2 (never executed) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk o_3 (actual rows=1 loops=3) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o_3 (actual rows=1 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 3 (16 rows) @@ -175,13 +175,13 @@ FROM generate_series('2000-01-10'::timestamptz, '2000-01-11', '1d') AS g (time) Order: o."time" Chunks excluded during startup: 0 Chunks excluded during runtime: 2 - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk o_1 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o_1 (never executed) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk o_2 (actual rows=1 loops=2) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o_2 (actual rows=1 loops=2) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 2 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk o_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o_3 (never executed) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 (16 rows) @@ -208,13 +208,13 @@ FROM generate_series('2000-01-01'::timestamptz, '2000-01-03', '1d') AS g (time) Order: o."time" DESC Chunks excluded during startup: 0 Chunks excluded during runtime: 2 - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk o_1 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o_1 (never executed) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk o_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o_2 (never executed) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk o_3 (actual rows=1 loops=3) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o_3 (actual rows=1 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Heap Fetches: 3 (16 rows) @@ -260,25 +260,25 @@ ORDER BY o1.time; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=13674 loops=1) Order: o1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o1_1 (actual rows=3598 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=3598 loops=1) Index Cond: ((device_id = 1) AND ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 3598 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o1_2 (actual rows=5038 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_2 (actual rows=5038 loops=1) Index Cond: ((device_id = 1) AND ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 5038 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o1_3 (actual rows=5038 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_3 (actual rows=5038 loops=1) Index Cond: ((device_id = 1) AND ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 5038 -> Materialize (actual rows=13674 loops=1) -> Custom Scan (ChunkAppend) on metrics o2 (actual rows=13674 loops=1) Order: o2."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o2_1 (actual rows=3598 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=3598 loops=1) Index Cond: ((device_id = 2) AND ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 3598 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o2_2 (actual rows=5038 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_2 (actual rows=5038 loops=1) Index Cond: ((device_id = 2) AND ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 5038 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o2_3 (actual rows=5038 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_3 (actual rows=5038 loops=1) Index Cond: ((device_id = 2) AND ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 5038 (25 rows) @@ -303,20 +303,20 @@ LIMIT 10; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=2 loops=1) Order: o1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk o1_1 (actual rows=2 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o1_1 (actual rows=2 loops=1) Index Cond: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 2 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk o1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o1_2 (never executed) Index Cond: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 0 -> Materialize (actual rows=10 loops=1) -> Custom Scan (ChunkAppend) on metrics o2 (actual rows=6 loops=1) Order: o2."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk o2_1 (actual rows=6 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o2_1 (actual rows=6 loops=1) Heap Fetches: 6 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk o2_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o2_2 (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk o2_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o2_3 (never executed) Heap Fetches: 0 (20 rows) @@ -343,23 +343,23 @@ ORDER BY time; -> Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics (actual rows=1 loops=1) Order: metrics."time" DESC - -> Index Only Scan using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 -> Append (actual rows=1 loops=1) - -> Index Only Scan using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o1_1 (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=0 loops=1) Index Cond: ((device_id = 1) AND ("time" = ($0))) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o1_2 (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_2 (actual rows=0 loops=1) Index Cond: ((device_id = 1) AND ("time" = ($0))) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o1_3 (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_3 (actual rows=1 loops=1) Index Cond: ((device_id = 1) AND ("time" = ($0))) Heap Fetches: 1 (28 rows) @@ -383,25 +383,25 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o1_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Index Cond: (device_id = 1) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_2 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_3 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o2_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o2_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (26 rows) @@ -423,25 +423,25 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o1_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Index Cond: (device_id = 1) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_2 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_3 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o2_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o2_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (26 rows) @@ -483,25 +483,25 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o1_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Index Cond: (device_id = 1) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_2 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_3 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o2_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o2_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (26 rows) @@ -523,25 +523,25 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o1_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Index Cond: (device_id = 1) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_2 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_3 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o2_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o2_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (26 rows) @@ -563,25 +563,25 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o1_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Index Cond: (device_id = 1) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_2 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_3 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o2_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o2_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (26 rows) @@ -604,25 +604,25 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o1_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Index Cond: (device_id = 1) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_2 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_3 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o2_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o2_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (26 rows) @@ -644,25 +644,25 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o1_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Index Cond: (device_id = 1) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_2 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_3 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o2_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o2_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (26 rows) @@ -685,15 +685,15 @@ FROM :TEST_TABLE o1 Rows Removed by Join Filter: 400 -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk o1_2 (never executed) - -> Index Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk o1_3 (never executed) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o1_3 (never executed) -> Materialize (actual rows=500 loops=1) -> Custom Scan (ChunkAppend) on metrics o2 (actual rows=101 loops=1) Order: o2."time" - -> Index Scan Backward using _hyper_1_1_chunk_metrics_time_idx on _hyper_1_1_chunk o2_1 (actual rows=101 loops=1) - -> Index Scan Backward using _hyper_1_2_chunk_metrics_time_idx on _hyper_1_2_chunk o2_2 (never executed) - -> Index Scan Backward using _hyper_1_3_chunk_metrics_time_idx on _hyper_1_3_chunk o2_3 (never executed) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o2_1 (actual rows=101 loops=1) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_time_idx on _hyper_X_X_chunk o2_3 (never executed) (16 rows) -- test JOIN on device_id @@ -711,24 +711,24 @@ LIMIT 100; -> Nested Loop (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=1 loops=1) Order: o1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o1_1 (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=1 loops=1) Index Cond: (device_id = 1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_2 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_3 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 -> Materialize (actual rows=100 loops=1) -> Append (actual rows=100 loops=1) - -> Index Only Scan using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 1) Heap Fetches: 100 - -> Index Only Scan using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 (24 rows) @@ -751,25 +751,25 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o1_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Index Cond: (device_id = 1) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_2 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_3 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o2_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o2_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (26 rows) @@ -793,13 +793,13 @@ LIMIT 100; Merge Cond: (o3."time" = o1."time") -> Custom Scan (ChunkAppend) on metrics o3 (actual rows=100 loops=1) Order: o3."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o3_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o3_1 (actual rows=100 loops=1) Index Cond: (device_id = 3) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o3_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o3_2 (never executed) Index Cond: (device_id = 3) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o3_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o3_3 (never executed) Index Cond: (device_id = 3) Heap Fetches: 0 -> Materialize (actual rows=100 loops=1) @@ -807,25 +807,25 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o1_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Index Cond: (device_id = 1) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o1_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_2 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o1_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o1_3 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan Backward using _hyper_1_1_chunk_metrics_device_id_time_idx on _hyper_1_1_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan Backward using _hyper_1_2_chunk_metrics_device_id_time_idx on _hyper_1_2_chunk o2_2 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_1_3_chunk_metrics_device_id_time_idx on _hyper_1_3_chunk o2_3 (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (40 rows) @@ -855,28 +855,28 @@ LIMIT 2; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" DESC -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_12_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_9_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_6_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Materialize (actual rows=2 loops=1) -> Values Scan on "*VALUES*" (actual rows=2 loops=1) @@ -904,28 +904,28 @@ FROM ( -> Custom Scan (ChunkAppend) on metrics_space (actual rows=2 loops=1) Order: metrics_space."time" DESC -> Merge Append (actual rows=2 loops=1) - Sort Key: _hyper_2_12_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=2 loops=1) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=2 loops=1) Heap Fetches: 2 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_9_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_6_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (31 rows) @@ -943,11 +943,11 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" DESC - -> Index Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Filter: (device_id = 1) - -> Index Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Filter: (device_id = 1) - -> Index Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Filter: (device_id = 1) (9 rows) @@ -964,28 +964,28 @@ LIMIT 1; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" DESC -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_12_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_9_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_6_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Heap Fetches: 0 (27 rows) @@ -1011,35 +1011,35 @@ FROM generate_series('2000-01-01'::timestamptz, '2000-01-03', '1d') AS g (time) Order: o."time" DESC -> Merge Append (actual rows=0 loops=3) Sort Key: o_1."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk o_1 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_1 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk o_2 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_2 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o_3 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_3 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 -> Merge Append (actual rows=0 loops=3) Sort Key: o_4."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk o_4 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_4 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk o_5 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_5 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o_6 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_6 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 -> Merge Append (actual rows=1 loops=3) Sort Key: o_7."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk o_7 (actual rows=1 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_7 (actual rows=1 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 3 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk o_8 (actual rows=1 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_8 (actual rows=1 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 3 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o_9 (actual rows=1 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_9 (actual rows=1 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 3 (38 rows) @@ -1066,35 +1066,35 @@ FROM generate_series('2000-01-10'::timestamptz, '2000-01-11', '1d') AS g (time) Order: o."time" -> Merge Append (actual rows=0 loops=2) Sort Key: o_1."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o_1 (actual rows=0 loops=2) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_1 (actual rows=0 loops=2) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk o_2 (actual rows=0 loops=2) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_2 (actual rows=0 loops=2) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk o_3 (actual rows=0 loops=2) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_3 (actual rows=0 loops=2) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 -> Merge Append (actual rows=1 loops=2) Sort Key: o_4."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o_4 (actual rows=1 loops=2) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_4 (actual rows=1 loops=2) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk o_5 (actual rows=1 loops=2) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_5 (actual rows=1 loops=2) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk o_6 (actual rows=1 loops=2) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_6 (actual rows=1 loops=2) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 2 -> Merge Append (never executed) Sort Key: o_7."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o_7 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_7 (never executed) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk o_8 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_8 (never executed) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk o_9 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_9 (never executed) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Heap Fetches: 0 (38 rows) @@ -1121,35 +1121,35 @@ FROM generate_series('2000-01-01'::timestamptz, '2000-01-03', '1d') AS g (time) Order: o."time" DESC -> Merge Append (actual rows=0 loops=3) Sort Key: o_1."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk o_1 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_1 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk o_2 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_2 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o_3 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_3 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Heap Fetches: 0 -> Merge Append (actual rows=0 loops=3) Sort Key: o_4."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk o_4 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_4 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk o_5 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_5 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o_6 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_6 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Heap Fetches: 0 -> Merge Append (actual rows=1 loops=3) Sort Key: o_7."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk o_7 (actual rows=1 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_7 (actual rows=1 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Heap Fetches: 3 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk o_8 (actual rows=1 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_8 (actual rows=1 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Heap Fetches: 3 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o_9 (actual rows=1 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_9 (actual rows=1 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Heap Fetches: 3 (38 rows) @@ -1177,35 +1177,35 @@ FROM generate_series('2000-01-01'::timestamptz, '2000-01-03', '1d') AS g (time) Order: o."time" DESC -> Merge Append (actual rows=0 loops=3) Sort Key: o_1."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk o_1 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_1 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk o_2 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_2 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o_3 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_3 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) Heap Fetches: 0 -> Merge Append (actual rows=0 loops=3) Sort Key: o_4."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk o_4 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_4 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk o_5 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_5 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o_6 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_6 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) Heap Fetches: 0 -> Merge Append (actual rows=0 loops=3) Sort Key: o_7."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk o_7 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_7 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk o_8 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_8 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o_9 (actual rows=0 loops=3) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o_9 (actual rows=0 loops=3) Index Cond: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) Heap Fetches: 0 (38 rows) @@ -1227,25 +1227,25 @@ ORDER BY o1.time; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space o1 (actual rows=13674 loops=1) Order: o1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=3598 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=3598 loops=1) Index Cond: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_2 (actual rows=5038 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (actual rows=5038 loops=1) Index Cond: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o1_3 (actual rows=5038 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (actual rows=5038 loops=1) Index Cond: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) Filter: (device_id = 1) -> Materialize (actual rows=13674 loops=1) -> Custom Scan (ChunkAppend) on metrics_space o2 (actual rows=13674 loops=1) Order: o2."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk o2_1 (actual rows=3598 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=3598 loops=1) Index Cond: ((device_id = 2) AND ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 3598 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk o2_2 (actual rows=5038 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_2 (actual rows=5038 loops=1) Index Cond: ((device_id = 2) AND ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 5038 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk o2_3 (actual rows=5038 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_3 (actual rows=5038 loops=1) Index Cond: ((device_id = 2) AND ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone)) Heap Fetches: 5038 (25 rows) @@ -1272,24 +1272,24 @@ LIMIT 10; Order: o1."time" -> Merge Append (actual rows=2 loops=1) Sort Key: o1_1."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=2 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=2 loops=1) Index Cond: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk o1_2 (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (actual rows=1 loops=1) Index Cond: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 1 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk o1_3 (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (actual rows=1 loops=1) Index Cond: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 1 -> Merge Append (never executed) Sort Key: o1_4."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_4 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_4 (never executed) Index Cond: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk o1_5 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_5 (never executed) Index Cond: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk o1_6 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_6 (never executed) Index Cond: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Heap Fetches: 0 -> Materialize (actual rows=10 loops=1) @@ -1297,27 +1297,27 @@ LIMIT 10; Order: o2."time" -> Merge Append (actual rows=6 loops=1) Sort Key: o2_1."time" - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o2_1 (actual rows=2 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_1 (actual rows=2 loops=1) Heap Fetches: 2 - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk o2_2 (actual rows=4 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_2 (actual rows=4 loops=1) Heap Fetches: 4 - -> Index Only Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk o2_3 (actual rows=2 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_3 (actual rows=2 loops=1) Heap Fetches: 2 -> Merge Append (never executed) Sort Key: o2_4."time" - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o2_4 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_4 (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk o2_5 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_5 (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk o2_6 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_6 (never executed) Heap Fetches: 0 -> Merge Append (never executed) Sort Key: o2_7."time" - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o2_7 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_7 (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk o2_8 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_8 (never executed) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk o2_9 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_9 (never executed) Heap Fetches: 0 (54 rows) @@ -1345,46 +1345,46 @@ ORDER BY time; -> Custom Scan (ChunkAppend) on metrics_space (actual rows=1 loops=1) Order: metrics_space."time" DESC -> Merge Append (actual rows=1 loops=1) - Sort Key: _hyper_2_12_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk (actual rows=1 loops=1) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 - -> Index Only Scan Backward using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk (actual rows=1 loops=1) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: ("time" IS NOT NULL) Heap Fetches: 1 -> Merge Append (never executed) - Sort Key: _hyper_2_9_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 -> Merge Append (never executed) - Sort Key: _hyper_2_6_chunk."time" DESC - -> Index Only Scan Backward using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk (never executed) + Sort Key: _hyper_X_X_chunk."time" DESC + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 - -> Index Only Scan Backward using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk (never executed) + -> Index Only Scan Backward using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk (never executed) Index Cond: ("time" IS NOT NULL) Heap Fetches: 0 -> Append (actual rows=1 loops=1) - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_device_id_time_idx on _hyper_2_4_chunk o1_1 (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o1_1 (actual rows=0 loops=1) Index Cond: ((device_id = 1) AND ("time" = ($0))) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_device_id_time_idx on _hyper_2_7_chunk o1_2 (actual rows=0 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o1_2 (actual rows=0 loops=1) Index Cond: ((device_id = 1) AND ("time" = ($0))) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_device_id_time_idx on _hyper_2_10_chunk o1_3 (actual rows=1 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o1_3 (actual rows=1 loops=1) Index Cond: ((device_id = 1) AND ("time" = ($0))) Heap Fetches: 1 (52 rows) @@ -1408,22 +1408,22 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_2 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (never executed) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o1_3 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (never executed) Filter: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk o2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk o2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (23 rows) @@ -1445,22 +1445,22 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_2 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (never executed) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o1_3 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (never executed) Filter: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk o2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk o2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (23 rows) @@ -1502,22 +1502,22 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_2 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (never executed) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o1_3 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (never executed) Filter: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk o2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk o2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (23 rows) @@ -1539,22 +1539,22 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_2 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (never executed) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o1_3 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (never executed) Filter: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk o2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk o2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (23 rows) @@ -1576,22 +1576,22 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_2 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (never executed) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o1_3 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (never executed) Filter: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk o2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk o2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (23 rows) @@ -1614,22 +1614,22 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_2 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (never executed) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o1_3 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (never executed) Filter: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk o2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk o2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (23 rows) @@ -1651,22 +1651,22 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_2 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (never executed) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o1_3 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (never executed) Filter: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk o2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk o2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (23 rows) @@ -1691,37 +1691,37 @@ FROM :TEST_TABLE o1 Order: o1."time" -> Merge Append (actual rows=100 loops=1) Sort Key: o1_1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=21 loops=1) - -> Index Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk o1_2 (actual rows=60 loops=1) - -> Index Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk o1_3 (actual rows=21 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=21 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (actual rows=60 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (actual rows=21 loops=1) -> Merge Append (never executed) Sort Key: o1_4."time" - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_4 (never executed) - -> Index Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk o1_5 (never executed) - -> Index Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk o1_6 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_4 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_5 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_6 (never executed) -> Merge Append (never executed) Sort Key: o1_7."time" - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o1_7 (never executed) - -> Index Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk o1_8 (never executed) - -> Index Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk o1_9 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_7 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_8 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_9 (never executed) -> Materialize (actual rows=500 loops=1) -> Custom Scan (ChunkAppend) on metrics_space o2 (actual rows=101 loops=1) Order: o2."time" -> Merge Append (actual rows=101 loops=1) Sort Key: o2_1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o2_1 (actual rows=21 loops=1) - -> Index Scan using _hyper_2_5_chunk_metrics_space_time_idx on _hyper_2_5_chunk o2_2 (actual rows=61 loops=1) - -> Index Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk o2_3 (actual rows=21 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_1 (actual rows=21 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_2 (actual rows=61 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_3 (actual rows=21 loops=1) -> Merge Append (never executed) Sort Key: o2_4."time" - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o2_4 (never executed) - -> Index Scan using _hyper_2_8_chunk_metrics_space_time_idx on _hyper_2_8_chunk o2_5 (never executed) - -> Index Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk o2_6 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_4 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_5 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_6 (never executed) -> Merge Append (never executed) Sort Key: o2_7."time" - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o2_7 (never executed) - -> Index Scan using _hyper_2_11_chunk_metrics_space_time_idx on _hyper_2_11_chunk o2_8 (never executed) - -> Index Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk o2_9 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_7 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_8 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o2_9 (never executed) (40 rows) -- test JOIN on device_id @@ -1739,21 +1739,21 @@ LIMIT 100; -> Nested Loop (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space o1 (actual rows=1 loops=1) Order: o1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=1 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=1 loops=1) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_2 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (never executed) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o1_3 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (never executed) Filter: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Append (actual rows=100 loops=1) - -> Index Only Scan using _hyper_2_10_chunk_metrics_space_device_id_time_idx on _hyper_2_10_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 1) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_4_chunk_metrics_space_device_id_time_idx on _hyper_2_4_chunk o2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_7_chunk_metrics_space_device_id_time_idx on _hyper_2_7_chunk o2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 1) Heap Fetches: 0 (21 rows) @@ -1776,22 +1776,22 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_2 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (never executed) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o1_3 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (never executed) Filter: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk o2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk o2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (23 rows) @@ -1815,33 +1815,33 @@ LIMIT 100; Merge Cond: (o3."time" = o1."time") -> Custom Scan (ChunkAppend) on metrics_space o3 (actual rows=100 loops=1) Order: o3."time" - -> Index Scan using _hyper_2_6_chunk_metrics_space_time_idx on _hyper_2_6_chunk o3_1 (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o3_1 (actual rows=100 loops=1) Filter: (device_id = 3) - -> Index Scan using _hyper_2_9_chunk_metrics_space_time_idx on _hyper_2_9_chunk o3_2 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o3_2 (never executed) Filter: (device_id = 3) - -> Index Scan using _hyper_2_12_chunk_metrics_space_time_idx on _hyper_2_12_chunk o3_3 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o3_3 (never executed) Filter: (device_id = 3) -> Materialize (actual rows=100 loops=1) -> Merge Join (actual rows=100 loops=1) Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space o1 (actual rows=100 loops=1) Order: o1."time" - -> Index Scan using _hyper_2_4_chunk_metrics_space_time_idx on _hyper_2_4_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) Filter: (device_id = 1) - -> Index Scan using _hyper_2_7_chunk_metrics_space_time_idx on _hyper_2_7_chunk o1_2 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_2 (never executed) Filter: (device_id = 1) - -> Index Scan using _hyper_2_10_chunk_metrics_space_time_idx on _hyper_2_10_chunk o1_3 (never executed) + -> Index Scan using _hyper_X_X_chunk_metrics_space_time_idx on _hyper_X_X_chunk o1_3 (never executed) Filter: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space o2 (actual rows=100 loops=1) Order: o2."time" - -> Index Only Scan using _hyper_2_5_chunk_metrics_space_device_id_time_idx on _hyper_2_5_chunk o2_1 (actual rows=100 loops=1) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) Index Cond: (device_id = 2) Heap Fetches: 100 - -> Index Only Scan using _hyper_2_8_chunk_metrics_space_device_id_time_idx on _hyper_2_8_chunk o2_2 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_2 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 - -> Index Only Scan using _hyper_2_11_chunk_metrics_space_device_id_time_idx on _hyper_2_11_chunk o2_3 (never executed) + -> Index Only Scan using _hyper_X_X_chunk_metrics_space_device_id_time_idx on _hyper_X_X_chunk o2_3 (never executed) Index Cond: (device_id = 2) Heap Fetches: 0 (34 rows) @@ -1868,16 +1868,16 @@ LIMIT 2; -------------------------------------------------------------------------------------------------------- Limit (actual rows=2 loops=1) -> Sort (actual rows=2 loops=1) - Sort Key: _hyper_3_15_chunk."time" DESC + Sort Key: _hyper_X_X_chunk."time" DESC Sort Method: top-N heapsort -> Nested Loop (actual rows=136740 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) -> Materialize (actual rows=2 loops=68370) -> Values Scan on "*VALUES*" (actual rows=2 loops=1) (14 rows) @@ -1902,16 +1902,16 @@ FROM ( -> Subquery Scan on l (actual rows=2 loops=1) -> Limit (actual rows=2 loops=1) -> Sort (actual rows=2 loops=1) - Sort Key: _hyper_3_15_chunk."time" DESC + Sort Key: _hyper_X_X_chunk."time" DESC Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) (16 rows) -- test plan with best index is chosen @@ -1928,14 +1928,14 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed (actual rows=1 loops=1) Order: metrics_compressed."time" DESC - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=1 loops=1) - -> Index Scan using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (never executed) - -> Index Scan using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (never executed) - -> Index Scan using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) (12 rows) @@ -1950,15 +1950,15 @@ LIMIT 1; -------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_3_15_chunk."time" DESC + Sort Key: _hyper_X_X_chunk."time" DESC Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) (11 rows) -- test LATERAL with correlated query @@ -1985,18 +1985,18 @@ FROM generate_series('2000-01-01'::timestamptz, '2000-01-03', '1d') AS g (time) -> Custom Scan (ChunkAppend) on metrics_compressed o (actual rows=3600 loops=3) Chunks excluded during startup: 0 Chunks excluded during runtime: 2 - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_1 (never executed) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_4_16_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o_2 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_2 (never executed) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_4_17_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o_3 (actual rows=3600 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_3 (actual rows=3600 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 4063 - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=8 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=8 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 12 (23 rows) @@ -2025,19 +2025,19 @@ FROM generate_series('2000-01-10'::timestamptz, '2000-01-11', '1d') AS g (time) -> Custom Scan (ChunkAppend) on metrics_compressed o (actual rows=3600 loops=2) Chunks excluded during startup: 0 Chunks excluded during runtime: 2 - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_1 (never executed) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_4_18_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o_2 (actual rows=3600 loops=2) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_2 (actual rows=3600 loops=2) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 3900 - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=8 loops=2) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=8 loops=2) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 22 - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o_3 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_3 (never executed) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_4_16_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) (23 rows) @@ -2065,18 +2065,18 @@ FROM generate_series('2000-01-01'::timestamptz, '2000-01-03', '1d') AS g (time) -> Custom Scan (ChunkAppend) on metrics_compressed o (actual rows=3600 loops=3) Chunks excluded during startup: 0 Chunks excluded during runtime: 2 - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_1 (never executed) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) - -> Seq Scan on compress_hyper_4_16_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o_2 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_2 (never executed) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) - -> Seq Scan on compress_hyper_4_17_chunk (never executed) + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o_3 (actual rows=3600 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_3 (actual rows=3600 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Rows Removed by Filter: 4063 - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=8 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=8 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 12 (23 rows) @@ -2124,37 +2124,37 @@ ORDER BY o1.time; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_compressed o1 (actual rows=13674 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=3598 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=4 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=4 loops=1) Index Cond: (device_id = 1) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (actual rows=5038 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (actual rows=6 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 1) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (actual rows=5038 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (actual rows=6 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 1) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) -> Materialize (actual rows=13674 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed o2 (actual rows=13674 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2_1 (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=3598 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=4 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=4 loops=1) Index Cond: (device_id = 2) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_2 (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (actual rows=5038 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (actual rows=6 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) Index Cond: (device_id = 2) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_3 (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (actual rows=5038 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (actual rows=6 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) Index Cond: (device_id = 2) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) (37 rows) @@ -2181,14 +2181,14 @@ LIMIT 10; Sort Key: o1_1."time" Sort Method: quicksort -> Append (actual rows=26390 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=17990 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=17990 loops=1) Filter: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) - -> Seq Scan on compress_hyper_4_18_chunk (actual rows=20 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=20 loops=1) Filter: (_ts_meta_min_1 < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (actual rows=8400 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (actual rows=8400 loops=1) Filter: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 1790 - -> Seq Scan on compress_hyper_4_17_chunk (actual rows=15 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=15 loops=1) Filter: (_ts_meta_min_1 < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 15 -> Materialize (actual rows=10 loops=1) @@ -2197,12 +2197,12 @@ LIMIT 10; Sort Method: quicksort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2_1 (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_2 (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_3 (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=30 loops=1) (29 rows) -- test join against max query @@ -2220,29 +2220,29 @@ ORDER BY time; QUERY PLAN ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Merge Join (actual rows=1 loops=1) - Merge Cond: (o1."time" = (max(_hyper_3_13_chunk."time"))) + Merge Cond: (o1."time" = (max(_hyper_X_X_chunk."time"))) -> Custom Scan (ChunkAppend) on metrics_compressed o1 (actual rows=13674 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=3598 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=3598 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=4 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (actual rows=5038 loops=1) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (actual rows=5038 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (actual rows=5038 loops=1) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (actual rows=5038 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 1) -> Sort (actual rows=1 loops=1) - Sort Key: (max(_hyper_3_13_chunk."time")) + Sort Key: (max(_hyper_X_X_chunk."time")) Sort Method: quicksort -> Aggregate (actual rows=1 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk (actual rows=17990 loops=1) - -> Seq Scan on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk (actual rows=25190 loops=1) - -> Seq Scan on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=17990 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=25190 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=30 loops=1) (24 rows) RESET enable_hashjoin; @@ -2264,26 +2264,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) (26 rows) @@ -2304,26 +2304,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) (26 rows) @@ -2364,26 +2364,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) (26 rows) @@ -2404,26 +2404,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) (26 rows) @@ -2444,26 +2444,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) (26 rows) @@ -2485,26 +2485,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) (26 rows) @@ -2525,26 +2525,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) (26 rows) @@ -2566,21 +2566,21 @@ FROM :TEST_TABLE o1 -> Hash Join (actual rows=68370 loops=1) Hash Cond: ((o1_1.device_id = o2_1.device_id) AND (o1_1."time" = o2_1."time")) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=17990 loops=1) - -> Index Scan using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (actual rows=25190 loops=1) - -> Index Scan using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (actual rows=25190 loops=1) - -> Index Scan using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=17990 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (actual rows=25190 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (actual rows=25190 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=30 loops=1) -> Hash (actual rows=68370 loops=1) Buckets: 131072 Batches: 1 -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2_1 (actual rows=17990 loops=1) - -> Index Scan using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=20 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_2 (actual rows=25190 loops=1) - -> Index Scan using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (actual rows=30 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_3 (actual rows=25190 loops=1) - -> Index Scan using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=17990 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=20 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (actual rows=25190 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=30 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (actual rows=25190 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=30 loops=1) (22 rows) -- test JOIN on device_id @@ -2598,25 +2598,25 @@ LIMIT 100; -> Nested Loop (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed o1 (actual rows=1 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=1 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=1 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Append (actual rows=100 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_2 (never executed) - -> Index Scan using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_3 (never executed) - -> Index Scan using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 1) (24 rows) @@ -2638,26 +2638,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) (26 rows) @@ -2680,40 +2680,40 @@ LIMIT 100; Merge Cond: (o3."time" = o1."time") -> Custom Scan (ChunkAppend) on metrics_compressed o3 (actual rows=100 loops=1) Order: o3."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o3_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_2 (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o3_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_2 (actual rows=1 loops=1) Index Cond: (device_id = 3) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o3_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_2 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o3_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_2 (never executed) Index Cond: (device_id = 3) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o3_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_2 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o3_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_2 (never executed) Index Cond: (device_id = 3) -> Materialize (actual rows=100 loops=1) -> Merge Join (actual rows=100 loops=1) Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_3_13_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_4_18_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_18_chunk compress_hyper_4_18_chunk_1 (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_14_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_4_17_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_17_chunk compress_hyper_4_17_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_3_15_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_4_16_chunk__compressed_hypertable_4_device_id__t on compress_hyper_4_16_chunk compress_hyper_4_16_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_4_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 2) (40 rows) @@ -2739,28 +2739,28 @@ LIMIT 2; -------------------------------------------------------------------------------------------------------- Limit (actual rows=2 loops=1) -> Sort (actual rows=2 loops=1) - Sort Key: _hyper_5_27_chunk."time" DESC + Sort Key: _hyper_X_X_chunk."time" DESC Sort Method: top-N heapsort -> Nested Loop (actual rows=136740 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) -> Materialize (actual rows=2 loops=68370) -> Values Scan on "*VALUES*" (actual rows=2 loops=1) (26 rows) @@ -2785,28 +2785,28 @@ FROM ( -> Subquery Scan on l (actual rows=2 loops=1) -> Limit (actual rows=2 loops=1) -> Sort (actual rows=2 loops=1) - Sort Key: _hyper_5_27_chunk."time" DESC + Sort Key: _hyper_X_X_chunk."time" DESC Sort Method: top-N heapsort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) (28 rows) -- test plan with best index is chosen @@ -2823,21 +2823,21 @@ LIMIT 1; Limit (actual rows=1 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed (actual rows=1 loops=1) Order: metrics_space_compressed."time" DESC - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: compress_hyper_6_30_chunk._ts_meta_sequence_num + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num Sort Method: quicksort - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) -> Sort (never executed) - Sort Key: compress_hyper_6_33_chunk._ts_meta_sequence_num - -> Seq Scan on compress_hyper_6_33_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (never executed) -> Sort (never executed) - Sort Key: compress_hyper_6_36_chunk._ts_meta_sequence_num - -> Seq Scan on compress_hyper_6_36_chunk (never executed) + Sort Key: compress_hyper_X_X_chunk._ts_meta_sequence_num + -> Seq Scan on compress_hyper_X_X_chunk (never executed) Filter: (device_id = 1) (19 rows) @@ -2852,27 +2852,27 @@ LIMIT 1; -------------------------------------------------------------------------------------------------- Limit (actual rows=1 loops=1) -> Sort (actual rows=1 loops=1) - Sort Key: _hyper_5_27_chunk."time" DESC + Sort Key: _hyper_X_X_chunk."time" DESC Sort Method: top-N heapsort -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) (23 rows) -- test LATERAL with correlated query @@ -2898,54 +2898,54 @@ FROM generate_series('2000-01-01'::timestamptz, '2000-01-03', '1d') AS g (time) Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_space_compressed o (actual rows=3600 loops=3) -> Merge Append (actual rows=0 loops=3) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk o_1 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_1 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o_2 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_2 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 18 - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o_3 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_3 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 -> Merge Append (actual rows=0 loops=3) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk o_4 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_4 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o_5 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_5 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 18 - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o_6 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_6 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 -> Merge Append (actual rows=3600 loops=3) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk o_7 (actual rows=720 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_7 (actual rows=720 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 813 - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=2 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=2 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 2 - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o_8 (actual rows=2160 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_8 (actual rows=2160 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 2438 - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=5 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=5 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 7 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o_9 (actual rows=720 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_9 (actual rows=720 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 813 - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=2 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=2 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 2 (58 rows) @@ -2973,54 +2973,54 @@ FROM generate_series('2000-01-10'::timestamptz, '2000-01-11', '1d') AS g (time) Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_space_compressed o (actual rows=3600 loops=2) -> Merge Append (actual rows=0 loops=2) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o_1 (actual rows=0 loops=2) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_1 (actual rows=0 loops=2) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=0 loops=2) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=2) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 4 - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o_2 (actual rows=0 loops=2) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_2 (actual rows=0 loops=2) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=0 loops=2) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=2) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 12 - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk o_3 (actual rows=0 loops=2) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_3 (actual rows=0 loops=2) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=0 loops=2) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=2) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 4 -> Merge Append (actual rows=3600 loops=2) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o_4 (actual rows=720 loops=2) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_4 (actual rows=720 loops=2) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 780 - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=2 loops=2) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=2 loops=2) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 4 - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o_5 (actual rows=2160 loops=2) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_5 (actual rows=2160 loops=2) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 2340 - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=4 loops=2) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=2) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 14 - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk o_6 (actual rows=720 loops=2) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_6 (actual rows=720 loops=2) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 780 - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=2 loops=2) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=2 loops=2) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 4 -> Merge Append (actual rows=0 loops=2) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o_7 (actual rows=0 loops=2) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_7 (actual rows=0 loops=2) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=0 loops=2) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=2) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o_8 (actual rows=0 loops=2) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_8 (actual rows=0 loops=2) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=0 loops=2) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=2) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 18 - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk o_9 (actual rows=0 loops=2) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_9 (actual rows=0 loops=2) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval))) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=0 loops=2) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=2) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 (58 rows) @@ -3048,54 +3048,54 @@ FROM generate_series('2000-01-01'::timestamptz, '2000-01-03', '1d') AS g (time) Sort Method: top-N heapsort -> Custom Scan (ChunkAppend) on metrics_space_compressed o (actual rows=3600 loops=3) -> Merge Append (actual rows=0 loops=3) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk o_1 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_1 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o_2 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_2 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 18 - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o_3 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_3 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 -> Merge Append (actual rows=0 loops=3) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk o_4 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_4 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o_5 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_5 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 18 - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o_6 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_6 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 -> Merge Append (actual rows=3600 loops=3) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk o_7 (actual rows=720 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_7 (actual rows=720 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Rows Removed by Filter: 813 - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=2 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=2 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 2 - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o_8 (actual rows=2160 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_8 (actual rows=2160 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Rows Removed by Filter: 2438 - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=5 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=5 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 7 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o_9 (actual rows=720 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_9 (actual rows=720 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" < now())) Rows Removed by Filter: 813 - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=2 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=2 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 2 (58 rows) @@ -3124,54 +3124,54 @@ FROM generate_series('2000-01-01'::timestamptz, '2000-01-03', '1d') AS g (time) Sort Method: quicksort -> Custom Scan (ChunkAppend) on metrics_space_compressed o (actual rows=0 loops=3) -> Merge Append (actual rows=0 loops=3) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk o_1 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_1 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o_2 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_2 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 18 - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o_3 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_3 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 -> Merge Append (actual rows=0 loops=3) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk o_4 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_4 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o_5 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_5 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 18 - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o_6 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_6 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=0 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=0 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 6 -> Merge Append (actual rows=0 loops=3) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk o_7 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_7 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) Rows Removed by Filter: 1533 - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=2 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=2 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 2 - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o_8 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_8 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) Rows Removed by Filter: 4598 - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=5 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=5 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 7 - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o_9 (actual rows=0 loops=3) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o_9 (actual rows=0 loops=3) Filter: (("time" >= g."time") AND ("time" < (g."time" + '@ 1 day'::interval)) AND ("time" > now())) Rows Removed by Filter: 1533 - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=2 loops=3) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=2 loops=3) Filter: ((_ts_meta_max_1 >= g."time") AND (_ts_meta_min_1 < (g."time" + '@ 1 day'::interval))) Rows Removed by Filter: 2 (58 rows) @@ -3193,37 +3193,37 @@ ORDER BY o1.time; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space_compressed o1 (actual rows=13674 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=3598 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=4 loops=1) Index Cond: (device_id = 1) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_2 (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (actual rows=5038 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (actual rows=6 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 1) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_3 (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (actual rows=5038 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 1) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) -> Materialize (actual rows=13674 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed o2 (actual rows=13674 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o2_1 (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=3598 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=4 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=4 loops=1) Index Cond: (device_id = 2) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o2_2 (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (actual rows=5038 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (actual rows=6 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 2) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o2_3 (actual rows=5038 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (actual rows=5038 loops=1) Filter: ("time" < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (actual rows=6 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 2) Filter: (_ts_meta_min_1 < 'Tue Feb 01 00:00:00 2000 PST'::timestamp with time zone) (37 rows) @@ -3250,34 +3250,34 @@ LIMIT 10; Sort Key: o1_1."time" Sort Method: quicksort -> Append (actual rows=26390 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=3598 loops=1) Filter: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) - -> Seq Scan on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (_ts_meta_min_1 < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o1_2 (actual rows=10794 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (actual rows=10794 loops=1) Filter: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) Filter: (_ts_meta_min_1 < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk o1_3 (actual rows=3598 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (actual rows=3598 loops=1) Filter: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) Filter: (_ts_meta_min_1 < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_4 (actual rows=1680 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_4 (actual rows=1680 loops=1) Filter: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 358 - -> Seq Scan on compress_hyper_6_33_chunk (actual rows=3 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=3 loops=1) Filter: (_ts_meta_min_1 < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 3 - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o1_5 (actual rows=5040 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_5 (actual rows=5040 loops=1) Filter: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 1074 - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=9 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=9 loops=1) Filter: (_ts_meta_min_1 < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 9 - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk o1_6 (actual rows=1680 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_6 (actual rows=1680 loops=1) Filter: ("time" < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 358 - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=3 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=3 loops=1) Filter: (_ts_meta_min_1 < 'Sat Jan 08 00:00:00 2000 PST'::timestamp with time zone) Rows Removed by Filter: 3 -> Materialize (actual rows=10 loops=1) @@ -3286,24 +3286,24 @@ LIMIT 10; Sort Method: quicksort -> Result (actual rows=68370 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o2_1 (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk compress_hyper_6_36_chunk_1 (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o2_2 (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk compress_hyper_6_35_chunk_1 (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk o2_3 (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk compress_hyper_6_34_chunk_1 (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o2_4 (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk compress_hyper_6_33_chunk_1 (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o2_5 (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk compress_hyper_6_32_chunk_1 (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk o2_6 (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk compress_hyper_6_31_chunk_1 (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o2_7 (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o2_8 (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk o2_9 (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_4 (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_5 (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_6 (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_7 (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_8 (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_9 (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (61 rows) -- test join against max query @@ -3321,41 +3321,41 @@ ORDER BY time; QUERY PLAN ------------------------------------------------------------------------------------------------------------------------------------------------------------------ Merge Join (actual rows=1 loops=1) - Merge Cond: (o1."time" = (max(_hyper_5_19_chunk."time"))) + Merge Cond: (o1."time" = (max(_hyper_X_X_chunk."time"))) -> Custom Scan (ChunkAppend) on metrics_space_compressed o1 (actual rows=13674 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=3598 loops=1) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=3598 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=4 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_2 (actual rows=5038 loops=1) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (actual rows=5038 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_3 (actual rows=5038 loops=1) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (actual rows=5038 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) Index Cond: (device_id = 1) -> Sort (actual rows=1 loops=1) - Sort Key: (max(_hyper_5_19_chunk."time")) + Sort Key: (max(_hyper_X_X_chunk."time")) Sort Method: quicksort -> Aggregate (actual rows=1 loops=1) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_36_chunk compress_hyper_6_36_chunk_1 (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk (actual rows=10794 loops=1) - -> Seq Scan on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk (actual rows=3598 loops=1) - -> Seq Scan on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_33_chunk compress_hyper_6_33_chunk_1 (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_30_chunk compress_hyper_6_30_chunk_1 (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk (actual rows=15114 loops=1) - -> Seq Scan on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk (actual rows=5038 loops=1) - -> Seq Scan on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=10794 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=3598 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=15114 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk (actual rows=5038 loops=1) + -> Seq Scan on compress_hyper_X_X_chunk (actual rows=6 loops=1) (36 rows) RESET enable_hashjoin; @@ -3377,26 +3377,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) (26 rows) @@ -3417,26 +3417,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) (26 rows) @@ -3477,26 +3477,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) (26 rows) @@ -3517,26 +3517,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) (26 rows) @@ -3557,26 +3557,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) (26 rows) @@ -3598,26 +3598,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) (26 rows) @@ -3638,26 +3638,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) (26 rows) @@ -3679,45 +3679,45 @@ FROM :TEST_TABLE o1 -> Hash Join (actual rows=68370 loops=1) Hash Cond: ((o1_1.device_id = o2_1.device_id) AND (o1_1."time" = o2_1."time")) -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=3598 loops=1) - -> Index Scan using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o1_2 (actual rows=10794 loops=1) - -> Index Scan using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk o1_3 (actual rows=3598 loops=1) - -> Index Scan using compress_hyper_6_34_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_34_chunk (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_4 (actual rows=5038 loops=1) - -> Index Scan using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o1_5 (actual rows=15114 loops=1) - -> Index Scan using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk o1_6 (actual rows=5038 loops=1) - -> Index Scan using compress_hyper_6_31_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_31_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_7 (actual rows=5038 loops=1) - -> Index Scan using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o1_8 (actual rows=15114 loops=1) - -> Index Scan using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk o1_9 (actual rows=5038 loops=1) - -> Index Scan using compress_hyper_6_28_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_28_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=3598 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (actual rows=10794 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (actual rows=3598 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_4 (actual rows=5038 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_5 (actual rows=15114 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_6 (actual rows=5038 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_7 (actual rows=5038 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_8 (actual rows=15114 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_9 (actual rows=5038 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=6 loops=1) -> Hash (actual rows=68370 loops=1) Buckets: 131072 Batches: 1 -> Append (actual rows=68370 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o2_1 (actual rows=3598 loops=1) - -> Index Scan using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk compress_hyper_6_36_chunk_1 (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o2_2 (actual rows=10794 loops=1) - -> Index Scan using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk compress_hyper_6_35_chunk_1 (actual rows=12 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk o2_3 (actual rows=3598 loops=1) - -> Index Scan using compress_hyper_6_34_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_34_chunk compress_hyper_6_34_chunk_1 (actual rows=4 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o2_4 (actual rows=5038 loops=1) - -> Index Scan using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk compress_hyper_6_33_chunk_1 (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o2_5 (actual rows=15114 loops=1) - -> Index Scan using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk compress_hyper_6_32_chunk_1 (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk o2_6 (actual rows=5038 loops=1) - -> Index Scan using compress_hyper_6_31_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_31_chunk compress_hyper_6_31_chunk_1 (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o2_7 (actual rows=5038 loops=1) - -> Index Scan using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk compress_hyper_6_30_chunk_1 (actual rows=6 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o2_8 (actual rows=15114 loops=1) - -> Index Scan using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk compress_hyper_6_29_chunk_1 (actual rows=18 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk o2_9 (actual rows=5038 loops=1) - -> Index Scan using compress_hyper_6_28_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_28_chunk compress_hyper_6_28_chunk_1 (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=3598 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (actual rows=10794 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=12 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (actual rows=3598 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=4 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_4 (actual rows=5038 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_5 (actual rows=15114 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_6 (actual rows=5038 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_7 (actual rows=5038 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_8 (actual rows=15114 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=18 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_9 (actual rows=5038 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=6 loops=1) (46 rows) -- test JOIN on device_id @@ -3735,25 +3735,25 @@ LIMIT 100; -> Nested Loop (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed o1 (actual rows=1 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=1 loops=1) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=1 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Append (actual rows=100 loops=1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk compress_hyper_6_30_chunk_1 (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o2_2 (never executed) - -> Index Scan using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk compress_hyper_6_36_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o2_3 (never executed) - -> Index Scan using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk compress_hyper_6_33_chunk_1 (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk compress_hyper_X_X_chunk_1 (never executed) Index Cond: (device_id = 1) (24 rows) @@ -3775,26 +3775,26 @@ LIMIT 100; Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) (26 rows) @@ -3817,40 +3817,40 @@ LIMIT 100; Merge Cond: (o3."time" = o1."time") -> Custom Scan (ChunkAppend) on metrics_space_compressed o3 (actual rows=100 loops=1) Order: o3."time" - -> Custom Scan (DecompressChunk) on _hyper_5_21_chunk o3_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_34_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_34_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o3_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 3) - -> Custom Scan (DecompressChunk) on _hyper_5_24_chunk o3_2 (never executed) - -> Index Scan Backward using compress_hyper_6_31_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_31_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o3_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 3) - -> Custom Scan (DecompressChunk) on _hyper_5_27_chunk o3_3 (never executed) - -> Index Scan Backward using compress_hyper_6_28_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_28_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o3_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 3) -> Materialize (actual rows=100 loops=1) -> Merge Join (actual rows=100 loops=1) Merge Cond: (o1."time" = o2."time") -> Custom Scan (ChunkAppend) on metrics_space_compressed o1 (actual rows=100 loops=1) Order: o1."time" - -> Custom Scan (DecompressChunk) on _hyper_5_19_chunk o1_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_36_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_36_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_22_chunk o1_2 (never executed) - -> Index Scan Backward using compress_hyper_6_33_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_33_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) - -> Custom Scan (DecompressChunk) on _hyper_5_25_chunk o1_3 (never executed) - -> Index Scan Backward using compress_hyper_6_30_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_30_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o1_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 1) -> Materialize (actual rows=100 loops=1) -> Custom Scan (ChunkAppend) on metrics_space_compressed o2 (actual rows=100 loops=1) Order: o2."time" - -> Custom Scan (DecompressChunk) on _hyper_5_20_chunk o2_1 (actual rows=100 loops=1) - -> Index Scan Backward using compress_hyper_6_35_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_35_chunk (actual rows=1 loops=1) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_1 (actual rows=100 loops=1) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (actual rows=1 loops=1) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_23_chunk o2_2 (never executed) - -> Index Scan Backward using compress_hyper_6_32_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_32_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_2 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) - -> Custom Scan (DecompressChunk) on _hyper_5_26_chunk o2_3 (never executed) - -> Index Scan Backward using compress_hyper_6_29_chunk__compressed_hypertable_6_device_id__t on compress_hyper_6_29_chunk (never executed) + -> Custom Scan (DecompressChunk) on _hyper_X_X_chunk o2_3 (never executed) + -> Index Scan Backward using compress_hyper_X_X_chunk__compressed_hypertable_6_device_id__t on compress_hyper_X_X_chunk (never executed) Index Cond: (device_id = 2) (40 rows)