set work_mem to 250MB in postgres (in run.sh)

This commit is contained in:
nobohan 2024-04-02 21:25:09 +02:00
parent 7c2044be23
commit a10fd7a309
1 changed files with 1 additions and 0 deletions

1
run.sh
View File

@ -68,6 +68,7 @@ if [ "$1" == "import" ]; then
sudo -u postgres psql -d gis -c "CREATE EXTENSION hstore;"
sudo -u postgres psql -d gis -c "ALTER TABLE geometry_columns OWNER TO renderer;"
sudo -u postgres psql -d gis -c "ALTER TABLE spatial_ref_sys OWNER TO renderer;"
sudo -u postgres psql -d gis -c "SET work_mem TO '250MB';"
setPostgresPassword
# Download Luxembourg as sample if no data is provided