Comments - MySQL: Number of on-disk temporary tables created per second is high (over 10 for 5m)
Content reproduced on this site is the property of its respective owners,
and this content is not reviewed in advance by MariaDB. The views, information and opinions
expressed by this content do not necessarily represent those of MariaDB or any other party.
Per aria_used_for_temp_tables the MEMORY STORAGE engine is used for temporary tables.
One of its restrictions is that it cannot support text/blob types (MDEV-19), and because of this, JOINs create with these tables will go to disk.
Using log_slow_filter=tmp_table_on_disk, long_query_time=0 and an enabled slow query log will identify which query is related.