Currently the vectorize raster function (`ST_DumpAsPolygon`) is taking around 20-30 seconds to process a 1.6MB raster. It's all being done one 1 CPU. Possibly there's a way to cut this job into pieces and do them parallel, utilizing 6-8 CPU's.