Skip to main content
Returns a list containing up to 10 of the slowest queries issued against the given graph ID. Only queries with a latency of 10 milliseconds or more are logged. Each item in the list has the following structure:
  1. A Unix timestamp (double) at which the log entry was processed.
  2. The issued command.
  3. The issued query.
  4. The amount of time needed for its execution, in milliseconds (double).
  5. The query parameters (or (nil) if none were provided).

Examples

Get slowlog

Sample Output

Reset slowlog

Once cleared the information is lost forever.

Frequently Asked Questions

Only queries with a latency of 10 milliseconds or more are logged in the slowlog.
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.
Yes. Use GRAPH.SLOWLOG graph_name RESET to clear all entries. Note that once cleared, the information is lost permanently.
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.