Display store information
You can use the neo4j-admin database info
command to get the following information about the store format of a given database store:
-
The store format version.
-
When the store format version was introduced.
-
Whether the store format needs to be migrated to a newer version.
The neo4j-admin database info
command is located in the bin directory.
Syntax
The neo4j-admin database info
command should be invoked against an offline database store or a backup and has the following syntax:
neo4j-admin database info [-h] [--expand-commands] [--verbose] [--additional-config=<file>] [--format=text|json] [--from-path=<path>] [<database>]
Options
The neo4j-admin database info
command has the following options:
Name | Possible values | Description |
---|---|---|
|
Show this help message and exit. |
|
|
Allow command expansion in config value evaluation. |
|
|
Enable verbose output. |
|
|
<file> |
Configuration file with additional configuration. |
|
|
The format to use for the returned information.
Default is |
|
<path> |
Path to databases directory. |
|
Name of the database to show info for.
Can contain |
Examples
neo4j-admin database info
against a database storebin/neo4j-admin database info mygraph.db
Output:
Store format version: record-aligned-1.1 Store format introduced in: 5.0.0
neo4j-admin database info
against all databasesThe command can also be invoked against all databases, as follows:
neo4j-admin database info --from-path=<databases-directory>
bin/neo4j-admin database info data/databases
Output:
Database name: foo Database in use: false Store format version: record-aligned-1.1 Store format introduced in: 5.0.0 Last committed transaction id:2 Store needs recovery: true Database name: bar Database in use: true
When the command is invoked against several databases, if some are online they will simply report as |
neo4j-admin database info
against a database and output JSONIf you are parsing the results of this command you may use the --format=json
option to receive the output as JSON.
All the same fields are included and all values are strings.
bin/neo4j-admin database info --from-path data/databases --format=json foo
Output:
{"databaseName":"foo", "inUse":"false", "storeFormat”:"record-aligned-1.1", "storeFormatIntroduced”:"5.0.0", "lastCommittedTransaction":"2", "recoveryRequired":"true"}
Store formats and entity limits
The store formats are:
-
aligned
-
standard
-
high_limit
Enterprise Edition
Aligned
Store Format Name | Store Format Version | Introduced in | Unsupported from |
---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
Name | Limit |
---|---|
Property keys |
|
Nodes |
|
Relationships |
|
Properties |
|
Labels |
|
Relationship types |
|
Relationship groups |
|
Standard
Store Format Name | Store Format Version | Introduced in | Unsupported from |
---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name | Limit |
---|---|
Property keys |
|
Nodes |
|
Relationships |
|
Properties |
|
Labels |
|
Relationship types |
|
Relationship groups |
|
High_limit
Store Format Name | Store Format Version | Introduced in | Unsupported from |
---|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Name | Limit |
---|---|
Property keys |
|
Nodes |
|
Relationships |
|
Properties |
|
Labels |
|
Relationship types |
|
Relationship groups |
|
Was this page helpful?