Profile query runtime behavior

Use GRAPH.PROFILE to see per-operator runtime statistics and record counts for queries

falkordb 89b7c05 2 files · 1.7 KB Updated

File contents

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.PROFILE executes the query and returns detailed runtime information
  • Shows actual records processed and time taken per operator
  • More detailed than GRAPH.EXPLAIN as it includes actual execution metrics
  • Useful for identifying performance bottlenecks in complex queries
  • Helps understand which operations are most expensive

falkordb/skills/tree/main/cypher-skills/profile-query-runtime commit 89b7c05e9d

Frequently asked questions

npx skillmds@latest add falkordb/profile-query-runtime-behavior