Skip to main content
Version: 2.4.2

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.