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?.
id | tmstp | cat_type | telegrammzaehler | gruppe |
---|---|---|---|---|
1 | 2022-05-03 20:52:02 | 32 | 5004 | 1 |
2 | 2022-05-03 20:51:34 | 32 | 5002 | 2 |
3 | 2022-05-03 20:51:34 | 32 | 5001 | 2 |
4 | 2022-05-03 20:51:33 | 32 | 5000 | 2 |
5 | 2022-05-03 20:41:22 | 32 | 4996 | 3 |
6 | 2022-05-03 20:41:21 | 32 | 4995 | 3 |
SELECT 6