log_slow_query_time

Overview

In 23.08 ES, 23.07 ES:

Log all queries that have taken more than log_slow_query_time seconds to execute to the slow query log file. The argument will be treated as a decimal value with microsecond precision

In 10.6 ES, 10.6 CS, 10.5 ES, 10.5 CS, 10.4 ES, 10.4 CS, 10.3 ES, 10.3 CS, 10.2 ES, 10.2 CS:

Not present

In 10.6 ES, 10.5 ES, 10.4 ES:

Not present

USAGE

DETAILS

SYNONYMS

SCHEMA

PARAMETERS

Command-line

--log_slow_query_time=#

Configuration file

Supported

Dynamic

Yes

Scope

Global, Session

Data Type

DOUBLE

Minimum Value

0

Maximum Value

31536000

Product Default Value

10.000000

SKYSQL

Cloud

SkySQL Topology

ES Ver

Service Default

AWS

Multi-Node Analytics

10.6

Not present

Single Node Analytics

10.6

Not present

Replicated Transactions

10.4

Not present

10.5

Not present

10.6

Not present

Single Node Transactions

10.4

Not present

10.5

Not present

10.6

Not present

GCP

Multi-Node Analytics

10.6

Not present

Single Node Analytics

10.6

Not present

Replicated Transactions

10.4

Not present

10.5

Not present

10.6

Not present

Single Node Transactions

10.4

Not present

10.5

Not present

10.6

Not present

Cloud

SkySQL Topology

ES Ver

Service Default

AWS

ColumnStore Data Warehouse

10.6

Not present

Enterprise Server With Replica(s)

10.4

Not present

10.5

Not present

10.6

Not present

Enterprise Server Single Node

10.4

Not present

10.5

Not present

10.6

Not present

GCP

ColumnStore Data Warehouse

10.6

Not present

Enterprise Server With Replica(s)

10.4

Not present

10.5

Not present

10.6

Not present

Enterprise Server Single Node

10.4

Not present

10.5

Not present

10.6

Not present

PRIVILEGES

EXAMPLES

ERROR HANDLING

FEATURE INTERACTION

RESPONSES

DIAGNOSIS

ISO 9075:2016

CHANGE HISTORY

Release Series

History

23.08 Enterprise

  • Present starting in MariaDB Enterprise Server 23.08.0.

23.07 Enterprise

  • Added in MariaDB Enterprise Server 23.07.0.

10.6 Enterprise

  • Not present.

10.6 Community

  • Not present.

10.5 Enterprise

  • Not present.

10.5 Community

  • Not present.

10.4 Enterprise

  • Not present.

10.4 Community

  • Not present.

10.3 Enterprise

  • Not present.

10.3 Community

  • Not present.

10.2 Enterprise

  • Not present.

10.2 Community

  • Not present.

Release Series

History

23.08 Enterprise

  • Present starting in MariaDB Enterprise Server 23.08.0.

23.07 Enterprise

  • Added in MariaDB Enterprise Server 23.07.0.

10.6 Enterprise

  • Not present.

10.5 Enterprise

  • Not present.

10.4 Enterprise

  • Not present.

EXTERNAL REFERENCES