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?.
CREATE TABLE
INSERT 0 1
id | start_time | end_time | group_id | environment | level | schema | instance | hive_instance_db_name | hive_static_db_name |
---|---|---|---|---|---|---|---|---|---|
1 | 2023-02-24 21:54:58.836707+00 | null | grp1 | env1 | lev1 | sch1 | 42 | grp1_env1_lev1_sch1_42 | grp1_env1_lev1_sch1 |
SELECT 1