@mmn Best way to achieve performance improvements on #mysql or #mariadb - use InnoDB and caching/threading features. Hints: innodb_buffer_pool_size, innodb_data_file_path, innodb_log_file_size, innodb_flush_log_at_trx_commit, innodb_thread_concurrency, innodb_buffer_pool_instances. With properly tuned parameters I was able to import #loadaverage database (5 gigs) in 10 minutes (or maybe less). And, of course, there is no lags on page loading