﻿{"id":11996,"date":"2026-09-06T10:00:00","date_gmt":"2026-09-06T10:00:00","guid":{"rendered":"https:\/\/seo-studio.ua\/?p=11996"},"modified":"2026-09-05T10:39:55","modified_gmt":"2026-09-05T10:39:55","slug":"razduvanie-bd-wordpress-revisions-ttfb","status":"publish","type":"post","link":"https:\/\/seo-studio.ua\/ru\/blog\/razduvanie-bd-wordpress-revisions-ttfb","title":{"rendered":"Database bloat revisions \u0438 TTFB \u0432 WordPress"},"content":{"rendered":"<h2 class=\"wp-block-heading\" id=\"pochemu-bloat-bet-ttfb\">\u041f\u043e\u0447\u0435\u043c\u0443 revisions \u0438 transients \u0431\u044c\u044e\u0442 TTFB<\/h2>\n<p>Database bloat \u0432 WordPress \u0440\u0435\u0434\u043a\u043e \u0432\u044b\u0433\u043b\u044f\u0434\u0438\u0442 \u043a\u0430\u043a \u00ab\u0441\u0430\u0439\u0442 \u0443\u043f\u0430\u043b\u00bb. \u0427\u0430\u0449\u0435 \u0440\u0430\u0441\u0442\u0451\u0442 Time to First Byte \u043d\u0430 \u0434\u0438\u043d\u0430\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0445 URL, \u0442\u043e\u0440\u043c\u043e\u0437\u0438\u0442 \u0430\u0434\u043c\u0438\u043d\u043a\u0430, \u0430 \u043a\u0435\u0448 \u043b\u0438\u0448\u044c \u043c\u0430\u0441\u043a\u0438\u0440\u0443\u0435\u0442 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u043d\u0430 \u043f\u0443\u0431\u043b\u0438\u0447\u043d\u044b\u0445 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\u0445. Revisions, \u043f\u0440\u043e\u0441\u0440\u043e\u0447\u0435\u043d\u043d\u044b\u0435 transients \u0438 \u0442\u044f\u0436\u0451\u043b\u044b\u0435 \u0441\u0442\u0440\u043e\u043a\u0438 \u0432 <code>wp_options<\/code> \u0441 <code>autoload=yes<\/code> \u0447\u0438\u0442\u0430\u044e\u0442\u0441\u044f \u043f\u043e\u0447\u0442\u0438 \u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 PHP-\u0437\u0430\u043f\u0440\u043e\u0441.<\/p>\n<p>\u0415\u0441\u043b\u0438 TTFB \u0432 <a href=\"https:\/\/developers.google.com\/speed\/docs\/insights\/v5\/about\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">PageSpeed Insights<\/a> \u0438\u043b\u0438 \u043b\u0430\u0431\u043e\u0440\u0430\u0442\u043e\u0440\u043d\u043e\u043c \u0442\u0435\u0441\u0442\u0435 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e \u0432\u044b\u0448\u0435 600\u2013800 \u043c\u0441 \u0431\u0435\u0437 CDN-\u0437\u0430\u0434\u0435\u0440\u0436\u043a\u0438 \u0441\u043d\u0430\u0447\u0430\u043b\u0430 \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0411\u0414, \u0430 \u043d\u0435 \u0442\u043e\u043b\u044c\u043a\u043e \u0442\u0435\u043c\u0443. \u0414\u043b\u044f SEO \u044d\u0442\u043e \u043a\u0440\u0438\u0442\u0438\u0447\u043d\u043e \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u044b\u0439 \u0441\u0442\u0430\u0440\u0442 \u043e\u0442\u0432\u0435\u0442\u0430 \u0445\u0443\u0436\u0435 \u0438\u043d\u0434\u0435\u043a\u0441\u0438\u0440\u0443\u0435\u0442\u0441\u044f \u043d\u0430 \u0441\u043b\u0430\u0431\u044b\u0445 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u044f\u0445 \u0438 \u0445\u0443\u0436\u0435 \u043a\u043e\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u0442.<\/p>\n<ul>\n<li><strong>Revisions<\/strong> \u0440\u0430\u0437\u0434\u0443\u0432\u0430\u044e\u0442 <code>wp_posts<\/code> \/ <code>wp_postmeta<\/code> \u0438 \u0437\u0430\u043c\u0435\u0434\u043b\u044f\u044e\u0442 \u0440\u0435\u0434\u0430\u043a\u0446\u0438\u043e\u043d\u043d\u044b\u0435 \u0437\u0430\u043f\u0440\u043e\u0441\u044b.<\/li>\n<li><strong>Transients<\/strong> \u0431\u0435\u0437 \u043e\u0447\u0438\u0441\u0442\u043a\u0438 \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u044e\u0442 \u0442\u044b\u0441\u044f\u0447\u0438 \u043a\u043b\u044e\u0447\u0435\u0439 \u0432 options \u0438\u043b\u0438 \u043e\u0442\u0434\u0435\u043b\u044c\u043d\u043e\u0439 \u0442\u0430\u0431\u043b\u0438\u0446\u0435.<\/li>\n<li><strong>Autoload options<\/strong> \u0442\u044f\u043d\u0443\u0442\u0441\u044f \u0432 \u043f\u0430\u043c\u044f\u0442\u044c \u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 front-end hit.<\/li>\n<\/ul>\n<h2 class=\"wp-block-heading\" id=\"revisions-kontrol\">Revisions \u043a\u0430\u043a \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0438\u0440\u043e\u0432\u0430\u0442\u044c<\/h2>\n<figure class=\"wp-block-image aligncenter size-large\"><img decoding=\"async\" width=\"1600\" height=\"1066\" src=\"https:\/\/seo-studio.ua\/wp-content\/uploads\/2026\/09\/razduvanie-bd-wordpress-revisions-ttfb-revisions-ru.webp\" class=\"wp-image-12011\" alt=\"\u042d\u043a\u0440\u0430\u043d \u0441\u043e \u0441\u043f\u0438\u0441\u043a\u043e\u043c \u0440\u0435\u0432\u0438\u0437\u0438\u0439 \u043f\u043e\u0441\u0442\u0430 \u0438 \u0441\u0447\u0451\u0442\u0447\u0438\u043a\u043e\u043c \u0441\u0442\u0440\u043e\u043a \u0432 wp_posts\" loading=\"lazy\" title=\"\"><figcaption>\u041a\u0430\u0436\u0434\u0430\u044f \u0440\u0435\u0432\u0438\u0437\u0438\u044f \u044d\u0442\u043e \u0441\u0442\u0440\u043e\u043a\u0430 \u0432 wp_posts. \u041d\u0430 \u0431\u043e\u043b\u044c\u0448\u0438\u0445 \u0440\u0435\u0434\u0430\u043a\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0441\u0430\u0439\u0442\u0430\u0445 \u0438\u0445 \u0442\u044b\u0441\u044f\u0447\u0438.<\/figcaption><\/figure>\n<p>WordPress \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u0445\u0440\u0430\u043d\u0438\u0442 \u0432\u0441\u0435 \u0447\u0435\u0440\u043d\u043e\u0432\u0438\u043a\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439. \u041d\u0430 \u043a\u0430\u0442\u0430\u043b\u043e\u0433\u0435 \u0441 5\u201310 \u0442\u044b\u0441. \u0442\u043e\u0432\u0430\u0440\u043e\u0432 \u0438 \u0435\u0436\u0435\u0434\u043d\u0435\u0432\u043d\u044b\u043c\u0438 \u043f\u0440\u0430\u0432\u043a\u0430\u043c\u0438 \u0440\u0435\u0432\u0438\u0437\u0438\u0439 \u043b\u0435\u0433\u043a\u043e \u043d\u0430\u0431\u0440\u0430\u0442\u044c \u0441\u043e\u0442\u043d\u0438 \u0442\u044b\u0441\u044f\u0447 \u0441\u0442\u0440\u043e\u043a. \u041f\u0440\u0430\u043a\u0442\u0438\u0447\u0435\u0441\u043a\u0438\u0435 \u0448\u0430\u0433\u0438<\/p>\n<ul>\n<li>\u041e\u0433\u0440\u0430\u043d\u0438\u0447\u044c\u0442\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0432 <code>wp-config.php<\/code> \u0447\u0435\u0440\u0435\u0437 <code>WP_POST_REVISIONS<\/code> (\u043d\u0430\u043f\u0440\u0438\u043c\u0435\u0440 5\u201310).<\/li>\n<li>\u041e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u0440\u0435\u0432\u0438\u0437\u0438\u0438 \u0434\u043b\u044f \u0442\u0438\u043f\u043e\u0432 \u043a\u043e\u043d\u0442\u0435\u043d\u0442\u0430 \u0433\u0434\u0435 \u0438\u0441\u0442\u043e\u0440\u0438\u044f \u043d\u0435 \u043d\u0443\u0436\u043d\u0430 (\u0447\u0430\u0441\u0442\u043e product \u0431\u0435\u0437 \u0440\u0435\u0434\u0430\u043a\u0446\u0438\u043e\u043d\u043d\u043e\u0439 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0438).<\/li>\n<li>\u041f\u0435\u0440\u0438\u043e\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u0447\u0438\u0441\u0442\u0438\u0442\u0435 \u0441\u0442\u0430\u0440\u044b\u0435 \u0440\u0435\u0432\u0438\u0437\u0438\u0438 WP-CLI (<code>wp post delete $(wp post list --post_type='revision' --format=ids)<\/code> \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u043b\u0435 \u0431\u044d\u043a\u0430\u043f\u0430) \u0438\u043b\u0438 \u043f\u0440\u043e\u0432\u0435\u0440\u0435\u043d\u043d\u044b\u043c \u043f\u043b\u0430\u0433\u0438\u043d\u043e\u043c.<\/li>\n<li>\u041d\u0435 \u0442\u0440\u043e\u0433\u0430\u0439\u0442\u0435 revisions \u00ab\u0432\u0441\u043b\u0435\u043f\u0443\u044e\u00bb \u043d\u0430 \u0441\u0430\u0439\u0442\u0430\u0445 \u0441 \u044e\u0440\u0438\u0434\u0438\u0447\u0435\u0441\u043a\u0438 \u0432\u0430\u0436\u043d\u044b\u043c\u0438 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u044f\u043c\u0438 \u0442\u0435\u043a\u0441\u0442\u0430 \u0431\u0435\u0437 \u043f\u043e\u043b\u0438\u0442\u0438\u043a\u0438 retention.<\/li>\n<\/ul>\n<p><strong>\u0425\u0430\u043a \u043d\u0430 \u0437\u0430\u043c\u0435\u0442\u043a\u0443.<\/strong> \u0412 phpMyAdmin \u0432\u044b\u043f\u043e\u043b\u043d\u0438\u0442\u0435 <code>SELECT COUNT(*) FROM wp_posts WHERE post_type='revision';<\/code>. \u0415\u0441\u043b\u0438 \u0447\u0438\u0441\u043b\u043e \u0431\u043b\u0438\u0437\u043a\u043e \u0438\u043b\u0438 \u0431\u043e\u043b\u044c\u0448\u0435 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u0430 \u043e\u043f\u0443\u0431\u043b\u0438\u043a\u043e\u0432\u0430\u043d\u043d\u044b\u0445 \u043f\u043e\u0441\u0442\u043e\u0432 \u0432 10\u201350 \u0440\u0430\u0437 \u044d\u0442\u043e \u043a\u0440\u0430\u0441\u043d\u044b\u0439 \u0444\u043b\u0430\u0433.<\/p>\n<h2 class=\"wp-block-heading\" id=\"transients-autoload\">Transients \u0438 autoload options<\/h2>\n<figure class=\"wp-block-image aligncenter size-large\"><img decoding=\"async\" width=\"1536\" height=\"1024\" src=\"https:\/\/seo-studio.ua\/wp-content\/uploads\/2026\/09\/razduvanie-bd-wordpress-revisions-ttfb-transients-ru.webp\" class=\"wp-image-12013\" alt=\"\u0422\u0430\u0431\u043b\u0438\u0446\u0430 wp_options \u0441 \u0432\u044b\u0434\u0435\u043b\u0435\u043d\u043d\u044b\u043c\u0438 transient-\u043a\u043b\u044e\u0447\u0430\u043c\u0438 \u0438 autoload=yes\" loading=\"lazy\" title=\"\"><figcaption>\u041f\u0440\u043e\u0441\u0440\u043e\u0447\u0435\u043d\u043d\u044b\u0435 transients \u0438 \u0442\u044f\u0436\u0451\u043b\u044b\u0435 autoload options \u0447\u0430\u0441\u0442\u043e \u043d\u0435\u0437\u0430\u043c\u0435\u0442\u043d\u044b \u0432 \u0430\u0434\u043c\u0438\u043d\u043a\u0435, \u043d\u043e \u0447\u0438\u0442\u0430\u044e\u0442\u0441\u044f \u043d\u0430 \u043a\u0430\u0436\u0434\u044b\u0439 \u0437\u0430\u043f\u0440\u043e\u0441.<\/figcaption><\/figure>\n<p>Transients \u0443\u0434\u043e\u0431\u043d\u044b \u0434\u043b\u044f \u043a\u0435\u0448\u0430 API, \u043d\u043e \u043f\u043b\u0430\u0433\u0438\u043d\u044b \u0447\u0430\u0441\u0442\u043e \u043f\u0438\u0448\u0443\u0442 \u043a\u043b\u044e\u0447\u0438 \u0431\u0435\u0437 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u043e\u0433\u043e TTL \u0438\u043b\u0438 \u043d\u0435 \u0443\u0434\u0430\u043b\u044f\u044e\u0442 \u043f\u0440\u043e\u0441\u0440\u043e\u0447\u0435\u043d\u043d\u044b\u0435. Autoload options \u0435\u0449\u0451 \u0445\u0443\u0436\u0435 \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e WordPress \u043f\u043e\u0434\u0433\u0440\u0443\u0436\u0430\u0435\u0442 \u0438\u0445 \u0441\u0440\u0430\u0437\u0443. \u0422\u0438\u043f\u0438\u0447\u043d\u044b\u0435 \u00ab\u0442\u044f\u0436\u0451\u043b\u044b\u0435\u00bb \u0430\u0432\u0442\u043e\u0440\u044b analytics-\u0441\u043d\u0438\u043f\u043f\u0435\u0442\u044b \u0432 options, \u043c\u0435\u0433\u0430\u043c\u0430\u0441\u0441\u0438\u0432\u044b \u043d\u0430\u0441\u0442\u0440\u043e\u0435\u043a \u043a\u043e\u043d\u0441\u0442\u0440\u0443\u043a\u0442\u043e\u0440\u043e\u0432, \u0443\u0441\u0442\u0430\u0440\u0435\u0432\u0448\u0438\u0435 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u043e\u043d\u043d\u044b\u0435 payload.<\/p>\n<ul>\n<li>\u041f\u043e\u0441\u0447\u0438\u0442\u0430\u0439\u0442\u0435 \u0440\u0430\u0437\u043c\u0435\u0440 autoload <code>SELECT SUM(LENGTH(option_value)) FROM wp_options WHERE autoload IN ('yes','on','auto');<\/code><\/li>\n<li>\u041e\u0440\u0438\u0435\u043d\u0442\u0438\u0440 \u0442\u0440\u0435\u0432\u043e\u0433\u0438 \u0441\u0432\u044b\u0448\u0435 1\u20132 \u041c\u0411 autoload \u043d\u0430 \u0441\u0440\u0435\u0434\u043d\u0435\u043c \u0441\u0430\u0439\u0442\u0435, \u0441\u0432\u044b\u0448\u0435 3\u20135 \u041c\u0411 \u043f\u043e\u0447\u0442\u0438 \u0432\u0441\u0435\u0433\u0434\u0430 \u0441\u0442\u043e\u0438\u0442 \u0440\u0430\u0437\u0431\u0438\u0440\u0430\u0442\u044c.<\/li>\n<li>\u041f\u0440\u043e\u0441\u0440\u043e\u0447\u0435\u043d\u043d\u044b\u0435 transients \u0438\u0449\u0438\u0442\u0435 \u043f\u043e <code>_transient_timeout_<\/code> \u0441 \u043f\u0440\u043e\u0448\u0435\u0434\u0448\u0438\u043c timestamp.<\/li>\n<li>\u041f\u043e\u0441\u043b\u0435 \u0443\u0434\u0430\u043b\u0435\u043d\u0438\u044f \u043b\u0438\u0448\u043d\u0435\u0433\u043e \u0441\u0434\u0435\u043b\u0430\u0439\u0442\u0435 object cache flush \u0435\u0441\u043b\u0438 \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u0442\u0435 Redis\/Memcached.<\/li>\n<\/ul>\n<h2 class=\"wp-block-heading\" id=\"izmerit-ttfb\">\u041a\u0430\u043a \u0438\u0437\u043c\u0435\u0440\u0438\u0442\u044c \u0432\u043b\u0438\u044f\u043d\u0438\u0435 \u043d\u0430 TTFB<\/h2>\n<figure class=\"wp-block-image aligncenter size-large\"><img decoding=\"async\" width=\"1536\" height=\"1024\" src=\"https:\/\/seo-studio.ua\/wp-content\/uploads\/2026\/09\/razduvanie-bd-wordpress-revisions-ttfb-ttfb-ru.webp\" class=\"wp-image-12015\" alt=\"\u041d\u043e\u0443\u0442\u0431\u0443\u043a \u0441 PageSpeed Insights \u0438 Query Monitor \u0440\u044f\u0434\u043e\u043c \u0441 \u0433\u0440\u0430\u0444\u0438\u043a\u043e\u043c TTFB\" loading=\"lazy\" title=\"\"><figcaption>\u0421\u0440\u0430\u0432\u043d\u0438\u0432\u0430\u0439\u0442\u0435 TTFB \u0434\u043e \u0438 \u043f\u043e\u0441\u043b\u0435 \u043e\u0447\u0438\u0441\u0442\u043a\u0438 \u043d\u0430 \u043e\u0434\u043d\u043e\u043c URL \u0431\u0435\u0437 \u043a\u0435\u0448\u0430 \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u044b.<\/figcaption><\/figure>\n<p>\u0411\u0435\u0437 \u0438\u0437\u043c\u0435\u0440\u0435\u043d\u0438\u044f \u00ab\u043e\u0447\u0438\u0441\u0442\u043a\u0430 \u0411\u0414\u00bb \u043f\u0440\u0435\u0432\u0440\u0430\u0449\u0430\u0435\u0442\u0441\u044f \u0432 \u0440\u0438\u0442\u0443\u0430\u043b. \u0421\u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u0431\u0430\u0437\u0443 \u0441\u0440\u0430\u0432\u043d\u0435\u043d\u0438\u044f<\/p>\n<ol>\n<li>\u0412\u044b\u0431\u0435\u0440\u0438\u0442\u0435 3 URL (\u0433\u043b\u0430\u0432\u043d\u0430\u044f, \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f, \u043a\u0430\u0440\u0442\u043e\u0447\u043a\u0430) \u0438 \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u0435 page cache \u0434\u043b\u044f \u0442\u0435\u0441\u0442\u0430 \u0438\u043b\u0438 \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 cache-buster.<\/li>\n<li>\u0421\u043d\u0438\u043c\u0438\u0442\u0435 TTFB \u0432 DevTools \u2192 Network (\u043f\u043e\u043b\u0435 Waiting) \u0438 \u0432 <a href=\"https:\/\/developers.google.com\/speed\/docs\/insights\/v5\/about\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">PageSpeed<\/a> lab.<\/li>\n<li>\u0412\u043a\u043b\u044e\u0447\u0438\u0442\u0435 <a href=\"https:\/\/wordpress.org\/plugins\/query-monitor\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Query Monitor<\/a> \u043d\u0430 staging \u0438 \u043f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u0442\u0435 \u0441\u0430\u043c\u044b\u0435 \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u044b\u0435 SQL \u0438 \u0440\u0430\u0437\u043c\u0435\u0440 options.<\/li>\n<li>\u041f\u043e\u0441\u043b\u0435 cleanup \u043f\u043e\u0432\u0442\u043e\u0440\u0438\u0442\u0435 \u0442\u0435 \u0436\u0435 URL \u0432 \u0442\u043e \u0436\u0435 \u0432\u0440\u0435\u043c\u044f \u0441\u0443\u0442\u043e\u043a.<\/li>\n<\/ol>\n<p>\u0415\u0441\u043b\u0438 TTFB \u043f\u043e\u0447\u0442\u0438 \u043d\u0435 \u0438\u0437\u043c\u0435\u043d\u0438\u043b\u0441\u044f, \u0430 SQL \u0443\u0436\u0435 \u043b\u0435\u0433\u0447\u0435 \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0430 \u043c\u043e\u0436\u0435\u0442 \u0431\u044b\u0442\u044c \u0432 PHP, \u0432\u043d\u0435\u0448\u043d\u0438\u0445 HTTP \u0438\u043b\u0438 \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0435. \u0422\u043e\u0433\u0434\u0430 bloat \u0431\u044b\u043b \u0441\u0438\u043c\u043f\u0442\u043e\u043c\u043e\u043c \u0432\u0442\u043e\u0440\u043e\u0433\u043e \u043f\u043b\u0430\u043d\u0430, \u043d\u043e \u0435\u0433\u043e \u0432\u0441\u0451 \u0440\u0430\u0432\u043d\u043e \u0441\u0442\u043e\u0438\u0442 \u0434\u0435\u0440\u0436\u0430\u0442\u044c \u043f\u043e\u0434 \u043a\u043e\u043d\u0442\u0440\u043e\u043b\u0435\u043c.<\/p>\n<h2 class=\"wp-block-heading\" id=\"bystraya-proverka-bd\">\u0411\u044b\u0441\u0442\u0440\u0430\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0411\u0414<\/h2>\n<figure class=\"wp-block-image aligncenter size-large\"><img decoding=\"async\" width=\"1536\" height=\"1024\" src=\"https:\/\/seo-studio.ua\/wp-content\/uploads\/2026\/09\/razduvanie-bd-wordpress-revisions-ttfb-checklist-ru.webp\" class=\"wp-image-12017\" alt=\"\u0427\u0435\u043a-\u043b\u0438\u0441\u0442 WP-CLI \u0438 phpMyAdmin \u0434\u043b\u044f revisions, autoload \u0438 transients\" loading=\"lazy\" title=\"\"><figcaption>\u0411\u044b\u0441\u0442\u0440\u0430\u044f \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 \u0437\u0430\u043d\u0438\u043c\u0430\u0435\u0442 10\u201315 \u043c\u0438\u043d\u0443\u0442 \u0438 \u0441\u0440\u0430\u0437\u0443 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u0435\u0442 \u0435\u0441\u0442\u044c \u043b\u0438 bloat.<\/figcaption><\/figure>\n<p><strong>\u0427\u0435\u043a-\u043b\u0438\u0441\u0442 \u043d\u0430 \u0437\u0430\u043c\u0435\u0442\u043a\u0443 (10\u201315 \u043c\u0438\u043d\u0443\u0442).<\/strong> \u0421\u0434\u0435\u043b\u0430\u0439\u0442\u0435 \u0441\u0435\u0439\u0447\u0430\u0441<\/p>\n<ol>\n<li>\u0411\u044d\u043a\u0430\u043f \u0411\u0414 (\u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0438\u043b\u0438 <code>wp db export<\/code>).<\/li>\n<li>\u041f\u043e\u0441\u0447\u0438\u0442\u0430\u0439\u0442\u0435 revisions <code>wp post list --post_type=revision --format=count<\/code>.<\/li>\n<li>\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u0440\u0430\u0437\u043c\u0435\u0440 autoload options (SQL \u0432\u044b\u0448\u0435) \u0438 \u0442\u043e\u043f-20 \u0441\u0430\u043c\u044b\u0445 \u0442\u044f\u0436\u0451\u043b\u044b\u0445 \u043a\u043b\u044e\u0447\u0435\u0439.<\/li>\n<li>\u041d\u0430\u0439\u0434\u0438\u0442\u0435 \u043f\u0440\u043e\u0441\u0440\u043e\u0447\u0435\u043d\u043d\u044b\u0435 transients \u0438 \u043e\u0446\u0435\u043d\u0438\u0442\u0435 \u0438\u0445 \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e.<\/li>\n<li>\u0421\u0440\u0430\u0432\u043d\u0438\u0442\u0435 \u0440\u0430\u0437\u043c\u0435\u0440 \u0442\u0430\u0431\u043b\u0438\u0446 <code>wp_posts<\/code>, <code>wp_postmeta<\/code>, <code>wp_options<\/code> \u0432 phpMyAdmin.<\/li>\n<li>\u0421\u043d\u0438\u043c\u0438\u0442\u0435 TTFB \u0434\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u043d\u0430 1\u20132 money-URL.<\/li>\n<li>\u0412 <a href=\"https:\/\/support.google.com\/webmasters\/answer\/9012289\" target=\"_blank\" rel=\"nofollow noopener noreferrer\">Search Console<\/a> \u043f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435 \u043d\u0435\u0442 \u043b\u0438 \u0436\u0430\u043b\u043e\u0431 \u043d\u0430 server error \u043f\u043e\u0441\u043b\u0435 \u0440\u0430\u0431\u043e\u0442.<\/li>\n<\/ol>\n<table>\n<thead>\n<tr>\n<th>\u0418\u0441\u0442\u043e\u0447\u043d\u0438\u043a bloat<\/th>\n<th>\u0421\u0438\u043c\u043f\u0442\u043e\u043c<\/th>\n<th>\u0414\u0435\u0439\u0441\u0442\u0432\u0438\u0435<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td><strong>Revisions<\/strong><\/td>\n<td>\u0411\u043e\u043b\u044c\u0448\u043e\u0439 <code>wp_posts<\/code>, \u043c\u0435\u0434\u043b\u0435\u043d\u043d\u043e\u0435 \u0441\u043e\u0445\u0440\u0430\u043d\u0435\u043d\u0438\u0435 \u0432 \u0440\u0435\u0434\u0430\u043a\u0442\u043e\u0440\u0435<\/td>\n<td>\u041b\u0438\u043c\u0438\u0442 WP_POST_REVISIONS, \u043f\u043b\u0430\u043d\u043e\u0432\u0430\u044f \u043e\u0447\u0438\u0441\u0442\u043a\u0430<\/td>\n<\/tr>\n<tr>\n<td><strong>Transients<\/strong><\/td>\n<td>\u0422\u044b\u0441\u044f\u0447\u0438 \u043a\u043b\u044e\u0447\u0435\u0439 _transient_, \u0441\u043a\u0430\u0447\u043a\u0438 \u0440\u0430\u0437\u043c\u0435\u0440\u0430 options<\/td>\n<td>\u0423\u0434\u0430\u043b\u0438\u0442\u044c expired, \u043f\u043e\u0447\u0438\u043d\u0438\u0442\u044c TTL \u0432 \u043f\u043b\u0430\u0433\u0438\u043d\u0430\u0445<\/td>\n<\/tr>\n<tr>\n<td><strong>Autoload options<\/strong><\/td>\n<td>\u0412\u044b\u0441\u043e\u043a\u0438\u0439 TTFB \u0434\u0430\u0436\u0435 \u043d\u0430 \u043f\u0440\u043e\u0441\u0442\u044b\u0445 URL<\/td>\n<td>\u0421\u043d\u044f\u0442\u044c autoload \u0441 \u0442\u044f\u0436\u0451\u043b\u044b\u0445 \u043a\u043b\u044e\u0447\u0435\u0439, \u0440\u0430\u0437\u043e\u0431\u0440\u0430\u0442\u044c \u043f\u043b\u0430\u0433\u0438\u043d<\/td>\n<\/tr>\n<tr>\n<td><strong>Orphan postmeta<\/strong><\/td>\n<td>\u0411\u043e\u043b\u044c\u0448\u043e\u0439 <code>wp_postmeta<\/code> \u043f\u043e\u0441\u043b\u0435 \u0438\u043c\u043f\u043e\u0440\u0442\u043e\u0432<\/td>\n<td>\u041e\u0441\u0442\u043e\u0440\u043e\u0436\u043d\u0430\u044f \u0443\u0431\u043e\u0440\u043a\u0430 \u0441\u0438\u0440\u043e\u0442 \u043f\u043e\u0441\u043b\u0435 \u0430\u0443\u0434\u0438\u0442\u0430<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 class=\"wp-block-heading\" id=\"tipichnye-oshibki\">\u0422\u0438\u043f\u0438\u0447\u043d\u044b\u0435 \u043e\u0448\u0438\u0431\u043a\u0438<\/h2>\n<ul>\n<li>\u0427\u0438\u0441\u0442\u0438\u0442\u044c \u043f\u0440\u043e\u0434 \u0431\u0435\u0437 \u0431\u044d\u043a\u0430\u043f\u0430 \u0438 \u0431\u0435\u0437 staging-\u043f\u0440\u043e\u0433\u043e\u043d\u0430.<\/li>\n<li>\u0423\u0434\u0430\u043b\u044f\u0442\u044c \u0432\u0441\u0435 options \u0441 \u00ab\u043d\u0435\u0437\u043d\u0430\u043a\u043e\u043c\u044b\u043c\u0438\u00bb \u0438\u043c\u0435\u043d\u0430\u043c\u0438 \u0438 \u0441\u043b\u043e\u043c\u0430\u0442\u044c \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0438\/\u043f\u043b\u0430\u0433\u0438\u043d\u044b.<\/li>\n<li>\u041e\u0436\u0438\u0434\u0430\u0442\u044c \u0447\u0442\u043e database cleanup \u0437\u0430\u043c\u0435\u043d\u0438\u0442 CDN, OPcache \u0438 \u043d\u043e\u0440\u043c\u0430\u043b\u044c\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433.<\/li>\n<li>\u041e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c object cache \u0441\u043e \u0441\u0442\u0430\u0440\u044b\u043c\u0438 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f\u043c\u0438 \u043f\u043e\u0441\u043b\u0435 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 MySQL.<\/li>\n<li>\u0418\u0433\u043d\u043e\u0440\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u0432\u0442\u043e\u0440\u043d\u043e\u0435 \u043d\u0430\u043a\u043e\u043f\u043b\u0435\u043d\u0438\u0435 \u043f\u043e\u0442\u043e\u043c\u0443 \u0447\u0442\u043e \u043a\u043e\u0440\u0435\u043d\u044c \u0432 \u043f\u043b\u0430\u0433\u0438\u043d\u0435 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u0441\u043d\u043e\u0432\u0430 \u043f\u0438\u0448\u0435\u0442 \u0433\u0438\u0433\u0430\u043d\u0442\u0441\u043a\u0438\u0435 autoload.<\/li>\n<\/ul>\n<h2 class=\"wp-block-heading\" id=\"zaklyuchenie\">\u0417\u0430\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435<\/h2>\n<p>Database bloat \u044d\u0442\u043e \u043d\u0435 \u0430\u0431\u0441\u0442\u0440\u0430\u043a\u0442\u043d\u0430\u044f \u00ab\u0433\u0438\u0433\u0438\u0435\u043d\u0430\u00bb, \u0430 \u043f\u0440\u044f\u043c\u043e\u0439 \u0440\u044b\u0447\u0430\u0433 TTFB \u0438 \u0441\u0442\u0430\u0431\u0438\u043b\u044c\u043d\u043e\u0441\u0442\u0438 WordPress. \u041a\u043e\u043d\u0442\u0440\u043e\u043b\u044c revisions, \u0434\u0438\u0441\u0446\u0438\u043f\u043b\u0438\u043d\u0430 transients \u0438 \u0430\u0443\u0434\u0438\u0442 autoload options \u0434\u0430\u044e\u0442 \u0438\u0437\u043c\u0435\u0440\u0438\u043c\u044b\u0439 \u044d\u0444\u0444\u0435\u043a\u0442 \u0431\u044b\u0441\u0442\u0440\u0435\u0435 \u0447\u0435\u043c \u043e\u0447\u0435\u0440\u0435\u0434\u043d\u043e\u0439 \u0432\u0438\u0437\u0443\u0430\u043b\u044c\u043d\u044b\u0439 \u0440\u0435\u0434\u0438\u0437\u0430\u0439\u043d.<\/p>\n<p>\u041d\u0443\u0436\u0435\u043d \u0442\u0435\u0445\u043d\u0438\u0447\u0435\u0441\u043a\u0438\u0439 SEO-\u0430\u0443\u0434\u0438\u0442 \u0441 \u043f\u0440\u043e\u0432\u0435\u0440\u043a\u043e\u0439 \u0441\u043a\u043e\u0440\u043e\u0441\u0442\u0438 \u043e\u0442\u0432\u0435\u0442\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u0430 <a href=\"https:\/\/seo-studio.ua\/\">SEO-Studio<\/a> \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0432 \u0440\u0430\u043c\u043a\u0430\u0445 <a href=\"https:\/\/seo-studio.ua\">SEO-\u0443\u0441\u043b\u0443\u0433<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u041a\u0430\u043a revisions, transients \u0438 autoload options \u0440\u0430\u0437\u0434\u0443\u0432\u0430\u044e\u0442 \u0411\u0414 WordPress \u0438 \u0431\u044c\u044e\u0442 \u043f\u043e TTFB. \u0422\u0430\u0431\u043b\u0438\u0446\u0430 \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u0432 bloat \u0438 \u0447\u0435\u043a-\u043b\u0438\u0441\u0442 WP-CLI\/phpMyAdmin.<\/p>\n","protected":false},"author":1,"featured_media":12009,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[268],"tags":[],"class_list":["post-11996","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-seo"],"_links":{"self":[{"href":"https:\/\/seo-studio.ua\/ru\/wp-json\/wp\/v2\/posts\/11996","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/seo-studio.ua\/ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/seo-studio.ua\/ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/seo-studio.ua\/ru\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/seo-studio.ua\/ru\/wp-json\/wp\/v2\/comments?post=11996"}],"version-history":[{"count":1,"href":"https:\/\/seo-studio.ua\/ru\/wp-json\/wp\/v2\/posts\/11996\/revisions"}],"predecessor-version":[{"id":12028,"href":"https:\/\/seo-studio.ua\/ru\/wp-json\/wp\/v2\/posts\/11996\/revisions\/12028"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/seo-studio.ua\/ru\/wp-json\/wp\/v2\/media\/12009"}],"wp:attachment":[{"href":"https:\/\/seo-studio.ua\/ru\/wp-json\/wp\/v2\/media?parent=11996"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/seo-studio.ua\/ru\/wp-json\/wp\/v2\/categories?post=11996"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/seo-studio.ua\/ru\/wp-json\/wp\/v2\/tags?post=11996"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}