Server stats
Memgraph supports multiple queries to get information about the instance that is being queried.
Instance version
To get the version of the instance being queried, run the following query:
SHOW VERSION;
Storage information
Running the following query will return certain information about the storage of the current instance:
SHOW STORAGE INFO;
The result will contain the following fields:
Field | Description |
---|---|
vertex_count | Number of vertices stored |
edge_count | Number of edges stored |
average_degree | Average number of relationships of a single node |
memory_usage | Amount of RAM used reported by the OS (in bytes) |
disk_usage | Amount of disk space used by the data directory (in bytes) |
memory_allocated | Amount of bytes allocated by the instance. For more info, check out the memory control. |
allocation_limit | Current allocation limit in bytes set for this instance. For more info, check out the memory control. |
global_isolation_level | Current global isolation level.For more info, check out the isolation levels. |
session_isolation_level | Current session isolation level. |
next_session_isolation_level | Current next isolation level. |
storage_mode | Current storage mode. For more info, check out the storage modes. |
Build information
Running the following query will return certain information about the build type of the current instance:
SHOW BUILD INFO;
Field | Description |
---|---|
build_type | The optimization level the instance was built with. |