GRAPH.INFO
Returns information and statistics about currently running queries, waiting queries, and the object pool.
Syntax
GRAPH.INFO [Section [Section ...]]
Where each Section is one of:
RunningQueries— lists currently executing queriesWaitingQueries— lists queries waiting to be executedObjectPool— reports object pool statistics
Multiple sections can be specified simultaneously. If no section is provided, all sections are returned.
Examples
127.0.0.1:6379> GRAPH.INFO
1) "# Running queries"
2) (empty array)
3) "# Waiting queries"
4) (empty array)
5) "Object Pool"
6) 1) 1) "Unique Objects in Pool"
2) (integer) 0
2) 1) "Average References per Object"
2) (double) 0
127.0.0.1:6379> GRAPH.INFO RunningQueries
1) "# Running queries"
2) (empty array)
127.0.0.1:6379> GRAPH.INFO WaitingQueries
1) "# Waiting queries"
2) (empty array)
127.0.0.1:6379> GRAPH.INFO ObjectPool
1) "Object Pool"
2) 1) 1) "Unique Objects in Pool"
2) (integer) 0
2) 1) "Average References per Object"
2) (double) 0
127.0.0.1:6379> GRAPH.INFO RunningQueries WaitingQueries ObjectPool
1) "# Running queries"
2) (empty array)
3) "# Waiting queries"
4) (empty array)
5) "Object Pool"
6) 1) 1) "Unique Objects in Pool"
2) (integer) 0
2) 1) "Average References per Object"
2) (double) 0
Frequently Asked Questions 4
What does GRAPH.INFO show when called without arguments?
When called without arguments, GRAPH.INFO returns all sections: RunningQueries, WaitingQueries, and ObjectPool statistics.
What is the difference between RunningQueries and WaitingQueries?
RunningQueries shows queries currently being executed by worker threads. WaitingQueries shows queries that have been received but are queued waiting for a thread to become available.
What is the ObjectPool section?
The ObjectPool section reports statistics about FalkorDB’s internal object pool, including the number of unique objects and average references per object. This is useful for monitoring memory efficiency.
Can I use GRAPH.INFO to monitor query performance in production?
Yes. GRAPH.INFO is designed for real-time monitoring. You can poll it periodically to detect long-running queries, queue buildup, and resource utilization issues.