_DEBUG_SLOW_QUERIES

This constant makes it possible to trace requests which are too slow.

  • New in : SPIP 3.0

To trace too slow queries in the "slow-queries" log file (MySQL only), you can define the constant _DEBUG_SLOW_QUERIES in your file config/mes_options.php (see the article dedicated to it).

example :

// add trace information to mysql's slow queries logs
define('_DEBUG_SLOW_QUERIES', true);

Voir aussi _BOUCLE_PROFILER.

Author jack Published : Updated : 23/07/23

Translations : English, français, Nederlands