Troubleshoot mysql performance on LINUX: Execute following for mysql> prompt: TEE /tmp/mysql_output.txt; select benchmark(50000000,(1234*5678/37485-1298+8596^2)); #should take less than 20 seconds show global variables; show master logs; show plugins; show engines; show global status; show global status like '%ndb%'; show engine innodb status\G show slave status\G show engine innodb mutex; show master status; xa recover; show full processlist; /*!50503 select * from information_schema.innodb_trx */; /*!50503 select * from performance_schema.threads */; /*!50503 SELECT EVENT_NAME, SUM_TIMER_WAIT/1000000000 WAIT_MS, COUNT_STAR FROM performance_schema.events_waits_summary_global_by_event_name WHERE SUM_TIMER_WAIT > 0 AND EVENT_NAME LIKE 'wait/synch/mutex/innodb/%' ORDER BY SUM_TIMER_WAIT DESC, COUNT_STAR DESC */; /*!50708 select * from sys.session */; select sleep(60); show global status; show global status like '%ndb%'; show engine innodb status\G show s...
Welcome to explore technology about Kubernetes, MySQL, Machine Learning | Deep Learning - Shrenik Parekh