Selecting from JSONB field slow
问题 I have a relatively small table (~50k rows). When I select all records, it takes a ~40s. The table has 3 JSONB columns. When I select every column except for the JSONBs, the query takes ~700ms. If I add in just one of the JSONB fields, the query time jumps to nearly 10s. I'm never using a where clause referencing something inside the JSONB, just selecting *. Even so, I tried adding GIN indexes because I saw them frequently mentioned as a performance booster for JSONB. I've ran a full vacuum.