weecology/retriever

Compare copy vs insert for raster2pgsql

Closed this issue · 3 comments

raster_sql = ('raster2pgsql -Y -M -d -I -s {SRID} "{path}"'

        raster_sql = ('raster2pgsql -Y -M -d -I -s {SRID} "{path}"'
        raster_sql = ('raster2pgsql -M -d -I -s {SRID} "{path}"'

-Y Use COPY statements instead of INSERT statements.

@henrykironde Could you elaborate on what we have to do in this issue?

This is a performance test to compare what the better command is

We have moved on with Y Copy.