log_slow_always_query_time System Variable

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.

  • Description: Queries slower than log_slow_always_query_time are not affected by log_slow_rate_limit or log_slow_min_examined_row_limit. Query will be logged to the slow query log if the execution time of the query is longer than log_slow_query_time and log_slow_always_query_time. The argument will be treated as a decimal value with microsecond precision.

  • Command line: --log-slow-always-query-time=num

  • Scope: Global, Session

  • Dynamic: Yes

  • Data Type: numeric (double)

  • Default Value: 31536000.000000

  • Range: 0 to 31536000

  • Introduced: MariaDB 11.7

This page is licensed: CC BY-SA / Gnu FDL

Last updated

Was this helpful?