<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Huge MySQL/MariaDB System Database has slow response time</title><link>https://answers.axonivy.com/questions/3654/huge-mysql-mariadb-system-database-has-slow-response-time</link><description>&lt;p&gt;I've got so far some ivy engines running with mysql and mariadb as system database. The databases are huge, with about 10'000'000 tasks. With more and more tasks the responding time will be slower. The more tasks in the database, the worse the response times. Is there anything I can do to optimize this?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/3654/huge-mysql-mariadb-system-database-has-slow-response-time" rel="self"></atom:link><language>en</language><lastBuildDate>Mon, 04 Feb 2019 10:47:42 -0500</lastBuildDate><item><title>Answer by Alex Suter</title><link>https://answers.axonivy.com/questions/3654/huge-mysql-mariadb-system-database-has-slow-response-time/3655</link><description>&lt;p&gt;For huge mysql / mariadb installation I recommend to set the option &lt;code&gt;innodb-buffer-pool-size&lt;/code&gt; e.g. to 8 gigabyte.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;[mysqld]
innodb-buffer-pool-size=8G
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;With the mysql 8.0.x version you can also enforce with &lt;code&gt;internal-tmp-mem-storage-engine&lt;/code&gt; to not write temporary tables to disk:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;[mysqld]
innodb-buffer-pool-size=8G 
internal-tmp-mem-storage-engine=MEMORY
&lt;/code&gt;&lt;/pre&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Alex Suter</dc:creator><pubDate>Mon, 04 Feb 2019 10:47:42 -0500</pubDate><guid>https://answers.axonivy.com/questions/3654/huge-mysql-mariadb-system-database-has-slow-response-time/3655</guid></item></channel></rss>