Profile query runtime behavior

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

falkordb Updated 22 repo stars

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 commit 89b7c05e9d

Frequently asked questions

npx get-skill add falkordb/profile-query-runtime-behavior