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

Merge pull request #417 from YunoHost-Apps/fix-large-migrations

Migration: reduce the number of rows prefetched by pgloader
This commit is contained in:
Pierre de La Morinerie 2023-04-25 16:20:59 +02:00 committed by GitHub
commit 801e2b1f36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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',