I recently upgraded from my old Windows computer into a gen. 4 I7 Ubuntu 15.04
Runs like a dream, well...Except that any Laravel artisan command that touch the datab
In this case, I think that the buffer pool size increment is required. Set the following:
[mysqld]
innodb_io_capacity = 2000
innodb_read_io_threads = 64
innodb_thread_concurrency = 0
innodb_write_io_threads = 64
if you are using MySQL 8
in my case, the problem was MySQL 8 slower insert
speed which occurred
after updating MySQL 5.7 to 8
A difference between 5.7 and 8.0 is that binary logging (to be used for replication and PITR) is on by default in MySQL 8.0. To run without binary logging in 8.0
the quick fix of this problem is to start your MySQL server with --disable-log-bin
or you can write below codes in your my.cnf
[mysqld]
skip-log-bin
for more information, please visit
https://dba.stackexchange.com/questions/216352/inserts-in-mysql-8-are-slower-than-inserts-in-mysql-5-7?newreg=fe2b7682e8314f07a785ddc9a8ffbdce
https://dba.stackexchange.com/questions/227742/extreme-performance-loss-due-to-moving-from-mysql-5-7-23-to-mysql-8-0-status-c