index.twig 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. {% extends 'server/status/base.twig' %}
  2. {% set active = 'advisor' %}
  3. {% block content %}
  4. {% if data is not empty %}
  5. <a href="#openAdvisorInstructions">{{ get_icon('b_help', 'Instructions'|trans) }}</a>
  6. <div id="statustabs_advisor"></div>
  7. <div id="advisorInstructionsDialog" class="hide">
  8. <p>
  9. {% trans %}
  10. The Advisor system can provide recommendations on server variables by analyzing the server status variables.
  11. {% endtrans %}
  12. </p>
  13. <p>
  14. {% trans %}
  15. Do note however that this system provides recommendations based on simple calculations and by rule of thumb which may not necessarily apply to your system.
  16. {% endtrans %}
  17. </p>
  18. <p>
  19. {% trans %}
  20. Prior to changing any of the configuration, be sure to know what you are changing (by reading the documentation) and how to undo the change. Wrong tuning can have a very negative effect on performance.
  21. {% endtrans %}
  22. </p>
  23. <p>
  24. {% trans %}
  25. The best way to tune your system would be to change only one setting at a time, observe or benchmark your database, and undo the change if there was no clearly measurable improvement.
  26. {% endtrans %}
  27. </p>
  28. </div>
  29. <div id="advisorData" class="hide">{{ data }}</div>
  30. {% else %}
  31. {{ 'Not enough privilege to view the advisor.'|trans|error }}
  32. {% endif %}
  33. {% endblock %}