Arthur Ramsey <arthur.ram...@code42.com> writes: > I've upgraded from 12.11 to 15.2 and I'm seeing this query now use a > sequential scan which is taking 500ms instead of < 2ms. If I disable > sequential scans then it performs as well as 12.11.
What does the EXPLAIN look like with seqscans disabled? regards, tom lane