AdrianC
Basic Pleskian
- Server operating system version
- Almalinux 8.10
- Plesk version and microupdate number
- 18.0.38
I am trying to optimize my ~large dbs (around 150 GB MySQL) to write less to SSD and more to memory, and I am comparing the variables on a Alma Linux 8.10 with Plesk 18.0.38 with MariaDB 10.3.28 vs a Rocky Linux machine with MySQL 8.x without any panel.
On Plesk the MySQL status variables always indicate that there are a lot of TMP tables written to disk instead of memory, and I get this on 2 plesk servers that I have.
Alma Linux 8.10 with Plesk:
--------------------------------
Created tmp disk tables: 537.3 k <<< THIS
Created tmp files: 5
Created tmp tables: 540.4 k
On Rocky Linux without any panel
----------------------------------------
Created tmp disk tables: 0 (zero) <<<
Created tmp files: 5
Created tmp tables: 1.4K
All servers have:
tmp_table_size = 8G
max_heap_table_size = 8G
I am thinking there is something inside plesk itself, not my databases, that causes it to write a lot of tables to disk ? Maybe some plesk service that are not well configured to write tables to memory ? I am just guessing but not sure where to look next.
On Plesk the MySQL status variables always indicate that there are a lot of TMP tables written to disk instead of memory, and I get this on 2 plesk servers that I have.
Alma Linux 8.10 with Plesk:
--------------------------------
Created tmp disk tables: 537.3 k <<< THIS
Created tmp files: 5
Created tmp tables: 540.4 k
On Rocky Linux without any panel
----------------------------------------
Created tmp disk tables: 0 (zero) <<<
Created tmp files: 5
Created tmp tables: 1.4K
All servers have:
tmp_table_size = 8G
max_heap_table_size = 8G
I am thinking there is something inside plesk itself, not my databases, that causes it to write a lot of tables to disk ? Maybe some plesk service that are not well configured to write tables to memory ? I am just guessing but not sure where to look next.