MBeans exposed by Neo4j
Name | Description |
---|---|
Information about the branched stores present in this HA cluster member. | |
The configuration parameters used to configure Neo4j. | |
Diagnostics provided by Neo4j. | |
Information about an instance participating in a HA cluster. | |
Handle index sampling. | |
Information about the Neo4j kernel. | |
Information about the Neo4j lock status. | |
The status of Neo4j memory mapping. | |
Information about the Neo4j page cache. All numbers are counts and sums since the Neo4j instance was started. | |
Estimates of the numbers of different kinds of Neo4j primitives. | |
Information about the sizes of the different parts of the Neo4j graph store. | |
Information about the Neo4j transaction manager. |
Note For additional information on the primitive datatypes ( |
MBean Branched Store (org.neo4j.management.BranchedStore) Attributes
Name | Description | Type | Read | Write |
---|---|---|---|---|
Information about the branched stores present in this HA cluster member | ||||
| A list of the branched stores | yes | no |
MBean Configuration (org.neo4j.jmx.impl.ConfigurationBean) Attributes
Name | Description | Type | Read | Write |
---|---|---|---|---|
The configuration parameters used to configure Neo4j | ||||
| Set this to specify the default parser (language version). |
| yes | no |
| This setting is associated with performance optimization. Set this to |
| yes | no |
| 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. |
| yes | no |
| Set this to specify the default planner for the default language version. |
| yes | no |
| Whether to allow a store upgrade in case the current version of the database starts against an older store version. Setting this to |
| yes | no |
| Controls the auto indexing feature for nodes. Setting it to |
| yes | no |
| A list of property names (comma separated) that will be indexed by default. This applies to nodes only. |
| yes | no |
| Controls the auto indexing feature for relationships. Setting it to |
| yes | no |
| A list of property names (comma separated) that will be indexed by default. This applies to relationships only. |
| yes | no |
| Listening server for online backups |
| yes | no |
| Enable support for running online backups |
| yes | no |
| 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. |
| yes | no |
| 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. |
| yes | no |
| 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. |
| yes | no |
| Location of the directory where to store users and roles used for authentication and authorization. |
| yes | no |
| Path of the logs directory |
| yes | no |
| Location of the database plugin directory. Compiled Java JAR files that contain database procedures will be loaded if they are placed in this directory. |
| yes | no |
| Enable or disable background index sampling |
| yes | no |
| Size of buffer used by index sampling. This configuration setting is no longer applicable as from Neo4j 3.0.3.Please use dbms.index_sampling.sample_size_limit instead. |
| yes | no |
| Index sampling chunk size limit |
| yes | no |
| Percentage of index updates of total index size required before sampling of a given index is triggered |
| yes | no |
| Debug log level threshold. |
| yes | no |
| Minimum time interval after last rotation of the debug log before it may be rotated again. |
| yes | no |
| Maximum number of history files for the debug log. |
| yes | no |
| Threshold for rotation of the debug log. |
| yes | no |
| Log executed queries that takes longer than the configured threshold. NOTE: This feature is only available in the Neo4j Enterprise Edition. |
| yes | no |
| Log parameters for executed queries that took longer than the configured threshold. |
| yes | no |
| Maximum number of history files for the query log. |
| yes | no |
| 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 |
| yes | no |
| 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. |
| yes | no |
| 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. |
| yes | no |
| Specify which page swapper to use for doing paged IO. This is only used when integrating with proprietary storage technology. |
| yes | no |
| Only allow read operations from this Neo4j instance. This mode still requires write access to the directory for lock purposes. |
| yes | no |
| Database record format. Enterprise edition only. Valid values: |
| yes | no |
| Relationship count threshold for considering a node to be dense |
| yes | no |
| Enable auth requirement to access Neo4j. |
| yes | no |
| Require authorization for access to the HA status endpoints. |
| yes | no |
| Enable a remote shell server which Neo4j Shell clients can log in to. |
| yes | no |
| 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 |
| yes | no |
| The port the shell will listen on. |
| yes | no |
| Read only mode. Will only allow read operations. |
| yes | no |
| The name of the shell. |
| yes | no |
| 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. |
| yes | no |
| Specifies at which file size the logical log will auto-rotate. |
| yes | no |
| Whether to allow this instance to create a cluster if unable to join. |
| yes | no |
| Policy for how to handle branched data. |
| yes | no |
| Timeout for broadcasting values in cluster. Must consider end-to-end duration of Paxos algorithm. This value is the default value for the ha.join_timeout and ha.leave_timeout settings. |
| yes | no |
| Timeout for waiting for configuration from an existing cluster member during cluster join. |
| yes | no |
| 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. |
| yes | no |
| Default timeout used for clustering timeouts. Override specific timeout settings with proper values if necessary. This value is the default value for the ha.heartbeat_interval, ha.paxos_timeout and ha.learn_timeout settings. |
| yes | no |
| Timeout for waiting for other members to finish a role election. Defaults to ha.paxos_timeout. |
| yes | no |
| How often heartbeat messages should be sent. Defaults to ha.default_timeout. |
| yes | no |
| Timeout for heartbeats between cluster members. Should be at least twice that of ha.heartbeat_interval. |
| yes | no |
| Host and port to bind the cluster management communication. |
| yes | no |
| Hostname and port to bind the HA server. |
| yes | no |
| A comma-separated list of other members of the cluster to join. |
| yes | no |
| Timeout for waiting for internal conditions during state switch, like for transactions to complete, before switching to master or slave. |
| yes | no |
| Timeout for joining a cluster. Defaults to ha.broadcast_timeout. |
| yes | no |
| Timeout for learning values. Defaults to ha.default_timeout. |
| yes | no |
| Timeout for waiting for cluster leave to finish. Defaults to ha.broadcast_timeout. |
| yes | no |
| 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. |
| yes | no |
| Maximum number of connections a slave can have to the master. |
| yes | no |
| Default timeout for all Paxos timeouts. Defaults to ha.default_timeout. This value is the default value for the ha.phase1_timeout, ha.phase2_timeout and ha.election_timeout settings. |
| yes | no |
| Timeout for Paxos phase 1. Defaults to ha.paxos_timeout. |
| yes | no |
| Timeout for Paxos phase 2. Defaults to ha.paxos_timeout. |
| yes | no |
| Size of batches of transactions applied on slaves when pulling from master |
| yes | no |
| Interval of pulling updates from master. |
| yes | no |
| Timeout for request threads waiting for instance to become master or slave. |
| yes | no |
| Id for a cluster instance. Must be unique within the cluster. |
| yes | no |
| Timeout for taking remote (write) locks on slaves. Defaults to ha.slave_read_timeout. |
| yes | no |
| Whether this instance should only participate as slave in cluster. If set to |
| yes | no |
| How long a slave will wait for response from master before giving up. |
| yes | no |
| The amount of slaves the master will ask to replicate a committed transaction. |
| yes | no |
| Push strategy of a transaction to a slave during commit. |
| yes | no |
| Configuration attribute |
| yes | no |
| Enable tracing of compilation in cypher. |
| yes | no |
| Set this to specify the default runtime for the default language version. |
| yes | no |
| Specifies the block size for storing arrays. This parameter is only honored when the store is created, otherwise it is ignored. Also note that each block carries a ~10B of overhead so record size on disk will be slightly larger than the configured block size |
| yes | no |
| Specifies the block size for storing labels exceeding in-lined space in node record. This parameter is only honored when the store is created, otherwise it is ignored. Also note that each block carries a ~10B of overhead so record size on disk will be slightly larger than the configured block size |
| yes | no |
| 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 e.g a block size of 120 will hold a 60 character long string before overflowing into a second block. Also note that each block carries a ~10B of overhead so record size on disk will be slightly larger than the configured block size |
| yes | no |
| Maximum time to wait for active transaction completion when rotating counts store |
| yes | no |
| Root relative to which directory settings are resolved. This is set in code and should never be configured explicitly. |
| yes | no |
| Disable all protocol connectors. |
| yes | no |
| Configuration attribute |
| yes | no |
| Configuration attribute |
| yes | no |
| The amount of time in ms the monitor thread has to be blocked before logging a message it was blocked. |
| yes | no |
| Amount of time in ms the GC monitor thread will wait before taking another measurement. |
| yes | no |
| 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. |
| yes | no |
| 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. |
| yes | no |
| Debug log contexts that should output debug level logging |
| yes | no |
| Target size for pages of mapped memory. If set to 0, then a reasonable default is chosen, depending on the storage device used. |
| yes | no |
| Print out the effective Neo4j configuration after startup. |
| yes | no |
| The maximum amount of time to wait for running transactions to complete before allowing initiated database shutdown to continue |
| yes | no |
| The maximum amount of time to wait for the database to become available, when starting a new transaction. |
| yes | no |
| The name of a cluster. |
| yes | no |
| Specifies number of operations that batch inserter will try to group into one batch before flushing data into underlying storage. |
| yes | no |
MBean Diagnostics (org.neo4j.management.Diagnostics) Attributes
Name | Description | Type | Read | Write |
---|---|---|---|---|
Diagnostics provided by Neo4j | ||||
| A list of the ids for the registered diagnostics providers. |
| yes | no |
MBean Diagnostics (org.neo4j.management.Diagnostics) Operations
Name | Description | ReturnType | Signature |
---|---|---|---|
| Dump diagnostics information to JMX |
|
|
| Dump diagnostics information to the log. |
|
|
| Dump diagnostics information to the log. |
|
|
| Operation exposed for management |
|
|
MBean High Availability (org.neo4j.management.HighAvailability) Attributes
Name | Description | Type | Read | Write |
---|---|---|---|---|
Information about an instance participating in a HA cluster | ||||
| Whether this instance is alive or not |
| yes | no |
| Whether this instance is available or not |
| yes | no |
| The identifier used to identify this server in the HA cluster |
| yes | no |
| Information about all instances in this cluster | yes | no | |
| The latest transaction id present in this instance’s store |
| yes | no |
| The time when the data on this instance was last updated from the master |
| yes | no |
| The role this instance has in the cluster |
| yes | no |
MBean High Availability (org.neo4j.management.HighAvailability) Operations
Name | Description | ReturnType | Signature |
---|---|---|---|
| (If this is a slave) Update the database on this instance with the latest transactions from the master |
|
|
MBean Kernel (org.neo4j.jmx.Kernel) Attributes
Name | Description | Type | Read | Write |
---|---|---|---|---|
Information about the Neo4j kernel | ||||
| The name of the mounted database |
| yes | no |
| The time from which this Neo4j instance was in operational mode. |
| yes | no |
| The version of Neo4j |
| yes | no |
| An ObjectName that can be used as a query for getting all management beans for this Neo4j instance. |
| yes | no |
| Whether this is a read only instance |
| yes | no |
| The time when this Neo4j graph store was created. |
| yes | no |
| An identifier that, together with store creation time, uniquely identifies this Neo4j graph store. |
| yes | no |
| The current version of the Neo4j store logical log. |
| yes | no |
MBean Locking (org.neo4j.management.LockManager) Attributes
Name | Description | Type | Read | Write |
---|---|---|---|---|
Information about the Neo4j lock status | ||||
| Information about all locks held by Neo4j |
| yes | no |
| The number of lock sequences that would have lead to a deadlock situation that Neo4j has detected and averted (by throwing DeadlockDetectedException). |
| yes | no |
MBean Locking (org.neo4j.management.LockManager) Operations
Name | Description | ReturnType | Signature |
---|---|---|---|
| getContendedLocks |
|
|
MBean Memory Mapping (org.neo4j.management.MemoryMapping) Attributes
Name | Description | Type | Read | Write |
---|---|---|---|---|
The status of Neo4j memory mapping | ||||
| Get information about each pool of memory mapped regions from store files with memory mapping enabled | yes | no |
MBean Page cache (org.neo4j.management.PageCache) Attributes
Name | Description | Type | Read | Write |
---|---|---|---|---|
Information about the Neo4j page cache. All numbers are counts and sums since the Neo4j instance was started | ||||
| Number of bytes read from durable storage. |
| yes | no |
| Number of bytes written to durable storage. |
| yes | no |
| Number of exceptions caught during page eviction. This number should be zero, or at least not growing, in a healthy database. Otherwise it could indicate drive failure, storage space, or permission problems. |
| yes | no |
| Number of page evictions. How many pages have been removed from memory to make room for other pages. |
| yes | no |
| Number of page faults. How often requested data was not found in memory and had to be loaded. |
| yes | no |
| Number of files that have been mapped into the page cache. |
| yes | no |
| Number of files that have been unmapped from the page cache. |
| yes | no |
| Number of page flushes. How many dirty pages have been written to durable storage. |
| yes | no |
| Number of page pins. How many pages have been accessed (monitoring must be enabled separately). |
| yes | no |
Note The page pin count metric is disabled by default for performance reasons, in which case the pin count value will always be zero.
The page pin count metric can be enabled by adding this line to the |
MBean Primitive count (org.neo4j.jmx.Primitives) Attributes
Name | Description | Type | Read | Write |
---|---|---|---|---|
Estimates of the numbers of different kinds of Neo4j primitives | ||||
| An estimation of the number of nodes used in this Neo4j instance |
| yes | no |
| An estimation of the number of properties used in this Neo4j instance |
| yes | no |
| An estimation of the number of relationships used in this Neo4j instance |
| yes | no |
| The number of relationship types used in this Neo4j instance |
| yes | no |
MBean Store file sizes (org.neo4j.jmx.StoreFile) Attributes
Name | Description | Type | Read | Write |
---|---|---|---|---|
Information about the sizes of the different parts of the Neo4j graph store | ||||
| The amount of disk space used to store array properties, in bytes. |
| yes | no |
| The amount of disk space used by the current Neo4j logical log, in bytes. |
| yes | no |
| The amount of disk space used to store nodes, in bytes. |
| yes | no |
| The amount of disk space used to store properties (excluding string values and array values), in bytes. |
| yes | no |
| The amount of disk space used to store relationships, in bytes. |
| yes | no |
| The amount of disk space used to store string properties, in bytes. |
| yes | no |
| The total disk space used by this Neo4j instance, in bytes. |
| yes | no |
MBean Transactions (org.neo4j.management.TransactionManager) Attributes
Name | Description | Type | Read | Write |
---|---|---|---|---|
Information about the Neo4j transaction manager | ||||
| The id of the latest committed transaction |
| yes | no |
| The total number of committed transactions |
| yes | no |
| The total number started transactions |
| yes | no |
| The number of currently open transactions |
| yes | no |
| The total number of rolled back transactions |
| yes | no |
| The highest number of transactions ever opened concurrently |
| yes | no |
MBean Index sampler (org.neo4j.management.IndexSamplingManager) Operations
Name | Description | ReturnType | Signature |
---|---|---|---|
| triggerIndexSampling |
|
|