1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mattermost_ynh.git synced 2024-09-03 19:36:29 +02:00

scripts: reduce pgloader's prefetched columns

This helps fixing stack overflow errors on large
databases.
This commit is contained in:
Pierre de La Morinerie 2023-04-02 15:58:54 +02:00
parent 3a6906f3e6
commit 7cc3648d47

View file

@ -67,7 +67,7 @@ LOAD DATABASE
WITH include no drop, truncate, create no tables,
create no indexes, preserve index names, no foreign keys,
data only, workers = 16, concurrency = 1
data only, workers = 16, concurrency = 1, prefetch rows = 10000
SET MySQL PARAMETERS
net_read_timeout = '90',