- A Unix timestamp (double) at which the log entry was processed.
- The issued command.
- The issued query.
- The amount of time needed for its execution, in milliseconds (double).
- The query parameters (or (nil) if none were provided).
Examples
Get slowlog
Sample Output
Reset slowlog
Frequently Asked Questions
What is the minimum latency for a query to appear in the slowlog?
What is the minimum latency for a query to appear in the slowlog?
Only queries with a latency of 10 milliseconds or more are logged in the slowlog.
How many entries does the slowlog store?
How many entries does the slowlog store?
The slowlog stores up to 10 of the slowest queries issued against the given graph. Older entries are evicted when new slower queries are recorded.
Can I reset the slowlog?
Can I reset the slowlog?
Yes. Use
GRAPH.SLOWLOG graph_name RESET to clear all entries. Note that once cleared, the information is lost permanently.What information is included in each slowlog entry?
What information is included in each slowlog entry?
Each entry contains: (1) Unix timestamp, (2) the issued command, (3) the query string, (4) execution time in milliseconds, and (5) query parameters or nil if none were provided.