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.4 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-10), 64-bit |
userid | |
---|---|
1 | hello |
userid | created_by | created_on | updated_on | updated_by | |
---|---|---|---|---|---|
1 | hello | u_760589783 | 2022-07-08 17:13:22.737913+01 | null | null |
1 rows affected
1 rows affected
userid | created_by | created_on | updated_on | updated_by | |
---|---|---|---|---|---|
1 | hello | u_760589783 | 2022-07-08 17:13:22.737913+01 | 2022-07-08 17:13:22.739969+01 | u_760589783 |
userid | created_by | created_on | updated_on | updated_by | |
---|---|---|---|---|---|
1 | hello | sjdk | 2022-07-08 17:13:22.737913+01 | 2022-07-08 17:13:22.742758+01 | u_760589783 |
userid | created_by | created_on | updated_on | updated_by | |
---|---|---|---|---|---|
1 | hello | sjdk | 2020-01-01 00:00:00+00 | 2022-07-08 17:13:22.742758+01 | u_760589783 |