{"id":8614,"date":"2014-11-05T18:26:22","date_gmt":"2014-11-05T18:26:22","guid":{"rendered":"https:\/\/system-administrators.info\/?p=8614"},"modified":"2020-11-05T18:26:50","modified_gmt":"2020-11-05T18:26:50","slug":"%d0%b2%d0%ba%d0%bb%d1%8e%d1%87%d0%b5%d0%bd%d0%b8%d0%b5-%d0%bb%d0%be%d0%b3%d0%b8%d1%80%d0%be%d0%b2%d0%b0%d0%bd%d0%b8%d1%8f-%d0%bc%d0%b5%d0%b4%d0%bb%d0%b5%d0%bd%d0%bd%d1%8b%d1%85-%d0%b7%d0%b0%d0%bf","status":"publish","type":"post","link":"https:\/\/system-administrators.info\/?p=8614","title":{"rendered":"\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u044b\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043a MySQL"},"content":{"rendered":"<p>\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432\u00a0<code>\/etc\/my.cnf:<\/code><\/p>\n<pre>[mysqld]\r\nlong_query_time=3\r\nslow_query_log=1\r\nslow_query_log_file = \/var\/log\/mysqld-slow-query.log\r\n<\/pre>\n<p><strong>long_query_time<\/strong>\u00a0-\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0430\u0445 \u043e\u0442 1 \u0434\u043e 10. \u0417\u0430\u043f\u0440\u043e\u0441\u044b \u0437\u0430\u043d\u044f\u0432\u0448\u0438\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0445 \u0441\u0435\u043a\u0443\u043d\u0434 \u0431\u0443\u0434\u0443\u0442 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f<\/p>\n<p>\u0414\u0430\u043b\u0435\u0435:<\/p>\n<pre># touch \/var\/log\/mysqld-slow-query.log\r\n# chown mysql:mysql \/var\/log\/mysqld-slow-query.log\r\n<\/pre>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c mysql<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432\u00a0\/etc\/my.cnf: [mysqld] long_query_time=3 slow_query_log=1 slow_query_log_file = \/var\/log\/mysqld-slow-query.log long_query_time\u00a0-\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0430\u0445 \u043e\u0442 1 \u0434\u043e 10. \u0417\u0430\u043f\u0440\u043e\u0441\u044b \u0437\u0430\u043d\u044f\u0432\u0448\u0438\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0445 \u0441\u0435\u043a\u0443\u043d\u0434 \u0431\u0443\u0434\u0443\u0442 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0414\u0430\u043b\u0435\u0435: # touch \/var\/log\/mysqld-slow-query.log # chown mysql:mysql \/var\/log\/mysqld-slow-query.log \u041f\u043e\u0441\u043b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c mysql &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.2.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/system-administrators.info\/?p=8614\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u0412\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u044b\u0445 \u0437\u0430\u043f\u0440\u043e\u0441\u043e\u0432 \u043a MySQL - \u0414\u043b\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0433\u043e \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430\" \/>\n<meta property=\"og:description\" content=\"\u0434\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u0432\u00a0\/etc\/my.cnf: [mysqld] long_query_time=3 slow_query_log=1 slow_query_log_file = \/var\/log\/mysqld-slow-query.log long_query_time\u00a0-\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0432 \u0441\u0435\u043a\u0443\u043d\u0434\u0430\u0445 \u043e\u0442 1 \u0434\u043e 10. \u0417\u0430\u043f\u0440\u043e\u0441\u044b \u0437\u0430\u043d\u044f\u0432\u0448\u0438\u0435 \u0431\u043e\u043b\u044c\u0448\u0435 \u0443\u043a\u0430\u0437\u0430\u043d\u043d\u044b\u0445 \u0441\u0435\u043a\u0443\u043d\u0434 \u0431\u0443\u0434\u0443\u0442 \u043b\u043e\u0433\u0438\u0440\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u0414\u0430\u043b\u0435\u0435: # touch \/var\/log\/mysqld-slow-query.log # chown mysql:mysql \/var\/log\/mysqld-slow-query.log \u041f\u043e\u0441\u043b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c mysql &nbsp;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/system-administrators.info\/?p=8614\" \/>\n<meta property=\"og:site_name\" content=\"\u0414\u043b\u044f \u0441\u0438\u0441\u0442\u0435\u043c\u043d\u043e\u0433\u043e \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430\" \/>\n<meta property=\"article:published_time\" content=\"2014-11-05T18:26:22+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2020-11-05T18:26:50+00:00\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e \u0430\u0432\u0442\u043e\u0440\u043e\u043c\">\n\t<meta name=\"twitter:data1\" content=\"admin\">\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\">\n\t<meta name=\"twitter:data2\" content=\"0 \u043c\u0438\u043d\u0443\u0442\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/system-administrators.info\/#website\",\"url\":\"https:\/\/system-administrators.info\/\",\"name\":\"\\u0414\\u043b\\u044f \\u0441\\u0438\\u0441\\u0442\\u0435\\u043c\\u043d\\u043e\\u0433\\u043e \\u0430\\u0434\\u043c\\u0438\\u043d\\u0438\\u0441\\u0442\\u0440\\u0430\\u0442\\u043e\\u0440\\u0430\",\"description\":\"\\u041c\\u0430\\u0442\\u0435\\u0440\\u0438\\u0430\\u043b\\u044b \\u0434\\u043b\\u044f \\u0441\\u0438\\u0441\\u0430\\u0434\\u043c\\u0438\\u043d\\u0430\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/system-administrators.info\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ru-RU\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/system-administrators.info\/?p=8614#webpage\",\"url\":\"https:\/\/system-administrators.info\/?p=8614\",\"name\":\"\\u0412\\u043a\\u043b\\u044e\\u0447\\u0435\\u043d\\u0438\\u0435 \\u043b\\u043e\\u0433\\u0438\\u0440\\u043e\\u0432\\u0430\\u043d\\u0438\\u044f \\u043c\\u0435\\u0434\\u043b\\u0435\\u043d\\u043d\\u044b\\u0445 \\u0437\\u0430\\u043f\\u0440\\u043e\\u0441\\u043e\\u0432 \\u043a MySQL - \\u0414\\u043b\\u044f \\u0441\\u0438\\u0441\\u0442\\u0435\\u043c\\u043d\\u043e\\u0433\\u043e \\u0430\\u0434\\u043c\\u0438\\u043d\\u0438\\u0441\\u0442\\u0440\\u0430\\u0442\\u043e\\u0440\\u0430\",\"isPartOf\":{\"@id\":\"https:\/\/system-administrators.info\/#website\"},\"datePublished\":\"2014-11-05T18:26:22+00:00\",\"dateModified\":\"2020-11-05T18:26:50+00:00\",\"author\":{\"@id\":\"https:\/\/system-administrators.info\/#\/schema\/person\/bae452d4027b66e977d3fa026a6e3e61\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/system-administrators.info\/?p=8614\"]}]},{\"@type\":\"Person\",\"@id\":\"https:\/\/system-administrators.info\/#\/schema\/person\/bae452d4027b66e977d3fa026a6e3e61\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/system-administrators.info\/#personlogo\",\"inLanguage\":\"ru-RU\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/e41d445bf40842e97447b7da2c87f00a?s=96&d=mm&r=g\",\"caption\":\"admin\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/system-administrators.info\/index.php?rest_route=\/wp\/v2\/posts\/8614"}],"collection":[{"href":"https:\/\/system-administrators.info\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/system-administrators.info\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/system-administrators.info\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/system-administrators.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8614"}],"version-history":[{"count":1,"href":"https:\/\/system-administrators.info\/index.php?rest_route=\/wp\/v2\/posts\/8614\/revisions"}],"predecessor-version":[{"id":8615,"href":"https:\/\/system-administrators.info\/index.php?rest_route=\/wp\/v2\/posts\/8614\/revisions\/8615"}],"wp:attachment":[{"href":"https:\/\/system-administrators.info\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8614"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/system-administrators.info\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8614"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/system-administrators.info\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8614"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}