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 4
id | uid | process_stat_json |
---|---|---|
1 | 9cf237e8-0c73-4c4d-a60c-30b244789e67 | {"Type A": {"time": 500, "type": "Unknown", "complete": 100.0}, "Type B": {"time": 35, "type": "Parallel", "complete": 100.0}, "Type C": {"time": 50, "type": "Serial", "complete": 100.0}} |
SELECT 1