Skip to content

Instantly share code, notes, and snippets.

@peterneubauer
Created January 29, 2013 09:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peterneubauer/4663136 to your computer and use it in GitHub Desktop.
Save peterneubauer/4663136 to your computer and use it in GitHub Desktop.
# Default values for the low-level graph engine
#neostore.nodestore.db.mapped_memory=25M
#neostore.relationshipstore.db.mapped_memory=50M
#neostore.propertystore.db.mapped_memory=90M
#neostore.propertystore.db.strings.mapped_memory=130M
#neostore.propertystore.db.arrays.mapped_memory=130M
# Autoindexing
# Enable auto-indexing for nodes, default is false
#node_auto_indexing=true
# The node property keys to be auto-indexed, if enabled
#node_keys_indexable=name,age
# Enable auto-indexing for relationships, default is false
#relationship_auto_indexing=true
# The relationship property keys to be auto-indexed, if enabled
#relationship_keys_indexable=name,age
# Keep logical logs, helps debugging but uses more disk space, enabled for legacy reasons
# To limit space needed to store historical logs use values such as: "7 days" or "100M size"
# instead of "true"
keep_logical_logs=true
# Enable online backups to be taken from this database.
online_backup_enabled=true
# Port to listen to for incoming backup requests.
online_backup_port=1236
# Uncomment and specify these lines for running Neo4j in High Availability mode.
# ha.server_id is a unique integer for each instance of the Neo4j database in the cluster.
# (as opposed to the coordinator instance IDs)
ha.server_id=3
# ha.initial_hosts is a comma-separated list (without spaces) of the host:port of where to
# find one or more of the known Cluster members, if they are already present.
# If none of them can be contacted the cluster will be formed by this instance.
# Avoid localhost due to IP resolution issues on some systems.
# Addresses w/o host (:<port>) will use the localhost IP.
ha.initial_hosts=:5000,:5001,:5002
# IP and port for this instance to bind to to communicate data with the
# other neo4j instances in the cluster. This is broadcasted to the other
# cluster members, so different members can have different communication ports.
# Avoid localhost due to IP resolution issues on some systems.
# Addresses w/o host (:<port>) will use the localhost IP.
ha.server = :6003
# IP and port for this instance to bind to, for communicating cluster information
# with the rest of the instances. This will be communicated to the rest of the
# instances via normal cluster traffic but for an instance to join a cluster
# it must already know at least one other instance.
# Port ranges as well as single ports is supported.
# Avoid localhost due to IP resolution issues on some systems.
# Addresses w/o host (:<port>) will use the localhost IP.
# See also ha.initial_hosts
ha.cluster_server=:5002
# The interval at which slaves will pull updates from the master. Comment out
# the option to disable periodic pulling of updates. Unit is seconds.
ha.pull_interval = 1ms
# Amount of slaves the master will try to push a transaction to upon commit (default is 1).
# The master will optimistically continue and not fail the transaction even if it fails to
# reach the push factor. Setting this to 0 will increase write performance when writing
# through master but could potentially lead to branched data (or loss of transaction)
# if the master goes down.
#ha.tx_push_factor=1
# Strategy the master will use when pushing data to slaves (if the push factor is greater than 0).
# There are two options available "fixed" (default) or "round_robin". Fixed will start by
# pushing to slaves ordered by server id (highest first) improving performance since the
# slaves only have to cache up one transaction at a time.
#ha.tx_push_strategy=fixed
# Enable this to be able to upgrade a store from 1.4 -> 1.5 or 1.4 -> 1.6
#allow_store_upgrade=true
# Enable this to specify a parser other than the default one. 1.5, 1.6, 1.7 are available
#cypher_parser_version=1.6
# Enable shell server so that remote clients can connect vi Neo4j shell
remote_shell_enabled=true
# Specify custom shell port (default is 1337)
remote_shell_port = 2339
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment