By using db<>fiddle, you agree to license everything you submit by Creative Commons CC0.
Help with an interesting Postgres question: Why isn't an Index Only Scan used on a partition accessed via the parent table?.
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
1 rows affected
time | location | temperature | humidity | first_value | first_value |
---|---|---|---|---|---|
2020-06-23 14:03:44+01 | home | 68 | 36 | 68 | 36 |
2020-06-23 14:03:45+01 | home | 68 | 36 | 68 | 36 |
2020-07-09 12:09:40+01 | home | 60 | null | 60 | 36 |
2020-07-09 12:09:41+01 | home | 60 | 32 | 60 | 32 |
2020-07-09 12:10:36+01 | home | null | 34 | 60 | 34 |
2020-07-09 12:10:37+01 | home | null | 34 | 60 | 34 |
2020-07-09 12:11:15+01 | home | 43 | 27 | 43 | 27 |
2020-07-09 12:11:16+01 | home | null | 32 | 43 | 32 |
2020-07-09 12:29:20+01 | home | 45 | null | 45 | 32 |
2020-07-09 12:29:21+01 | home | 45 | null | 45 | 32 |
2020-06-23 14:03:44+01 | office | 70 | 50 | 70 | 50 |
2020-06-23 14:03:45+01 | office | 70 | 50 | 70 | 50 |
2020-07-09 12:09:40+01 | office | null | 18 | 70 | 18 |
2020-07-09 12:09:41+01 | office | 65 | null | 65 | 18 |
2020-07-09 12:10:36+01 | office | null | 45 | 65 | 45 |
2020-07-09 12:10:37+01 | office | null | 37 | 65 | 37 |
2020-07-09 12:11:15+01 | office | null | 32 | 65 | 32 |
2020-07-09 12:11:16+01 | office | null | 32 | 65 | 32 |
2020-07-09 12:29:20+01 | office | 45 | null | 45 | 32 |
2020-07-09 12:29:21+01 | office | null | 26 | 45 | 26 |
2020-06-23 14:03:46+01 | office2 | 68 | 36 | 68 | 36 |
2020-06-23 14:03:48+01 | office2 | null | 36 | 68 | 36 |
2020-06-23 14:03:51+01 | office2 | 68 | null | 68 | 36 |
2020-06-23 14:03:53+01 | office2 | 72 | 36 | 72 | 36 |
2020-06-23 14:03:54+01 | office2 | null | 36 | 72 | 36 |
2020-06-23 14:03:54+01 | office2 | null | 36 | 72 | 36 |
2020-07-09 12:09:40+01 | office2 | 60 | null | 60 | 36 |
2020-07-09 12:09:41+01 | office2 | null | 32 | 60 | 32 |
2020-07-09 12:09:41+01 | office2 | null | 32 | 60 | 32 |
2020-07-09 12:09:42+01 | office2 | 72 | null | 72 | 32 |
2020-07-09 12:09:43+01 | office2 | 68 | null | 68 | 32 |
2020-07-09 12:09:44+01 | office2 | 60 | 32 | 60 | 32 |
2020-07-09 12:10:38+01 | office2 | null | 36 | 60 | 36 |
2020-07-09 12:10:40+01 | office2 | null | 34 | 60 | 34 |
2020-07-09 12:10:42+01 | office2 | null | 34 | 60 | 34 |
2020-07-09 12:10:43+01 | office2 | 56 | 26 | 56 | 26 |
2020-07-09 12:10:44+01 | office2 | null | 27 | 56 | 27 |
2020-07-09 12:10:45+01 | office2 | null | 34 | 56 | 34 |
2020-07-09 12:11:18+01 | office2 | null | 32 | 56 | 32 |
2020-07-09 12:11:20+01 | office2 | null | 32 | 56 | 32 |
2020-07-09 12:11:23+01 | office2 | 45 | 32 | 45 | 32 |
2020-07-09 12:11:24+01 | office2 | null | 32 | 45 | 32 |
2020-07-09 12:11:26+01 | office2 | null | 32 | 45 | 32 |
2020-07-09 12:11:26+01 | office2 | null | 32 | 45 | 32 |
2020-07-09 12:29:23+01 | office2 | 45 | null | 45 | 32 |
2020-07-09 12:29:26+01 | office2 | 63 | 27 | 63 | 27 |
2020-07-09 12:29:27+01 | office2 | 45 | null | 45 | 27 |
2020-07-09 12:29:28+01 | office2 | 45 | null | 45 | 27 |
2020-07-09 12:29:28+01 | office2 | 45 | null | 45 | 27 |
2020-07-09 12:29:30+01 | office2 | 45 | null | 45 | 27 |
50 rows affected
time | location | temperature | humidity |
---|---|---|---|
2020-06-23 14:03:44+01 | home | 68 | 36 |
2020-06-23 14:03:45+01 | home | 68 | 36 |
2020-07-09 12:09:40+01 | home | 60 | null |
2020-07-09 12:09:41+01 | home | 60 | 32 |
2020-07-09 12:10:36+01 | home | 60 | 34 |
2020-07-09 12:10:37+01 | home | 60 | 34 |
2020-07-09 12:11:15+01 | home | 43 | 27 |
2020-07-09 12:11:16+01 | home | 43 | 32 |
2020-07-09 12:29:20+01 | home | 45 | null |
2020-07-09 12:29:21+01 | home | 45 | null |
2020-06-23 14:03:44+01 | office | 70 | 50 |
2020-06-23 14:03:45+01 | office | 70 | 50 |
2020-07-09 12:09:40+01 | office | 70 | 18 |
2020-07-09 12:09:41+01 | office | 65 | null |
2020-07-09 12:10:36+01 | office | 65 | 45 |
2020-07-09 12:10:37+01 | office | 65 | 37 |
2020-07-09 12:11:15+01 | office | 65 | 32 |
2020-07-09 12:11:16+01 | office | 65 | 32 |
2020-07-09 12:29:20+01 | office | 45 | null |
2020-07-09 12:29:21+01 | office | 45 | 26 |
2020-06-23 14:03:46+01 | office2 | 68 | 36 |
2020-06-23 14:03:48+01 | office2 | 68 | 36 |
2020-06-23 14:03:51+01 | office2 | 68 | null |
2020-06-23 14:03:53+01 | office2 | 72 | 36 |
2020-06-23 14:03:54+01 | office2 | 72 | 36 |
2020-06-23 14:03:54+01 | office2 | 72 | 36 |
2020-07-09 12:09:40+01 | office2 | 60 | null |
2020-07-09 12:09:41+01 | office2 | 60 | 32 |
2020-07-09 12:09:41+01 | office2 | 60 | 32 |
2020-07-09 12:09:42+01 | office2 | 72 | null |
2020-07-09 12:09:43+01 | office2 | 68 | null |
2020-07-09 12:09:44+01 | office2 | 60 | 32 |
2020-07-09 12:10:38+01 | office2 | 60 | 36 |
2020-07-09 12:10:40+01 | office2 | 60 | 34 |
2020-07-09 12:10:42+01 | office2 | 60 | 34 |
2020-07-09 12:10:43+01 | office2 | 56 | 26 |
2020-07-09 12:10:44+01 | office2 | 56 | 27 |
2020-07-09 12:10:45+01 | office2 | 56 | 34 |
2020-07-09 12:11:18+01 | office2 | 56 | 32 |
2020-07-09 12:11:20+01 | office2 | 56 | 32 |
2020-07-09 12:11:23+01 | office2 | 45 | 32 |
2020-07-09 12:11:24+01 | office2 | 45 | 32 |
2020-07-09 12:11:26+01 | office2 | 45 | 32 |
2020-07-09 12:11:26+01 | office2 | 45 | 32 |
2020-07-09 12:29:23+01 | office2 | 45 | null |
2020-07-09 12:29:26+01 | office2 | 63 | 27 |
2020-07-09 12:29:27+01 | office2 | 45 | null |
2020-07-09 12:29:28+01 | office2 | 45 | null |
2020-07-09 12:29:28+01 | office2 | 45 | null |
2020-07-09 12:29:30+01 | office2 | 45 | null |