source = $this->getSourceContext(); $this->blocks = [ 'content' => [$this, 'block_content'], ]; } protected function doGetParent(array $context) { // line 1 return "server/status/base.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; // line 2 $context["active"] = "monitor"; // line 1 $this->parent = $this->loadTemplate("server/status/base.twig", "server/status/monitor/index.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); } // line 3 public function block_content($context, array $blocks = []) { $macros = $this->macros; // line 4 echo "
"; echo _gettext("The phpMyAdmin Monitor can assist you in optimizing the server configuration and track down time intensive queries. For the latter you will need to set log_output to 'TABLE' and have either the slow_query_log or general_log enabled. Note however, that the general_log produces a lot of data and increases server load by up to 15%."); // line 94 echo "
env, $this->extensions['PhpMyAdmin\Twig\AssetExtension']->getImagePath("ajax_clock_small.gif"), "html", null, true); echo "\" alt=\""; echo _gettext("Loading…"); echo "\">"; echo _gettext("Using the monitor:"); // line 101 echo "
"; echo _gettext("Your browser will refresh all displayed charts in a regular interval. You may add charts and change the refresh rate under 'Settings', or remove any chart using the cog icon on each respective chart."); // line 106 echo "
"; echo _gettext("To display queries from the logs, select the relevant time span on any chart by holding down the left mouse button and panning over the chart. Once confirmed, this will load a table of grouped queries, there you may click on any occurring SELECT statements to further analyze them."); // line 111 echo "
"; // line 113 echo PhpMyAdmin\Html\Generator::getImage("s_attention"); echo " "; echo _gettext("Please note:"); // line 114 echo "
"; echo _gettext("Enabling the general_log may increase the server load by 5-15%. Also be aware that generating statistics from the logs is a load intensive task, so it is advisable to select only a small time span and to disable the general_log and empty its table once monitoring is not required any more."); // line 120 echo "
"; echo _gettext("Selected time range:"); // line 227 echo " -
"; echo _gettext("Choose from which log you want the statistics to be generated from."); // line 245 echo "
"; echo _gettext("Results are grouped by query text."); // line 248 echo "