# Track slow queries

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

- Skill: `falkordb/track-slow-queries` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add falkordb/track-slow-queries`
- Raw SKILL.md: https://api.skillmd.com/api/skills/falkordb/track-slow-queries/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: falkordb (https://skillmd.com/u/falkordb)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/falkordb/track-slow-queries

---


# 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

```bash
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

