View Source EctoMySQLExtras.LongRunningQueries (Ecto MySQL Extras v0.6.2)

Query all long running queries.

Data is retrieved from the information_schema database and the plugins table. The :threshold argument is in milliseconds. The duration for MySQL is displayed in seconds, for MariaDB this is in millieseconds. At this moment it isn't converted to a more human readable format.

Summary

Functions

Callback implementation for EctoMySQLExtras.info/0.

Link to this function

query(args \\ [db: :mysql, version: "8.0.0"])

View Source

Callback implementation for EctoMySQLExtras.query/1.