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?.
26 rows affected
the_letter |
---|
A |
B |
C |
D |
let_a | let_b | the_product |
---|---|---|
A | B | 4290 |
A | C | 4355 |
A | D | 4420 |
A | E | 4485 |
B | C | 4422 |
B | D | 4488 |
the_product | count |
---|---|
5460 | 2 |
5544 | 2 |
5850 | 2 |
6120 | 2 |
6160 | 2 |
6300 | 2 |
6480 | 2 |
let_a | let_b | the_product |
---|---|---|
B | T | 5544 |
H | M | 5544 |