Monitoring
| 
 | node and relationships-ids in total and in use | 
| 
 | store information such as kernel version, start time, read-only, database-name, store-log-version etc. | 
| 
 | store size information for the different types of stores | 
| 
 | number of transactions total,opened,committed,concurrent,rolled-back,last-tx-id | 
| 
 | db locking information such as avertedDeadLocks, lockCount, contendedLockCount and contendedLocks etc. (enterprise) | 
The following returns ID usage:
CALL apoc.monitor.ids();| nodeIds | relIds | propIds | relTypeIds | 
|---|---|---|---|
| 400 | 3560 | 4000 | 7 | 
The following returns store information:
CALL apoc.monitor.kernel();| readOnly | kernelVersion | storeId | kernelStartTime | databaseName | storeLogVersion | storeCreationDate | 
|---|---|---|---|---|---|---|
| FALSE | "neo4j-kernel, version: 3.5.6,73866e84158298d5f4a7325b6466c0189ad21d11" | "7f450cfe1e4fefb5" | "2019-06-24 12:01:01" | "graph.db" | 0 | "2019-06-24 11:59:28" | 
The following returns store size information:
CALL apoc.monitor.store();| logSize | stringStoreSize | arrayStoreSize | relStoreSize | propStoreSize | totalStoreSize | nodeStoreSize | 
|---|---|---|---|---|---|---|
| 691264 | 8192 | 8192 | 122400 | 171339 | 1207741 | 8190 | 
The following returns transaction information:
CALL apoc.monitor.tx();| rolledBackTx | peakTx | lastTxId | currentOpenedTx | totalOpenedTx | totalTx | 
|---|---|---|---|---|---|
| 2213 | 6 | 16 | 1 | 9170 | 6956 |