Hello,
We installed Percona Server with Mysql 8 and it worked well, for a few months we began to notice certain slowdowns in the pages reported by Google Analytics.
We have almost 20GB of data, over 4 million records on a single table.
It is a streaming platform that displays Videos in connection with categories, actors, producers and tags.
Displaying just the first page of videos linked to a tag now takes at least 6 seconds.
Before, we were less than a second away, but we had 4 times less data.
We had a server:
- Intel Xeon D1540 - 8c/16t - 2GHz/2.6GHz
- 64Gb DDR4 ECC
- NVMe SSD Hard Drive
We have now moved to a larger server:
- AMD Epyc 7351p - 16c/32t - 2.4GHz/2.9GHz
- 128 GB DDR4 ECC
- NVMe SSD Hard Drive
The result remained the same unchanged despite the increase in server power.
The queries are well optimized with all the necessary indexes…
Anyone have an idea how to unlock this? We have been trying to play with the configuration for several days now but without result.
Thanks for your help.
Here is the current configuration that we added after the installation:
Operating System: Ubuntu 20.04.3 LTS
[mysqld]
#bind_address = 0.0.0.0
default_authentication_plugin = mysql_native_password
skip_name_resolve
max_allowed_packet = 1G
#max_connect_errors = 1000000
max_connections = 1000
character_set_server = utf8mb4
collation_server = utf8mb4_unicode_ci
innodb_lock_wait_timeout = 600
key_buffer_size = 64M
innodb_buffer_pool_size = 102G
innodb_buffer_pool_instances = 64
thread_pool_size = 16
innodb_log_file_size = 13G
internal_tmp_mem_storage_engine = MEMORY
#sort_buffer_size
#innodb_dedicated_server