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?.
100000 rows affected
count | count |
---|---|
100000 | 3 |
pg_relation_size | ?column? |
---|---|
3162112 | idx1 |
3186688 | idx2 |
3178496 | idx3 |
3178496 | idx4 |
19915 rows affected
pg_relation_size | ?column? |
---|---|
6324224 | idx1 |
6316032 | idx2 |
6324224 | idx3 |
6332416 | idx4 |