Skip to content

Commit

Permalink
table exists so pg_use_copy is essential for performance
Browse files Browse the repository at this point in the history
  • Loading branch information
smnorris committed Dec 17, 2024
1 parent 6ea279b commit 1047e75
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions jobs/load_monthly
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jq -c '.[]' bcgw_sources.json | while read item; do
-t_srs EPSG:3005 \
-append \
-nln $source \
--config PG_USE_COPY=YES \
/vsicurl/https://nrs.objectstore.gov.bc.ca/bchamp/bcdata/$source.parquet \
$source
fi
Expand Down
1 change: 1 addition & 0 deletions jobs/load_weekly
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ jq -c '.[]' bcgw_sources.json | while read item; do
-t_srs EPSG:3005 \
-append \
-nln $source \
--config PG_USE_COPY=YES \
/vsicurl/https://nrs.objectstore.gov.bc.ca/bchamp/bcdata/$source.parquet \
$source
fi
Expand Down

0 comments on commit 1047e75

Please sign in to comment.