mirror of https://gitee.com/bigwinds/arangodb
decrease the default size of some system collections
This commit is contained in:
parent
f0fdf3aacc
commit
e774866f4b
|
@ -527,7 +527,8 @@
|
|||
task: function () {
|
||||
return createSystemCollection("_users", {
|
||||
waitForSync : false,
|
||||
shardKeys: [ "user" ]
|
||||
shardKeys: [ "user" ],
|
||||
journalSize: 4 * 1024 * 1024
|
||||
});
|
||||
}
|
||||
});
|
||||
|
@ -953,7 +954,8 @@
|
|||
task: function () {
|
||||
return createSystemCollection("_aal", {
|
||||
waitForSync : false,
|
||||
shardKeys: [ "name", "version" ]
|
||||
shardKeys: [ "name", "version" ],
|
||||
journalSize: 4 * 1024 * 1024
|
||||
});
|
||||
}
|
||||
});
|
||||
|
@ -1256,7 +1258,9 @@
|
|||
database: [ DATABASE_INIT, DATABASE_UPGRADE ],
|
||||
|
||||
task: function () {
|
||||
return createSystemCollection("_queues");
|
||||
return createSystemCollection("_queues", {
|
||||
journalSize: 4 * 1024 * 1024
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -1275,7 +1279,9 @@
|
|||
database: [ DATABASE_INIT, DATABASE_UPGRADE ],
|
||||
|
||||
task: function () {
|
||||
return createSystemCollection("_jobs");
|
||||
return createSystemCollection("_jobs", {
|
||||
journalSize: 4 * 1024 * 1024
|
||||
});
|
||||
}
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in New Issue