Track slow queries

Use GRAPH.SLOWLOG to identify and monitor slow queries and performance bottlenecks

falkordb 94196cf 2 files · 1.5 KB Updated

File contents

Track slow queries

Use the slowlog to identify and monitor queries that take longer than expected.

Usage

Use GRAPH.SLOWLOG to view slow queries and GRAPH.SLOWLOG RESET to clear the log.

Example

redis-cli GRAPH.SLOWLOG social
redis-cli GRAPH.SLOWLOG social RESET

Notes

  • The slowlog captures queries that exceed a configured time threshold
  • Helps identify performance bottlenecks and optimization opportunities
  • Use the slowlog during development and in production monitoring
  • Reset the slowlog after addressing performance issues to track new ones
  • Essential tool for maintaining query performance over time

falkordb/skills/tree/main/cypher-skills/track-slow-queries commit 94196cfe87

Frequently asked questions

npx skillmds@latest add falkordb/track-slow-queries