name: Profile query runtime behavior description: Use GRAPH.PROFILE to see per-operator runtime statistics and record counts for queries
Profile query runtime behavior
Use GRAPH.PROFILE to see per-operator runtime statistics and record counts.
Usage
Use GRAPH.PROFILE to execute a query and receive detailed runtime metrics for each operation.
Example
redis-cli GRAPH.PROFILE social "MATCH (u:User)-[:FRIENDS_WITH]->(f)
RETURN f.name ORDER BY f.name LIMIT 10"
Notes
GRAPH.PROFILEexecutes the query and returns detailed runtime information- Shows actual records processed and time taken per operator
- More detailed than
GRAPH.EXPLAINas it includes actual execution metrics - Useful for identifying performance bottlenecks in complex queries
- Helps understand which operations are most expensive