This page documents Neo4j’s configuration settings. They can be set in neo4j.conf.
Settings used by the server configuration
Name | Description |
---|---|
Configure the policy for outgoing Neo4j Browser connections. | |
Configure the Neo4j Browser to time out logged in users after this idle period. | |
Whitelist of hosts for the Neo4j Browser to be allowed to fetch content from. | |
Configure the Neo4j Browser to store or not store user credentials. | |
Set this to specify the default parser (language version). | |
This setting is associated with performance optimization. | |
Set this to specify the behavior when Cypher planner or runtime hints cannot be fulfilled. | |
The minimum lifetime of a query plan before a query is considered for replanning. | |
Set this to specify the default planner for the default language version. | |
The threshold when a plan is considered stale. | |
Name of the database to load. | |
Whether to allow a store upgrade in case the current version of the database starts against an older store version. | |
Listening server for online backups. | |
Enable support for running online backups. | |
Configures the time interval between check-points. | |
Configures the transaction interval between check-points. | |
Limit the number of IOs the background checkpoint process will consume per second. | |
Location of the directory where to store users and roles used for authentication and authorization. | |
Directory for storing certificates to be used by Neo4j for TLS connections. | |
Path of the data directory. | |
Sets the root directory for file URLs used with the Cypher | |
Path of the lib directory. | |
Path of the logs directory. | |
The target location of the CSV files: a path to a directory wherein a CSV file per reported field will be written. | |
Location of the database plugin directory. | |
Path of the run directory. | |
Enable or disable background index sampling. | |
Index sampling chunk size limit. | |
Percentage of index updates of total index size required before sampling of a given index is triggered. | |
The maximum number of open Lucene index searchers. | |
Debug log level threshold. | |
Minimum time interval after last rotation of the debug log before it may be rotated again. | |
Maximum number of history files for the debug log. | |
Threshold for rotation of the debug log. | |
Enable GC Logging. | |
GC Logging Options. | |
Number of GC logs to keep. | |
Size of each GC log that is kept. | |
Enable HTTP request logging. | |
Number of HTTP logs to keep. | |
Size of each HTTP log that is kept. | |
Log executed queries that takes longer than the configured threshold. | |
Log parameters for executed queries that took longer than the configured threshold. | |
Maximum number of history files for the query log. | |
The file size in bytes at which the query log will auto-rotate. | |
If the execution of query takes more time than this threshold, the query is logged - provided query logging is enabled. | |
The amount of memory to use for mapping the store files, in bytes (or kilobytes with the k suffix, megabytes with m and gigabytes with g). | |
Specify which page swapper to use for doing paged IO. | |
Configure the operating mode of the database — SINGLE for stand-alone operation, HA for operating as a member in a cluster or ARBITER for an HA-only cluster member with no database. | |
The number of Cypher query execution plans that are cached. | |
Only allow read operations from this Neo4j instance. | |
Database record format. | |
Relationship count threshold for considering a node to be dense. | |
Determines if Cypher will allow using file URLs when loading data using | |
Enable auth requirement to access Neo4j. | |
Require authorization for access to the HA status endpoints. | |
Comma-seperated list of custom security rules for Neo4j to use. | |
Enable a remote shell server which Neo4j Shell clients can log in to. | |
Remote host for shell. | |
The port the shell will listen on. | |
Read only mode. | |
The name of the shell. | |
Number of Neo4j worker threads, your OS might enforce a lower limit than the maximum value specified here. | |
Timeout for idle transactions. | |
Make Neo4j keep the logical transaction logs for being able to backup the database. | |
Specifies at which file size the logical log will auto-rotate. | |
Enable the UDC extension. | |
Comma-separated list of <classname>=<mount point> for unmanaged extensions. | |
Whether to allow this instance to create a cluster if unable to join. | |
Policy for how to handle branched data. | |
Timeout for broadcasting values in cluster. | |
Timeout for waiting for configuration from an existing cluster member during cluster join. | |
Max size of the data chunks that flows between master and slaves in HA. | |
Default timeout used for clustering timeouts. | |
Timeout for waiting for other members to finish a role election. | |
How often heartbeat messages should be sent. | |
Timeout for heartbeats between cluster members. | |
Host and port to bind the cluster management communication. | |
Hostname and port to bind the HA server. | |
A comma-separated list of other members of the cluster to join. | |
Timeout for waiting for internal conditions during state switch, like for transactions to complete, before switching to master or slave. | |
Timeout for joining a cluster. | |
Timeout for learning values. | |
Timeout for waiting for cluster leave to finish. | |
Maximum number of servers to involve when agreeing to membership changes. | |
Maximum number of connections a slave can have to the master. | |
Default timeout for all Paxos timeouts. | |
Timeout for Paxos phase 1. | |
Timeout for Paxos phase 2. | |
Size of batches of transactions applied on slaves when pulling from master. | |
Interval of pulling updates from master. | |
Timeout for request threads waiting for instance to become master or slave. | |
Id for a cluster instance. | |
Timeout for taking remote (write) locks on slaves. | |
Whether this instance should only participate as slave in cluster. | |
How long a slave will wait for response from master before giving up. | |
The amount of slaves the master will ask to replicate a committed transaction. | |
Push strategy of a transaction to a slave during commit. | |
Enable reporting metrics about Bolt Protocol message processing. | |
Set to | |
The reporting interval for the CSV files. | |
Enable reporting metrics about number of occurred replanning events. | |
The default enablement value for all the supported metrics. | |
Set to | |
The reporting interval for Graphite. | |
The hostname or IP address of the Graphite server. | |
Enable reporting metrics about the buffer pools. | |
Enable reporting metrics about the duration of garbage collections. | |
Enable reporting metrics about the memory usage. | |
Enable reporting metrics about the current number of threads running. | |
Enable reporting metrics about Neo4j check pointing. | |
Enable reporting metrics about HA cluster info. | |
Enable reporting metrics about core-edge mode. | |
Enable reporting metrics about approximately how many entities are in the database. | |
The default enablement value for all Neo4j specific support metrics. | |
Enable reporting metrics about the Neo4j log rotation. | |
Enable reporting metrics about the network usage. | |
Enable reporting metrics about the Neo4j page cache. | |
Enable reporting metrics about Server threading info. | |
Enable reporting metrics about transactions. | |
A common prefix for the reported metrics field names. | |
Perform checks between nodes, relationships, properties, types and tokens. | |
Perform checks on indexes. | |
Perform checks on the label scan store. | |
Perform optional additional checking on property ownership. |
Deprecated settings
Name | Description |
---|---|
Size of buffer used by index sampling. |
browser.allow_outgoing_connections
Description | Configure the policy for outgoing Neo4j Browser connections. |
Valid values | browser.allow_outgoing_connections is a boolean |
Default value |
|
browser.credential_timeout
Description | Configure the Neo4j Browser to time out logged in users after this idle period. Setting this to 0 indicates no limit. |
Valid values | browser.credential_timeout is a duration (valid units are |
Default value |
|
browser.remote_content_hostname_whitelist
Description | Whitelist of hosts for the Neo4j Browser to be allowed to fetch content from. |
Valid values | browser.remote_content_hostname_whitelist is a string |
Default value |
|
browser.retain_connection_credentials
Description | Configure the Neo4j Browser to store or not store user credentials. |
Valid values | browser.retain_connection_credentials is a boolean |
Default value |
|
cypher.default_language_version
Description | Set this to specify the default parser (language version). |
Valid values | cypher.default_language_version is one of |
Default value |
|
cypher.forbid_exhaustive_shortestpath
Description | This setting is associated with performance optimization. Set this to |
Valid values | cypher.forbid_exhaustive_shortestpath is a boolean |
Default value |
|
cypher.hints_error
Description | Set this to specify the behavior when Cypher planner or runtime hints cannot be fulfilled. If true, then non-conformance will result in an error, otherwise only a warning is generated. |
Valid values | cypher.hints_error is a boolean |
Default value |
|
cypher.min_replan_interval
Description | The minimum lifetime of a query plan before a query is considered for replanning. |
Valid values | cypher.min_replan_interval is a duration (valid units are |
Default value |
|
cypher.planner
Description | Set this to specify the default planner for the default language version. |
Valid values | cypher.planner is one of |
Default value |
|
cypher.statistics_divergence_threshold
Description | The threshold when a plan is considered stale. If any of the underlying statistics used to create the plan has changed more than this value, the plan is considered stale and will be replanned. A value of 0 means always replan, and 1 means never replan. |
Valid values | cypher.statistics_divergence_threshold is a double which is minimum |
Default value |
|
dbms.active_database
Description | Name of the database to load. |
Valid values | dbms.active_database is a string |
Default value |
|
dbms.allow_format_migration
Description | Whether to allow a store upgrade in case the current version of the database starts against an older store version. Setting this to |
Valid values | dbms.allow_format_migration is a boolean |
Default value |
|
dbms.backup.address
Description | Listening server for online backups. |
Valid values | dbms.backup.address is a hostname and port |
Default value |
|
dbms.backup.enabled
Description | Enable support for running online backups. |
Valid values | dbms.backup.enabled is a boolean |
Default value |
|
dbms.checkpoint.interval.time
Description | Configures the time interval between check-points. The database will not check-point more often than this (unless check pointing is triggered by a different event), but might check-point less often than this interval, if performing a check-point takes longer time than the configured interval. A check-point is a point in the transaction logs, from which recovery would start from. Longer check-point intervals typically means that recovery will take longer to complete in case of a crash. On the other hand, a longer check-point interval can also reduce the I/O load that the database places on the system, as each check-point implies a flushing and forcing of all the store files. The default is 5m for a check-point every 5 minutes. Other supported units are s for seconds, and ms for milliseconds. |
Valid values | dbms.checkpoint.interval.time is a duration (valid units are |
Default value |
|
dbms.checkpoint.interval.tx
Description | Configures the transaction interval between check-points. The database will not check-point more often than this (unless check pointing is triggered by a different event), but might check-point less often than this interval, if performing a check-point takes longer time than the configured interval. A check-point is a point in the transaction logs, from which recovery would start from. Longer check-point intervals typically means that recovery will take longer to complete in case of a crash. On the other hand, a longer check-point interval can also reduce the I/O load that the database places on the system, as each check-point implies a flushing and forcing of all the store files. The default is 100000 for a check-point every 100000 transactions. |
Valid values | dbms.checkpoint.interval.tx is an integer which is minimum |
Default value |
|
dbms.checkpoint.iops.limit
Description | Limit the number of IOs the background checkpoint process will consume per second. This setting is advisory, is ignored in Neo4j Community Edition, and is followed to best effort in Enterprise Edition. An IO is in this case a 8 KiB (mostly sequential) write. Limiting the write IO in this way will leave more bandwidth in the IO subsystem to service random-read IOs, which is important for the response time of queries when the database cannot fit entirely in memory. The only drawback of this setting is that longer checkpoint times may lead to slightly longer recovery times in case of a database or system crash. A lower number means lower IO pressure, and consequently longer checkpoint times. The configuration can also be commented out to remove the limitation entirely, and let the checkpointer flush data as fast as the hardware will go. Set this to -1 to disable the IOPS limit. |
Valid values | dbms.checkpoint.iops.limit is an integer |
Default value |
|
dbms.directories.auth
Description | Location of the directory where to store users and roles used for authentication and authorization. |
Valid values | A filesystem path; relative paths are resolved against the installation root, <neo4j-home> |
dbms.directories.certificates
Description | Directory for storing certificates to be used by Neo4j for TLS connections. |
Valid values | A filesystem path; relative paths are resolved against the installation root, <neo4j-home> |
Default value |
|
dbms.directories.data
Description | Path of the data directory. You must not configure more than one Neo4j installation to use the same data directory. |
Valid values | A filesystem path; relative paths are resolved against the installation root, <neo4j-home> |
Default value |
|
dbms.directories.import
Description | Sets the root directory for file URLs used with the Cypher |
Valid values | A filesystem path; relative paths are resolved against the installation root, <neo4j-home> |
dbms.directories.lib
Description | Path of the lib directory. |
Valid values | A filesystem path; relative paths are resolved against the installation root, <neo4j-home> |
Default value |
|
dbms.directories.logs
Description | Path of the logs directory. |
Valid values | A filesystem path; relative paths are resolved against the installation root, <neo4j-home> |
Default value |
|
dbms.directories.metrics
Description | The target location of the CSV files: a path to a directory wherein a CSV file per reported field will be written. |
Valid values | A filesystem path; relative paths are resolved against the installation root, <neo4j-home> |
Default value |
|
dbms.directories.plugins
Description | Location of the database plugin directory. Compiled Java JAR files that contain database procedures will be loaded if they are placed in this directory. |
Valid values | A filesystem path; relative paths are resolved against the installation root, <neo4j-home> |
Default value |
|
dbms.directories.run
Description | Path of the run directory. |
Valid values | A filesystem path; relative paths are resolved against the installation root, <neo4j-home> |
Default value |
|
dbms.index_sampling.background_enabled
Description | Enable or disable background index sampling. |
Valid values | dbms.index_sampling.background_enabled is a boolean |
Default value |
|
dbms.index_sampling.buffer_size
Description | Size of buffer used by index sampling. This configuration setting is no longer applicable as from Neo4j 3.0.3.Please use |
Valid values | dbms.index_sampling.buffer_size is a byte size (valid multipliers are |
Default value |
|
Deprecated | The |
dbms.index_sampling.sample_size_limit
Description | Index sampling chunk size limit. |
Valid values | dbms.index_sampling.sample_size_limit is an integer which is minimum |
Default value |
|
dbms.index_sampling.update_percentage
Description | Percentage of index updates of total index size required before sampling of a given index is triggered. |
Valid values | dbms.index_sampling.update_percentage is an integer which is minimum |
Default value |
|
dbms.index_searcher_cache_size
Description | The maximum number of open Lucene index searchers. |
Valid values | dbms.index_searcher_cache_size is an integer which is minimum |
Default value |
|
dbms.logs.debug.level
Description | Debug log level threshold. |
Valid values | dbms.logs.debug.level is one of |
Default value |
|
dbms.logs.debug.rotation.delay
Description | Minimum time interval after last rotation of the debug log before it may be rotated again. |
Valid values | dbms.logs.debug.rotation.delay is a duration (valid units are |
Default value |
|
dbms.logs.debug.rotation.keep_number
Description | Maximum number of history files for the debug log. |
Valid values | dbms.logs.debug.rotation.keep_number is an integer which is minimum |
Default value |
|
dbms.logs.debug.rotation.size
Description | Threshold for rotation of the debug log. |
Valid values | dbms.logs.debug.rotation.size is a byte size (valid multipliers are |
Default value |
|
dbms.logs.gc.enabled
Description | Enable GC Logging. |
Valid values | dbms.logs.gc.enabled is a boolean |
Default value |
|
dbms.logs.gc.options
Description | GC Logging Options. |
Valid values | dbms.logs.gc.options is a string |
Default value |
|
dbms.logs.gc.rotation.keep_number
Description | Number of GC logs to keep. |
Valid values | dbms.logs.gc.rotation.keep_number is an integer |
Default value |
|
dbms.logs.gc.rotation.size
Description | Size of each GC log that is kept. |
Valid values | dbms.logs.gc.rotation.size is a byte size (valid multipliers are |
Default value |
|
dbms.logs.http.enabled
Description | Enable HTTP request logging. |
Valid values | dbms.logs.http.enabled is a boolean |
Default value |
|
dbms.logs.http.rotation.keep_number
Description | Number of HTTP logs to keep. |
Valid values | dbms.logs.http.rotation.keep_number is an integer |
Default value |
|
dbms.logs.http.rotation.size
Description | Size of each HTTP log that is kept. |
Valid values | dbms.logs.http.rotation.size is a byte size (valid multipliers are |
Default value |
|
dbms.logs.query.enabled
Description | Log executed queries that takes longer than the configured threshold. NOTE: This feature is only available in the Neo4j Enterprise Edition. |
Valid values | dbms.logs.query.enabled is a boolean |
Default value |
|
dbms.logs.query.parameter_logging_enabled
Description | Log parameters for executed queries that took longer than the configured threshold. |
Valid values | dbms.logs.query.parameter_logging_enabled is a boolean |
Default value |
|
dbms.logs.query.rotation.keep_number
Description | Maximum number of history files for the query log. |
Valid values | dbms.logs.query.rotation.keep_number is an integer which is minimum |
Default value |
|
dbms.logs.query.rotation.size
Description | The file size in bytes at which the query log will auto-rotate. If set to zero then no rotation will occur. Accepts a binary suffix |
Valid values | dbms.logs.query.rotation.size is a byte size (valid multipliers are |
Default value |
|
dbms.logs.query.threshold
Description | If the execution of query takes more time than this threshold, the query is logged - provided query logging is enabled. Defaults to 0 seconds, that is all queries are logged. |
Valid values | dbms.logs.query.threshold is a duration (valid units are |
Default value |
|
dbms.memory.pagecache.size
Description | The amount of memory to use for mapping the store files, in bytes (or kilobytes with the k suffix, megabytes with m and gigabytes with g). If Neo4j is running on a dedicated server, then it is generally recommended to leave about 2-4 gigabytes for the operating system, give the JVM enough heap to hold all your transaction state and query context, and then leave the rest for the page cache. The default page cache memory assumes the machine is dedicated to running Neo4j, and is heuristically set to 50% of RAM minus the max Java heap size. |
Valid values | dbms.memory.pagecache.size is a byte size (valid multipliers are |
Default value |
|
dbms.memory.pagecache.swapper
Description | Specify which page swapper to use for doing paged IO. This is only used when integrating with proprietary storage technology. |
Valid values | dbms.memory.pagecache.swapper is a string |
dbms.mode
Description | Configure the operating mode of the database — SINGLE for stand-alone operation, HA for operating as a member in a cluster or ARBITER for an HA-only cluster member with no database. |
Valid values | dbms.mode is a string |
Default value |
|
dbms.query_cache_size
Description | The number of Cypher query execution plans that are cached. |
Valid values | dbms.query_cache_size is an integer which is minimum |
Default value |
|
dbms.read_only
Description | Only allow read operations from this Neo4j instance. This mode still requires write access to the directory for lock purposes. |
Valid values | dbms.read_only is a boolean |
Default value |
|
dbms.record_format
Description | Database record format. Enterprise edition only. Valid values: |
Valid values | dbms.record_format is a string |
Default value |
dbms.relationship_grouping_threshold
Description | Relationship count threshold for considering a node to be dense. |
Valid values | dbms.relationship_grouping_threshold is an integer which is minimum |
Default value |
|
dbms.security.allow_csv_import_from_file_urls
Description | Determines if Cypher will allow using file URLs when loading data using |
Valid values | dbms.security.allow_csv_import_from_file_urls is a boolean |
Default value |
|
dbms.security.auth_enabled
Description | Enable auth requirement to access Neo4j. |
Valid values | dbms.security.auth_enabled is a boolean |
Default value |
|
dbms.security.ha_status_auth_enabled
Description | Require authorization for access to the HA status endpoints. |
Valid values | dbms.security.ha_status_auth_enabled is a boolean |
Default value |
|
dbms.security.http_authorization_classes
Description | Comma-seperated list of custom security rules for Neo4j to use. |
Valid values | dbms.security.http_authorization_classes is a comma-seperated string |
Default value |
|
dbms.shell.enabled
Description | Enable a remote shell server which Neo4j Shell clients can log in to. |
Valid values | dbms.shell.enabled is a boolean |
Default value |
|
dbms.shell.host
Description | Remote host for shell. By default, the shell server listens only on the loopback interface, but you can specify the IP address of any network interface or use |
Valid values | dbms.shell.host is a string which must be a valid name |
Default value |
|
dbms.shell.port
Description | The port the shell will listen on. |
Valid values | dbms.shell.port is an integer which must be a valid port number (is in the range |
Default value |
|
dbms.shell.read_only
Description | Read only mode. Will only allow read operations. |
Valid values | dbms.shell.read_only is a boolean |
Default value |
|
dbms.shell.rmi_name
Description | The name of the shell. |
Valid values | dbms.shell.rmi_name is a string which must be a valid name |
Default value |
|
dbms.threads.worker_count
Description | Number of Neo4j worker threads, your OS might enforce a lower limit than the maximum value specified here. |
Valid values | dbms.threads.worker_count is an integer which is in the range |
Default value |
|
dbms.transaction_timeout
Description | Timeout for idle transactions. |
Valid values | dbms.transaction_timeout is a duration (valid units are |
Default value |
|
dbms.tx_log.rotation.retention_policy
Description | Make Neo4j keep the logical transaction logs for being able to backup the database. Can be used for specifying the threshold to prune logical logs after. For example "10 days" will prune logical logs that only contains transactions older than 10 days from the current time, or "100k txs" will keep the 100k latest transactions and prune any older transactions. |
Valid values | dbms.tx_log.rotation.retention_policy is a string which must be |
Default value |
|
dbms.tx_log.rotation.size
Description | Specifies at which file size the logical log will auto-rotate. |
Valid values | dbms.tx_log.rotation.size is a byte size (valid multipliers are |
Default value |
|
dbms.udc.enabled
Description | Enable the UDC extension. |
Valid values | dbms.udc.enabled is a boolean |
Default value |
|
dbms.unmanaged_extension_classes
Description | Comma-separated list of <classname>=<mount point> for unmanaged extensions. |
Valid values | dbms.unmanaged_extension_classes is a comma-seperated list of <classname>=<mount point> strings |
Default value |
|
ha.allow_init_cluster
Description | Whether to allow this instance to create a cluster if unable to join. |
Valid values | ha.allow_init_cluster is a boolean |
Default value |
|
ha.branched_data_policy
Description | Policy for how to handle branched data. |
Valid values | ha.branched_data_policy is one of |
Default value |
|
ha.broadcast_timeout
Description | Timeout for broadcasting values in cluster. Must consider end-to-end duration of Paxos algorithm. This value is the default value for the |
Valid values | ha.broadcast_timeout is a duration (valid units are |
Default value |
|
ha.configuration_timeout
Description | Timeout for waiting for configuration from an existing cluster member during cluster join. |
Valid values | ha.configuration_timeout is a duration (valid units are |
Default value |
|
ha.data_chunk_size
Description | Max size of the data chunks that flows between master and slaves in HA. Bigger size may increase throughput, but may also be more sensitive to variations in bandwidth, whereas lower size increases tolerance for bandwidth variations. |
Valid values | ha.data_chunk_size is a byte size (valid multipliers are |
Default value |
|
ha.default_timeout
Description | Default timeout used for clustering timeouts. Override specific timeout settings with proper values if necessary. This value is the default value for the |
Valid values | ha.default_timeout is a duration (valid units are |
Default value |
|
ha.election_timeout
Description | Timeout for waiting for other members to finish a role election. Defaults to |
Valid values | ha.election_timeout is a duration (valid units are |
Default value |
|
ha.heartbeat_interval
Description | How often heartbeat messages should be sent. Defaults to |
Valid values | ha.heartbeat_interval is a duration (valid units are |
Default value |
|
ha.heartbeat_timeout
Description | Timeout for heartbeats between cluster members. Should be at least twice that of |
Valid values | ha.heartbeat_timeout is a duration (valid units are |
Default value |
|
ha.host.coordination
Description | Host and port to bind the cluster management communication. |
Valid values | ha.host.coordination is a hostname and port |
Default value |
|
ha.host.data
Description | Hostname and port to bind the HA server. |
Valid values | ha.host.data is a hostname and port |
Default value |
|
ha.initial_hosts
Description | A comma-separated list of other members of the cluster to join. |
Valid values | ha.initial_hosts is a list separated by "," where items are a hostname and port |
Mandatory | The |
ha.internal_role_switch_timeout
Description | Timeout for waiting for internal conditions during state switch, like for transactions to complete, before switching to master or slave. |
Valid values | ha.internal_role_switch_timeout is a duration (valid units are |
Default value |
|
ha.join_timeout
Description | Timeout for joining a cluster. Defaults to |
Valid values | ha.join_timeout is a duration (valid units are |
Default value |
|
ha.learn_timeout
Description | Timeout for learning values. Defaults to |
Valid values | ha.learn_timeout is a duration (valid units are |
Default value |
|
ha.leave_timeout
Description | Timeout for waiting for cluster leave to finish. Defaults to |
Valid values | ha.leave_timeout is a duration (valid units are |
Default value |
|
ha.max_acceptors
Description | Maximum number of servers to involve when agreeing to membership changes. In very large clusters, the probability of half the cluster failing is low, but protecting against any arbitrary half failing is expensive. Therefore you may wish to set this parameter to a value less than the cluster size. |
Valid values | ha.max_acceptors is an integer which is minimum |
Default value |
|
ha.max_channels_per_slave
Description | Maximum number of connections a slave can have to the master. |
Valid values | ha.max_channels_per_slave is an integer which is minimum |
Default value |
|
ha.paxos_timeout
Description | Default timeout for all Paxos timeouts. Defaults to |
Valid values | ha.paxos_timeout is a duration (valid units are |
Default value |
|
ha.phase1_timeout
Description | Timeout for Paxos phase 1. Defaults to |
Valid values | ha.phase1_timeout is a duration (valid units are |
Default value |
|
ha.phase2_timeout
Description | Timeout for Paxos phase 2. Defaults to |
Valid values | ha.phase2_timeout is a duration (valid units are |
Default value |
|
ha.pull_batch_size
Description | Size of batches of transactions applied on slaves when pulling from master. |
Valid values | ha.pull_batch_size is an integer |
Default value |
|
ha.pull_interval
Description | Interval of pulling updates from master. |
Valid values | ha.pull_interval is a duration (valid units are |
Default value |
|
ha.role_switch_timeout
Description | Timeout for request threads waiting for instance to become master or slave. |
Valid values | ha.role_switch_timeout is a duration (valid units are |
Default value |
|
ha.server_id
Description | Id for a cluster instance. Must be unique within the cluster. |
Valid values | ha.server_id is an instance id, which has to be a valid integer |
Mandatory | The |
ha.slave_lock_timeout
Description | Timeout for taking remote (write) locks on slaves. Defaults to |
Valid values | ha.slave_lock_timeout is a duration (valid units are |
Default value |
|
ha.slave_only
Description | Whether this instance should only participate as slave in cluster. If set to |
Valid values | ha.slave_only is a boolean |
Default value |
|
ha.slave_read_timeout
Description | How long a slave will wait for response from master before giving up. |
Valid values | ha.slave_read_timeout is a duration (valid units are |
Default value |
|
ha.tx_push_factor
Description | The amount of slaves the master will ask to replicate a committed transaction. |
Valid values | ha.tx_push_factor is an integer which is minimum |
Default value |
|
ha.tx_push_strategy
Description | Push strategy of a transaction to a slave during commit. |
Valid values | ha.tx_push_strategy is one of |
Default value |
|
metrics.bolt.messages.enabled
Description | Enable reporting metrics about Bolt Protocol message processing. |
Valid values | metrics.bolt.messages.enabled is a boolean |
Default value |
|
metrics.csv.enabled
Description | Set to |
Valid values | metrics.csv.enabled is a boolean |
Default value |
|
metrics.csv.interval
Description | The reporting interval for the CSV files. That is, how often new rows with numbers are appended to the CSV files. |
Valid values | metrics.csv.interval is a duration (valid units are |
Default value |
|
metrics.cypher.replanning.enabled
Description | Enable reporting metrics about number of occurred replanning events. |
Valid values | metrics.cypher.replanning.enabled is a boolean |
Default value |
|
metrics.enabled
Description | The default enablement value for all the supported metrics. Set this to |
Valid values | metrics.enabled is a boolean |
Default value |
|
metrics.graphite.enabled
Description | Set to |
Valid values | metrics.graphite.enabled is a boolean |
Default value |
|
metrics.graphite.interval
Description | The reporting interval for Graphite. That is, how often to send updated metrics to Graphite. |
Valid values | metrics.graphite.interval is a duration (valid units are |
Default value |
|
metrics.graphite.server
Description | The hostname or IP address of the Graphite server. |
Valid values | metrics.graphite.server is a hostname and port |
Default value |
|
metrics.jvm.buffers.enabled
Description | Enable reporting metrics about the buffer pools. |
Valid values | metrics.jvm.buffers.enabled is a boolean |
Default value |
|
metrics.jvm.gc.enabled
Description | Enable reporting metrics about the duration of garbage collections. |
Valid values | metrics.jvm.gc.enabled is a boolean |
Default value |
|
metrics.jvm.memory.enabled
Description | Enable reporting metrics about the memory usage. |
Valid values | metrics.jvm.memory.enabled is a boolean |
Default value |
|
metrics.jvm.threads.enabled
Description | Enable reporting metrics about the current number of threads running. |
Valid values | metrics.jvm.threads.enabled is a boolean |
Default value |
|
metrics.neo4j.checkpointing.enabled
Description | Enable reporting metrics about Neo4j check pointing; when it occurs and how much time it takes to complete. |
Valid values | metrics.neo4j.checkpointing.enabled is a boolean |
Default value |
|
metrics.neo4j.cluster.enabled
Description | Enable reporting metrics about HA cluster info. |
Valid values | metrics.neo4j.cluster.enabled is a boolean |
Default value |
|
metrics.neo4j.core_edge.enabled
Description | Enable reporting metrics about core-edge mode. |
Valid values | metrics.neo4j.core_edge.enabled is a boolean |
Default value |
|
metrics.neo4j.counts.enabled
Description | Enable reporting metrics about approximately how many entities are in the database; nodes, relationships, properties, etc. |
Valid values | metrics.neo4j.counts.enabled is a boolean |
Default value |
|
metrics.neo4j.enabled
Description | The default enablement value for all Neo4j specific support metrics. Set this to |
Valid values | metrics.neo4j.enabled is a boolean |
Default value |
|
metrics.neo4j.logrotation.enabled
Description | Enable reporting metrics about the Neo4j log rotation; when it occurs and how much time it takes to complete. |
Valid values | metrics.neo4j.logrotation.enabled is a boolean |
Default value |
|
metrics.neo4j.network.enabled
Description | Enable reporting metrics about the network usage. |
Valid values | metrics.neo4j.network.enabled is a boolean |
Default value |
|
metrics.neo4j.pagecache.enabled
Description | Enable reporting metrics about the Neo4j page cache; page faults, evictions, flushes, exceptions, etc. |
Valid values | metrics.neo4j.pagecache.enabled is a boolean |
Default value |
|
metrics.neo4j.server.enabled
Description | Enable reporting metrics about Server threading info. |
Valid values | metrics.neo4j.server.enabled is a boolean |
Default value |
|
metrics.neo4j.tx.enabled
Description | Enable reporting metrics about transactions; number of transactions started, committed, etc. |
Valid values | metrics.neo4j.tx.enabled is a boolean |
Default value |
|
metrics.prefix
Description | A common prefix for the reported metrics field names. By default, this is either be neo4j, or a computed value based on the cluster and instance names, when running in an HA configuration. |
Valid values | metrics.prefix is a string |
Default value |
|
tools.consistency_checker.check_graph
Description | Perform checks between nodes, relationships, properties, types and tokens. |
Valid values | tools.consistency_checker.check_graph is a boolean |
Default value |
|
tools.consistency_checker.check_indexes
Description | Perform checks on indexes. Checking indexes is more expensive than checking the native stores, so it may be useful to turn off this check for very large databases. |
Valid values | tools.consistency_checker.check_indexes is a boolean |
Default value |
|
tools.consistency_checker.check_label_scan_store
Description | Perform checks on the label scan store. Checking this store is more expensive than checking the native stores, so it may be useful to turn off this check for very large databases. |
Valid values | tools.consistency_checker.check_label_scan_store is a boolean |
Default value |
|
tools.consistency_checker.check_property_owners
Description | Perform optional additional checking on property ownership. This can detect a theoretical inconsistency where a property could be owned by multiple entities. However, the check is very expensive in time and memory, so it is skipped by default. |
Valid values | tools.consistency_checker.check_property_owners is a boolean |
Default value |
|
Configuring Bolt Connectors
Bolt Connectors are ports that accept connections via the Bolt Database Protocol, which is the protocol used by official Neo4j Driver Libraries. Neo4j can be configured with one or more Bolt connectors. This allows separate connectors to be configured for remote and local connections, with different encryption requirements.
Each connector has a unique key to identify it, denoted (bolt-connector-key)
in the listing below.
Configuration options for Bolt connectors. "(bolt-connector-key)" is a placeholder for a unique name for the connector, for instance "bolt-public" or some other name that describes what the connector is for.
Name | Description |
---|---|
Address the connector should bind to. | |
Enable this connector. | |
Encryption level to require this connector to use. | |
Connector type. |
dbms.connector.(bolt-connector-key).address
Description | Address the connector should bind to. |
Valid values | address is a hostname and port |
Default value |
|
dbms.connector.(bolt-connector-key).enabled
Description | Enable this connector. |
Valid values | enabled is a boolean |
Default value |
|
dbms.connector.(bolt-connector-key).tls_level
Description | Encryption level to require this connector to use. |
Valid values | tls_level is one of |
Default value |
|
dbms.connector.(bolt-connector-key).type
Description | Connector type. You should always set this to the connector type you want. |
Valid values | type is one of |
Default value |
|
Caution Using auto-generation of self-signed SSL certificates will not work if the Neo4j server has been configured with multiple connectors that bind to different IP addresses. If you need to use multiple IP addresses, please configure certificates manually and use multi-host or wildcard certificates instead. |
Configuring HTTP Connectors
HTTP Connectors expose Neo4j’s HTTP endpoints. HTTPS connectors are configured by setting a connector to require encryption. There must be exactly one HTTP connector and zero or one HTTPS connectors configured.
Each connector has a unique key to identify it, denoted (http-connector-key)
in the listing below.
Configuration options for HTTP connectors. "(http-connector-key)" is a placeholder for a unique name for the connector, for instance "http-public" or some other name that describes what the connector is for.
Name | Description |
---|---|
Address the connector should bind to. | |
Enable this connector. | |
Enable TLS for this connector. | |
Connector type. |
dbms.connector.(http-connector-key).address
Description | Address the connector should bind to. |
Valid values | address is a hostname and port |
Default value |
|
dbms.connector.(http-connector-key).enabled
Description | Enable this connector. |
Valid values | enabled is a boolean |
Default value |
|
dbms.connector.(http-connector-key).encryption
Description | Enable TLS for this connector. |
Valid values | encryption is one of |
Default value |
|
dbms.connector.(http-connector-key).type
Description | Connector type. You should always set this to the connector type you want. |
Valid values | type is one of |
Default value |
|
Caution Using auto-generation of self-signed SSL certificates will not work if the Neo4j server has been configured with multiple connectors that bind to different IP addresses. If you need to use multiple IP addresses, please configure certificates manually and use multi-host or wildcard certificates instead. |