ä»äºãããªãããã§MySQLã®ã¯ã¨ãªã®è¯ãæªããå¤æããå¿ è¦ãããã¨ããEXPLAINã®å 容ã ãã ã¨ã©ã®ãããè¯ããªã£ããæªããªã£ãã®ãåãããªãã®ã§ SET long_query_time = 0; ãã¦rows_examined (ãã®ã¯ã¨ãªã§rows_sentè¡ã®çµæãè¿ãããã«ä½è¡ã«è§¦ã£ãã®ã)ãä¸ç·ã«æ示ããããã«ãã¦ãã(å°ãªãã¨ãMySQL 5.7æç¹ã§ã¯rows_examinedã¯slow_query_logã§ãã確èªã§ããªãã¯ãperformance_schemaãæå¹ãªãevents_statements_historyããã®ä»²éãã¡ã§ç¢ºèªã§ããã¨ã®ãã¨*1 MySQL :: MySQL 5.6 ãªãã¡ã¬ã³ã¹ããã¥ã¢ã« :: 22.9.6 ããã©ã¼ãã³ã¹ã¹ãã¼ãã¹ãã¼ãã¡ã³ãã¤ãã³ããã¼ãã«)ã ä¾: ä¸ã®ä¾ã®Beforeã¯ããã¨ãã¨DBAãæ¸ãã温ãã¿ã®ããSQLã§O
{{#tags}}- {{label}}
{{/tags}}