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?.
version |
---|
PostgreSQL 14.1 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-4), 64-bit |
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
kundenid | sname | sstandort | id | kundenid | idlieferadressen | id | lstandort |
---|---|---|---|---|---|---|---|
1 | Stammkunde | Bremen | 100 | 1 | 10 | 10 | Hamburg |
1 | Stammkunde | Bremen | 101 | 1 | 11 | 11 | Kassel |
2 | guter Stammkunde | München | 105 | 2 | 10 | 10 | Hamburg |
2 | guter Stammkunde | München | 103 | 2 | 11 | 11 | Kassel |
2 | guter Stammkunde | München | 102 | 2 | 12 | 12 | Neuss |
3 | schlechter kunde | Dortmund | 104 | 3 | 11 | 11 | Kassel |