<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Mariadb on Blog GoHugo de Fredô : Linux, Proxmox, IA, Trail, Course, Randonnée, Gravel, Ski de Randonnée</title>
    <link>https://move.cyber-neurones.org/tags/mariadb/</link>
    <description>Recent content in Mariadb on Blog GoHugo de Fredô : Linux, Proxmox, IA, Trail, Course, Randonnée, Gravel, Ski de Randonnée</description>
    <generator>Hugo</generator>
    <language>fr</language>
    <lastBuildDate>Sun, 19 Jan 2025 00:00:00 +0000</lastBuildDate>
    <atom:link href="https://move.cyber-neurones.org/tags/mariadb/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Mariadb : Optimisation pour humhub</title>
      <link>https://move.cyber-neurones.org/post/2025/01/2025-01-19-mariadb-optimisation-pour-humhub/</link>
      <pubDate>Sun, 19 Jan 2025 00:00:00 +0000</pubDate>
      <guid>https://move.cyber-neurones.org/post/2025/01/2025-01-19-mariadb-optimisation-pour-humhub/</guid>
      <description>&lt;p&gt;J&amp;rsquo;utilise Mariadb sous Debian pour Humhub.&lt;/p&gt;&#xA;&lt;p&gt;Modification dans /etc/sysctl.conf&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;vm.swappiness=1&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Et changement en direct :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;/usr/sbin/sysctl -w vm.swappiness=1&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Modification dans /etc/mysql/mariadb.conf.d/50-server.cnf avec :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;innodb_buffer_pool_size = 4G&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Avant le restart :&lt;/p&gt;&#xA;&#xA;&lt;pre tabindex=&#34;0&#34;&gt;&lt;code&gt;mysql&#xA;Welcome to the MariaDB monitor.  Commands end with ; or \g.&#xA;Your MariaDB connection id is 52245&#xA;Server version: 10.5.26-MariaDB-0+deb11u2 Debian 11&#xA;&#xA;Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.&#xA;&#xA;Type &amp;#39;help;&amp;#39; or &amp;#39;\h&amp;#39; for help. Type &amp;#39;\c&amp;#39; to clear the current input statement.&#xA;&#xA;MariaDB [(none)]&amp;gt; select @@innodb_buffer_pool_size;&#xA;+---------------------------+&#xA;| @@innodb_buffer_pool_size |&#xA;+---------------------------+&#xA;|                 134217728 |&#xA;+---------------------------+&#xA;1 row in set (0,001 sec)&#xA;&#xA;MariaDB [(none)]&amp;gt; select @@innodb_buffer_pool_size/1024/1024/1024;&#xA;+------------------------------------------+&#xA;| @@innodb_buffer_pool_size/1024/1024/1024 |&#xA;+------------------------------------------+&#xA;|                           0.125000000000 |&#xA;+------------------------------------------+&#xA;1 row in set (0,001 sec)&#xA;&#xA;MariaDB [(none)]&amp;gt; show variables like &amp;#39;innodb_buffer_pool%&amp;#39;;&#xA;+-------------------------------------+----------------+&#xA;| Variable_name                       | Value          |&#xA;+-------------------------------------+----------------+&#xA;| innodb_buffer_pool_chunk_size       | 134217728      |&#xA;| innodb_buffer_pool_dump_at_shutdown | ON             |&#xA;| innodb_buffer_pool_dump_now         | OFF            |&#xA;| innodb_buffer_pool_dump_pct         | 25             |&#xA;| innodb_buffer_pool_filename         | ib_buffer_pool |&#xA;| innodb_buffer_pool_instances        | 1              |&#xA;| innodb_buffer_pool_load_abort       | OFF            |&#xA;| innodb_buffer_pool_load_at_startup  | ON             |&#xA;| innodb_buffer_pool_load_now         | OFF            |&#xA;| innodb_buffer_pool_size             | 134217728      |&#xA;+-------------------------------------+----------------+&#xA;10 rows in set (0,003 sec)&lt;/code&gt;&lt;/pre&gt;&#xA;&lt;p&gt;Après :&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
