2017-06-13 23:40:18 +08:00
|
|
|
# MEMGRAPH DEFAULT ALPHA CONFIG
|
2016-11-29 11:08:08 +08:00
|
|
|
|
|
|
|
# NOTE: all paths are relative to the run folder
|
2017-06-13 23:40:18 +08:00
|
|
|
# (where the executable is run)
|
2016-11-29 11:08:08 +08:00
|
|
|
|
|
|
|
# path to the folder with snapshots
|
2017-06-16 22:13:58 +08:00
|
|
|
--snapshot-directory=/var/lib/memgraph/snapshots
|
2016-11-29 11:08:08 +08:00
|
|
|
|
|
|
|
# snapshot cycle interval
|
2017-06-06 23:04:49 +08:00
|
|
|
# if set to -1 the snapshooter will not run
|
2017-06-16 22:13:58 +08:00
|
|
|
--snapshot-cycle-sec=300
|
2017-06-06 23:04:49 +08:00
|
|
|
|
2017-06-16 22:13:58 +08:00
|
|
|
# create snapshot disabled on db exit
|
2017-09-22 15:58:54 +08:00
|
|
|
--snapshot-on-exit=true
|
2016-11-29 11:08:08 +08:00
|
|
|
|
|
|
|
# max number of snapshots which will be kept on the disk at some point
|
2017-05-17 16:08:57 +08:00
|
|
|
# if set to -1 the max number of snapshots is unlimited
|
2017-09-22 15:58:54 +08:00
|
|
|
--snapshot-max-retained=3
|
2017-03-23 00:57:06 +08:00
|
|
|
|
2017-09-26 20:25:01 +08:00
|
|
|
# true if the database should recover the latest snapshot on startup
|
2017-09-22 15:58:54 +08:00
|
|
|
--snapshot-recover-on-startup=true
|
2017-06-16 20:50:46 +08:00
|
|
|
|
2017-09-26 20:25:01 +08:00
|
|
|
# cleaning cycle interval
|
|
|
|
# if set to -1 the GC will not run
|
|
|
|
--gc-cycle-sec=30
|
2017-06-16 20:50:46 +08:00
|
|
|
|
|
|
|
# path to where the log should be stored
|
2017-09-26 20:25:01 +08:00
|
|
|
--log-file=/var/log/memgraph/memgraph.log
|