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 9.6.14 on x86_64-pc-linux-gnu (Debian 9.6.14-1.pgdg80+1), compiled by gcc (Debian 4.9.2-10+deb8u2) 4.9.2, 64-bit |
user_id | missing_prop_id |
---|---|
100 | 3 |
100 | 4 |
101 | 1 |
101 | 2 |
101 | 4 |