Skip to main content
Version: 2.10.1

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:

FieldDescription
vertex_countNumber of vertices stored
edge_countNumber of edges stored
average_degreeAverage number of relationships of a single node
memory_usageAmount of RAM used reported by the OS (in bytes)
disk_usageAmount of disk space used by the data directory (in bytes)
memory_allocatedAmount of bytes allocated by the instance.
For more info, check out the memory control.
allocation_limitCurrent allocation limit in bytes set for this instance.
For more info, check out the memory control.
global_isolation_levelCurrent global isolation level.
For more info, check out the isolation levels.
session_isolation_levelCurrent session isolation level.
next_session_isolation_levelCurrent next isolation level.
storage_modeCurrent 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;
FieldDescription
build_typeThe optimization level the instance was built with.