Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

InnoDB: page_cleaner: 1000ms intended loop took 7742ms. The settings might not be optimal

--
show variables like 'innodb_lru_scan_depth';
SET GLOBAL innodb_lru_scan_depth=512;

--
show variables like 'innodb_lock_wait_timeout';
set innodb_lock_wait_timeout=100;

--
show variables like 'innodb_flush_log_at_trx_commit';
SET GLOBAL innodb_flush_log_at_trx_commit=2;
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #intended #loop #The #settings #optimal
ADD COMMENT
Topic
Name
9+6 =