I am not at all familiar with PostGIS so perhaps this is a silly question,is bloat an issue on the older instance? Correlation isn't causation, buthalf the buffers scanned and half the runtime in the v12 plan has mecurious why that might be.
>