forked from extern/egroupware
chunk size for number of rows to query was far to low for huge tables like egw_history_log which can be a couple of million rows, backup took far to long
This commit is contained in:
parent
ff19062265
commit
d0f097e1ec
@ -772,7 +772,7 @@ class db_backup
|
|||||||
/**
|
/**
|
||||||
* Number of rows to select per chunk, to not run into memory limit on huge tables
|
* Number of rows to select per chunk, to not run into memory limit on huge tables
|
||||||
*/
|
*/
|
||||||
const ROW_CHUNK = 100;
|
const ROW_CHUNK = 10000;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Backup all data in the form of a (compressed) csv file
|
* Backup all data in the form of a (compressed) csv file
|
||||||
|
Loading…
Reference in New Issue
Block a user