{"type":"rich","description":"MySQL (8.0.22) -- CPU\u78ba\u8a8d select @@profiling; set profiling = 1; select count(*) from tab1; show profiles;show profile cpu for query 1; --------(8.0.28) select thread_id, event_id, sql_text, CPU_TIMEfrom performance_schema.events_statements_currentorder by thread_id, event_id\\G -------- -- \u30e1\u30e2\u30ea\u78ba\u8a8d selec\u2026","image_url":null,"blog_title":"HTN20190109\u306e\u65e5\u8a18","version":"1.0","author_name":"HTN20190109","height":"190","provider_url":"https://hatena.blog","title":"SQL\u306e\u4f7f\u7528CPU\u3001\u30e1\u30e2\u30ea\u30ea\u30bd\u30fc\u30b9\u78ba\u8a8d","categories":["DB"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fhtn20190109.hatenablog.com%2Fentry%2F2021%2F04%2F17%2F231508\" title=\"SQL\u306e\u4f7f\u7528CPU\u3001\u30e1\u30e2\u30ea\u30ea\u30bd\u30fc\u30b9\u78ba\u8a8d - HTN20190109\u306e\u65e5\u8a18\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","url":"https://htn20190109.hatenablog.com/entry/2021/04/17/231508","published":"2021-04-17 23:15:08","author_url":"https://blog.hatena.ne.jp/HTN20190109/","provider_name":"Hatena Blog","blog_url":"https://htn20190109.hatenablog.com/","width":"100%"}