These are the configuration options you can pass to the neo4j kernel. They can either be passed as a map when using the embedded database, or in the neo4j.properties file when using the Neo4j Server.
Allow store upgrade
Default value: false
|
---|
Whether to allow a store upgrade in case the current version of the database starts against an older store version. Setting this to true does not guarantee successful upgrade, justthat it allows an attempt at it. |
Array block size
Specifies the block size for storing arrays. This parameter is only honored when the store is created, otherwise it is ignored. The default block size is 120 bytes, and the overhead of each block is the same as for string blocks, i.e., 8 bytes. | |
---|---|
Limit | Value |
Default value: 120
| |
min |
|
Cache type
The type of cache to use for nodes and relationships. Note that the Neo4j Enterprise Edition has the additional 'gcr' cache type. See the chapter on caches in the manual for more information. | |
---|---|
Value | Description |
Default value: soft
| |
| Provides optimal utilization of the available memory. Suitable for high performance traversal. May run into GC issues under high load if the frequently accessed parts of the graph does not fit in the cache. |
| Use weak reference cache. |
| Use strong references. |
| Don’t use caching. |
Cypher parser version
Enable this to specify a parser other than the default one. | |
---|---|
Value | Description |
| Cypher v1.5 syntax. |
| Cypher v1.6 syntax. |
| Cypher v1.7 syntax. |
Dump configuration
Default value: false
|
---|
Print out the effective Neo4j configuration after startup. |
Forced kernel id
Default value:
|
---|
An identifier that uniquely identifies this graph database instance within this JVM. Defaults to an auto-generated number depending on how many instance are started in this JVM. |
Gc monitor threshold
Default value: 200ms
|
---|
The amount of time in ms the monitor thread has to be blocked before logging a message it was blocked. |
Gc monitor wait time
Default value: 100ms
|
---|
Amount of time in ms the GC monitor thread will wait before taking another measurement. |
Gcr cache min log interval
Default value: 60s
|
---|
The minimal time that must pass in between logging statistics from the cache (when using the 'gcr' cache). |
Intercept committing transactions
Default value: false
|
---|
Determines whether any TransactionInterceptors loaded will intercept prepared transactions before they reach the logical log. |
Intercept deserialized transactions
Default value: false
|
---|
Determines whether any TransactionInterceptors loaded will intercept externally received transactions (e.g. in HA) before they reach the logical log and are applied to the store. |
Keep logical logs
Default value: true
|
---|
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. |
Logging.threshold for rotation
Threshold in bytes for when database logs (text logs, for debugging, that is) are rotated. | |
---|---|
Limit | Value |
Default value: 104857600
| |
min |
|
Logical log
Default value: nioneo_logical.log
|
---|
The base name for the logical log files, either an absolute path or relative to the store_dir setting. This should generally not be changed. |
Lucene searcher cache size
Integer value that sets the maximum number of open lucene index searchers. | |
---|---|
Limit | Value |
Default value: 2147483647
| |
min |
|
Lucene writer cache size
NOTE: This no longer has any effect. Integer value that sets the maximum number of open lucene index writers. | |
---|---|
Limit | Value |
Default value: 2147483647
| |
min |
|
Neo store
Default value: neostore
|
---|
The base name for the Neo4j Store files, either an absolute path or relative to the store_dir setting. This should generally not be changed. |
Neostore.nodestore.db.mapped memory
Default value: 20M
|
---|
The size to allocate for memory mapping the node store. |
Neostore.propertystore.db.arrays.mapped memory
Default value: 130M
|
---|
The size to allocate for memory mapping the array property store. |
Neostore.propertystore.db.index.keys.mapped memory
Default value: 1M
|
---|
The size to allocate for memory mapping the store for property key strings. |
Neostore.propertystore.db.index.mapped memory
Default value: 1M
|
---|
The size to allocate for memory mapping the store for property key indexes. |
Neostore.propertystore.db.mapped memory
Default value: 90M
|
---|
The size to allocate for memory mapping the property value store. |
Neostore.propertystore.db.strings.mapped memory
Default value: 130M
|
---|
The size to allocate for memory mapping the string property store. |
Neostore.relationshipstore.db.mapped memory
Default value: 100M
|
---|
The size to allocate for memory mapping the relationship store. |
Node auto indexing
Default value: false
|
---|
Controls the auto indexing feature for nodes. Setting to false shuts it down, while true enables it by default for properties listed in the node_keys_indexable setting. |
Node cache array fraction
The fraction of the heap (1%-10%) to use for the base array in the node cache (when using the 'gcr' cache). | |
---|---|
Limit | Value |
Default value: 1.0
| |
min |
|
max |
|
Node cache size
The amount of memory to use for the node cache (when using the 'gcr' cache). |
Node keys indexable
A list of property names (comma separated) that will be indexed by default. This applies to Nodes only. |
Read only database
Default value: false
|
---|
Only allow read operations from this Neo4j instance. |
Rebuild idgenerators fast
Default value: true
|
---|
Use a quick approach for rebuilding the ID generators. This give quicker recovery time, but will limit the ability to reuse the space of deleted entities. |
Relationship auto indexing
Default value: false
|
---|
Controls the auto indexing feature for relationships. Setting to false shuts it down, while true enables it by default for properties listed in the relationship_keys_indexable setting. |
Relationship cache array fraction
The fraction of the heap (1%-10%) to use for the base array in the relationship cache (when using the 'gcr' cache). | |
---|---|
Limit | Value |
Default value: 1.0
| |
min |
|
max |
|
Relationship cache size
The amount of memory to use for the relationship cache (when using the 'gcr' cache). |
Relationship keys indexable
A list of property names (comma separated) that will be indexed by default. This applies to Relationships only. |
Remote logging enabled
Default value: false
|
---|
Whether to enable logging to a remote server or not. |
Remote logging host
Default value: 127.0.0.1
|
---|
Host for remote logging using LogBack SocketAppender. |
Remote logging port
Port for remote logging using LogBack SocketAppender. | |
---|---|
Limit | Value |
Default value: 4560
| |
min |
|
max |
|
String block size
Specifies the block size for storing strings. This parameter is only honored when the store is created, otherwise it is ignored. Note that each character in a string occupies two bytes, meaning that a block size of 120 (the default size) will hold a 60 character long string before overflowing into a second block. Also note that each block carries an overhead of 8 bytes. This means that if the block size is 120, the size of the stored records will be 128 bytes. | |
---|---|
Limit | Value |
Default value: 120
| |
min |
|
Tx manager impl
The name of the Transaction Manager service to use as defined in the TM service provider constructor, defaults to native. |
Use memory mapped buffers
Tell Neo4j to use memory mapped buffers for accessing the native storage layer. |
Copyright © 2012 Neo Technology