openfoodfacts / openfoodfacts-query

This extracts key product data from MongoDB into a Postgres database to speed up OFF
GNU Affero General Public License v3.0
1 stars 0 forks source link

Unconfigured postgresql #48

Closed cquest closed 3 months ago

cquest commented 3 months ago

Postgresql is not configured and thus not taking advantages of availables ressources:

On the production container, we could have values likes:

john-gom commented 3 months ago

Thanks @cquest . Will we need to increase the smh_size in docker to accommodate this? In production this is currently set to 1GB

john-gom commented 3 months ago

It looks like shared_buffers is not allocated from shm_size (see comment on answer to https://dba.stackexchange.com/questions/275378/dev-shm-size-recommendation-for-postgres-database-in-docker)