# Slow Query Log

- [Slow Query Log Overview](https://mariadb.com/docs/server/server-management/server-monitoring-logs/slow-query-log/slow-query-log-overview.md): Complete Slow Query Log Overview guide for MariaDB. Complete reference documentation for implementation, configuration, and usage for production use.
- [EXPLAIN in the Slow Query Log](https://mariadb.com/docs/server/server-management/server-monitoring-logs/slow-query-log/explain-in-the-slow-query-log.md): Describes how to configure MariaDB to automatically write the \`EXPLAIN\` plan for slow queries to the log using the \`log\_slow\_verbosity\` system variable.
- [log\_slow\_always\_query\_time System Variable](https://mariadb.com/docs/server/server-management/server-monitoring-logs/slow-query-log/log_slow_always_query_time-system-variable.md): Documentation for the \`log\_slow\_always\_query\_time\` variable, which forces queries executed by a specific function or user to be logged regardless of their execution time.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mariadb.com/docs/server/server-management/server-monitoring-logs/slow-query-log.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
