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 "
"; // line 91 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 "
"; // line 101 echo _gettext("Using the monitor:"); echo "
"; // line 103 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 "
"; // line 108 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 " "; // line 114 echo _gettext("Please note:"); echo "
"; // line 117 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 "
"; // line 194 echo _gettext("Add this series"); echo " | "; // line 197 echo _gettext("Clear series"); echo "
"; // line 201 echo _gettext("Series in chart:"); // line 202 echo ""; // line 212 echo _gettext("Selected time range:"); // line 213 echo " -
"; // line 230 echo _gettext("Choose from which log you want the statistics to be generated from."); // line 231 echo "
"; // line 233 echo _gettext("Results are grouped by query text."); // line 234 echo "