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
3 rows affected
machine | mchstat | statrange |
---|---|---|
CT-001 | RUN | ["2022-03-25 01:00:00","2022-03-25 02:00:00") |
machine | mchstat | statrange |
---|---|---|
CT-001 | VACUUM | ["2022-03-25 01:10:00","2022-03-25 01:20:00") |
CT-001 | COATING | ["2022-03-25 01:30:00","2022-03-25 01:40:00") |
CT-001 | NONVACUUM | ["2022-03-25 01:50:00","2022-03-25 01:55:00") |
machine | type | statrange |
---|---|---|
CT-001 | PRE-RUN | ["2022-03-25 01:00:00","2022-03-25 01:10:00") |
CT-001 | RUN | ["2022-03-25 01:10:00","2022-03-25 01:20:00") |
CT-001 | PRE-RUN | ["2022-03-25 01:20:00","2022-03-25 01:30:00") |
CT-001 | RUN | ["2022-03-25 01:30:00","2022-03-25 01:40:00") |
CT-001 | PRE-RUN | ["2022-03-25 01:40:00","2022-03-25 01:50:00") |
CT-001 | RUN | ["2022-03-25 01:50:00","2022-03-25 01:55:00") |
CT-001 | PRE-RUN | ["2022-03-25 01:55:00","2022-03-25 02:00:00") |