{"id":13632,"date":"2026-10-24T07:35:00","date_gmt":"2026-10-24T05:35:00","guid":{"rendered":"https:\/\/www.lukaswojcik.com\/blog\/?p=13632"},"modified":"2026-10-24T06:36:04","modified_gmt":"2026-10-24T04:36:04","slug":"2483-revisions-for-926-posts-what-really-fills-a-wordpress-database","status":"publish","type":"post","link":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/tutorials-en-wordpress-plugins-tricks\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\/","title":{"rendered":"WordPress Revisions: Storage, Limits and Reliable Measurement"},"content":{"rendered":"<p>WordPress revisions retain editing states for comparison and restoration. That history also adds data to the database. A large revision count alone proves neither a defect nor a slow website.<\/p>\n<p>A read-only measurement of this website on <strong>24 October 2026 at 04:19 UTC<\/strong> found 7,635 revisions among 12,284 rows in the posts table. Revisions accounted for about 79.4 percent of the stored content bytes. This dated snapshot replaces the earlier, now outdated figures.<\/p>\n<figure class=\"lw-diagram\"><img decoding=\"async\" src=\"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/diagrams\/quality-13632-20261024.png\" width=\"1120\" height=\"580\" loading=\"lazy\" alt=\"Revision rows and content bytes in a dated database measurement\"><figcaption>Measurement on 24 October 2026, 04:19 UTC: 7,635 revisions; 79.4% of post_content bytes. This is not a disk-space or speed benchmark.<\/figcaption><\/figure>\n<h2>What WordPress actually stores<\/h2>\n<p>By default, a revision stores the title, content and excerpt. WordPress saves the current editing state in a separate row linked to the post. Further edits turn that snapshot into an older state. Appropriately registered metadata can also participate in revisions. A revision is nevertheless not a complete backup of every post property or the entire website.<\/p>\n<p>Not every save creates a revision. The post type must support revisions, revisions must be enabled, and the relevant fields normally need to have changed. Filters can modify this behaviour. A script touching 300 posts therefore does not necessarily create 300 revisions. Direct SQL updates bypass the normal WordPress workflow entirely.<\/p>\n<p>Autosaves work differently: WordPress maintains an autosave per post and user. An existing autosave is updated; an autosave matching the saved post can be removed.<\/p>\n<h2>Count rows instead of relying on estimates<\/h2>\n<p>The measured table uses InnoDB. For this storage engine, <code>information_schema.TABLES.TABLE_ROWS<\/code> can be an estimate. During the measurement, the overview reported 10,649 rows, while a direct count returned 12,284. That difference is not evidence of missing records.<\/p>\n<p>The direct count found 7,635 revisions, 2,958 attachments, 1,689 posts and pages, and two other records for global styles and navigation. The 1,689 posts and pages cover all statuses, including drafts, scheduled posts and trash. Only 1,290 posts and pages were published. An attachment record also does not represent every automatically generated image file.<\/p>\n<figure class=\"lw-illu\">\n<img decoding=\"async\" alt=\"Symbolic comparison of tall and short stacks; no measured scale\" height=\"580\" loading=\"lazy\" src=\"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/illustrationen\/illu-revisionen.webp\" width=\"1120\"\/><br \/>\n<\/figure>\n<h2>Content size is not file size<\/h2>\n<p><code>OCTET_LENGTH(post_content)<\/code> measured 92,563,135 bytes in revisions and 23,963,672 bytes in posts and pages: about 88.3 and 22.9 MiB respectively. One MiB equals 1,048,576 bytes. The two remaining records contained another 74 bytes combined; attachments had empty content fields in this measurement. Attachments can contain descriptions in other cases.<\/p>\n<p>This query measures only the <code>post_content<\/code> column. Titles, other columns, metadata, indexes and already allocated table space are excluded. Consequently, 88.3 MiB of revision content does not establish that 88.3 MiB of disk space can be reclaimed or that compressed backups would shrink by the same amount.<\/p>\n<h2>Where the costs appear<\/h2>\n<p>Normal public post queries exclude revisions. That does not guarantee identical loading times with and without revisions: queries, indexes, caches, extensions and administration screens can behave differently. This review contains no comparative loading-speed benchmark.<\/p>\n<p>Additional records increase the content of logical database exports. Backup and transfer times also depend on compression, storage and export methods. Three times as much content does not automatically require three times as long to copy.<\/p>\n<h2>Choose a retention policy<\/h2>\n<p><code>WP_POST_REVISIONS<\/code> controls ordinary revision retention. <code>true<\/code> or <code>-1<\/code> means unlimited; a positive integer limits revisions per post; <code>false<\/code> or <code>0<\/code> disables ordinary revisions. Autosaves are exempt. The measured installation used <code>true<\/code>. WordPress filters can change the effective limit.<\/p>\n<p>A suitable limit depends on editing frequency and the depth of history required for restoration. Three to five versions is not a universal recommendation. Before extensive changes, a verified backup and an understandable change log complement the revision history.<\/p>\n<div class=\"lw-faq\">\n<h2>Questions and answers<\/h2>\n<h3>Does a new limit immediately remove all old revisions?<\/h3>\n<p>No. Normal trimming happens per post during the creation of a new revision. A configuration change or an unchanged save does not automatically clean the entire collection. Disabling ordinary revisions does not delete existing revisions either.<\/p>\n<h3>Why avoid deleting directly from the posts table?<\/h3>\n<p>A standalone SQL DELETE can leave associated metadata and cache entries behind. <code>wp_delete_post_revision()<\/code> uses the normal WordPress deletion workflow, including related cleanup. Removing old revisions requires a verified backup and an explicitly defined selection. No revisions were deleted during this measurement.<\/p>\n<h3>Does deletion shrink the table file?<\/h3>\n<p>Not necessarily. InnoDB can reuse freed space internally. Whether rebuilding returns space to the filesystem depends partly on the tablespace and configuration. Rebuilding can require additional space and maintenance time; this does not justify a blanket OPTIMIZE TABLE command.<\/p>\n<h3>Which query shows the distribution?<\/h3>\n<p>The following read-only query separates post type and status. The <code>wp_<\/code> prefix must match the actual table prefix.<\/p>\n<pre><code>SELECT post_type, post_status,\n       COUNT(*) AS row_count,\n       COALESCE(SUM(OCTET_LENGTH(post_content)), 0) AS content_bytes\nFROM wp_posts\nGROUP BY post_type, post_status\nORDER BY post_type, post_status;<\/code><\/pre>\n<p>The byte count covers only the content field. During ongoing editing, successive queries can capture different snapshots.<\/p>\n<\/div>\n<div class=\"lw-quellen\">\n<h2>Sources<\/h2>\n<ul>\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_save_post_revision\/\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress: wp_save_post_revision()<\/a><\/li>\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/_wp_post_revision_fields\/\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress: revision fields<\/a><\/li>\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_create_post_autosave\/\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress: wp_create_post_autosave()<\/a><\/li>\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_revisions_to_keep\/\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress: wp_revisions_to_keep()<\/a><\/li>\n<li><a href=\"https:\/\/wordpress.org\/documentation\/article\/revisions\/\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress: Revisions<\/a><\/li>\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_delete_post_revision\/\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress: wp_delete_post_revision()<\/a><\/li>\n<li><a href=\"https:\/\/developer.wordpress.org\/reference\/functions\/wp_delete_post\/\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress: wp_delete_post()<\/a><\/li>\n<li><a href=\"https:\/\/mariadb.com\/docs\/server\/reference\/system-tables\/information-schema\/information-schema-tables\/information-schema-tables-table\" target=\"_blank\" rel=\"noopener noreferrer\">MariaDB: Information Schema TABLES<\/a><\/li>\n<li><a href=\"https:\/\/mariadb.com\/docs\/server\/ha-and-performance\/optimization-and-tuning\/optimizing-tables\/optimize-table\" target=\"_blank\" rel=\"noopener noreferrer\">MariaDB: OPTIMIZE TABLE<\/a><\/li>\n<li><a href=\"https:\/\/developer.wordpress.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">WordPress developer resources<\/a><\/li>\n<\/ul>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>How WordPress revisions are created, what revision counts and content bytes actually measure, and how retention limits work. Includes a dated database measurement and a read-only SQL query.<\/p>\n","protected":false},"author":1,"featured_media":24184,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[92642],"tags":[91219,91315,91096],"class_list":["post-13632","post","type-post","status-publish","format-standard","hentry","category-tutorials-en-wordpress-plugins-tricks","tag-tutorial","tag-web-performance","tag-wordpress"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>WordPress Revisions: Storage, Limits and Reliable Measurement | Lukas Wojcik<\/title>\n<meta name=\"description\" content=\"How many rows in wp_posts are revisions, why the table overview reports a number that is 29 per cent too low, what revisions really cost, and which setting limits them.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/tutorials-en-wordpress-plugins-tricks\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WordPress Revisions: Storage, Limits and Reliable Measurement | Lukas Wojcik\" \/>\n<meta property=\"og:description\" content=\"How many rows in wp_posts are revisions, why the table overview reports a number that is 29 per cent too low, what revisions really cost, and which setting limits them.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/tutorials-en-wordpress-plugins-tricks\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\/\" \/>\n<meta property=\"og:site_name\" content=\"Lukas Wojcik - Blog\" \/>\n<meta property=\"article:published_time\" content=\"2026-10-24T05:35:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/10\/quality-hero-13632-20261024.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Lukas Wojcik\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Lukas Wojcik\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/tutorials-en-wordpress-plugins-tricks\\\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/tutorials-en-wordpress-plugins-tricks\\\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\\\/\"},\"author\":{\"name\":\"Lukas Wojcik\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#\\\/schema\\\/person\\\/895f7604f9b6b71aad9bba33af28d0f9\"},\"headline\":\"WordPress Revisions: Storage, Limits and Reliable Measurement\",\"datePublished\":\"2026-10-24T05:35:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/tutorials-en-wordpress-plugins-tricks\\\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\\\/\"},\"wordCount\":775,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#\\\/schema\\\/person\\\/895f7604f9b6b71aad9bba33af28d0f9\"},\"image\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/tutorials-en-wordpress-plugins-tricks\\\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/quality-hero-13632-20261024.png\",\"keywords\":[\"Tutorial\",\"Web Performance\",\"WordPress\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/tutorials-en-wordpress-plugins-tricks\\\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/tutorials-en-wordpress-plugins-tricks\\\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\\\/\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/tutorials-en-wordpress-plugins-tricks\\\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\\\/\",\"name\":\"WordPress Revisions: Storage, Limits and Reliable Measurement | Lukas Wojcik\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/tutorials-en-wordpress-plugins-tricks\\\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/tutorials-en-wordpress-plugins-tricks\\\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/quality-hero-13632-20261024.png\",\"datePublished\":\"2026-10-24T05:35:00+00:00\",\"description\":\"How many rows in wp_posts are revisions, why the table overview reports a number that is 29 per cent too low, what revisions really cost, and which setting limits them.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/tutorials-en-wordpress-plugins-tricks\\\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/tutorials-en-wordpress-plugins-tricks\\\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/tutorials-en-wordpress-plugins-tricks\\\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/quality-hero-13632-20261024.png\",\"contentUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/10\\\/quality-hero-13632-20261024.png\",\"width\":1200,\"height\":630,\"caption\":\"WordPress Revisions: Storage, Limits and Reliable Measurement\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/wordpress-plugins-tricks\\\/tutorials-en-wordpress-plugins-tricks\\\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"WordPress Revisions: Storage, Limits and Reliable Measurement\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/\",\"name\":\"Lukas Wojcik - Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#\\\/schema\\\/person\\\/895f7604f9b6b71aad9bba33af28d0f9\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#\\\/schema\\\/person\\\/895f7604f9b6b71aad9bba33af28d0f9\",\"name\":\"Lukas Wojcik\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"contentUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"width\":424,\"height\":636,\"caption\":\"Lukas Wojcik\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\"},\"sameAs\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WordPress Revisions: Storage, Limits and Reliable Measurement | Lukas Wojcik","description":"How many rows in wp_posts are revisions, why the table overview reports a number that is 29 per cent too low, what revisions really cost, and which setting limits them.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/tutorials-en-wordpress-plugins-tricks\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\/","og_locale":"en_US","og_type":"article","og_title":"WordPress Revisions: Storage, Limits and Reliable Measurement | Lukas Wojcik","og_description":"How many rows in wp_posts are revisions, why the table overview reports a number that is 29 per cent too low, what revisions really cost, and which setting limits them.","og_url":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/tutorials-en-wordpress-plugins-tricks\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\/","og_site_name":"Lukas Wojcik - Blog","article_published_time":"2026-10-24T05:35:00+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/10\/quality-hero-13632-20261024.png","type":"image\/png"}],"author":"Lukas Wojcik","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Lukas Wojcik","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/tutorials-en-wordpress-plugins-tricks\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\/#article","isPartOf":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/tutorials-en-wordpress-plugins-tricks\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\/"},"author":{"name":"Lukas Wojcik","@id":"https:\/\/www.lukaswojcik.com\/blog\/#\/schema\/person\/895f7604f9b6b71aad9bba33af28d0f9"},"headline":"WordPress Revisions: Storage, Limits and Reliable Measurement","datePublished":"2026-10-24T05:35:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/tutorials-en-wordpress-plugins-tricks\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\/"},"wordCount":775,"commentCount":0,"publisher":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/#\/schema\/person\/895f7604f9b6b71aad9bba33af28d0f9"},"image":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/tutorials-en-wordpress-plugins-tricks\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\/#primaryimage"},"thumbnailUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/10\/quality-hero-13632-20261024.png","keywords":["Tutorial","Web Performance","WordPress"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/tutorials-en-wordpress-plugins-tricks\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/tutorials-en-wordpress-plugins-tricks\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\/","url":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/tutorials-en-wordpress-plugins-tricks\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\/","name":"WordPress Revisions: Storage, Limits and Reliable Measurement | Lukas Wojcik","isPartOf":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/tutorials-en-wordpress-plugins-tricks\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\/#primaryimage"},"image":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/tutorials-en-wordpress-plugins-tricks\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\/#primaryimage"},"thumbnailUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/10\/quality-hero-13632-20261024.png","datePublished":"2026-10-24T05:35:00+00:00","description":"How many rows in wp_posts are revisions, why the table overview reports a number that is 29 per cent too low, what revisions really cost, and which setting limits them.","breadcrumb":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/tutorials-en-wordpress-plugins-tricks\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/tutorials-en-wordpress-plugins-tricks\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/tutorials-en-wordpress-plugins-tricks\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\/#primaryimage","url":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/10\/quality-hero-13632-20261024.png","contentUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/10\/quality-hero-13632-20261024.png","width":1200,"height":630,"caption":"WordPress Revisions: Storage, Limits and Reliable Measurement"},{"@type":"BreadcrumbList","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/wordpress-plugins-tricks\/tutorials-en-wordpress-plugins-tricks\/2483-revisions-for-926-posts-what-really-fills-a-wordpress-database\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.lukaswojcik.com\/blog\/"},{"@type":"ListItem","position":2,"name":"WordPress Revisions: Storage, Limits and Reliable Measurement"}]},{"@type":"WebSite","@id":"https:\/\/www.lukaswojcik.com\/blog\/#website","url":"https:\/\/www.lukaswojcik.com\/blog\/","name":"Lukas Wojcik - Blog","description":"","publisher":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/#\/schema\/person\/895f7604f9b6b71aad9bba33af28d0f9"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.lukaswojcik.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.lukaswojcik.com\/blog\/#\/schema\/person\/895f7604f9b6b71aad9bba33af28d0f9","name":"Lukas Wojcik","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","url":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","contentUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","width":424,"height":636,"caption":"Lukas Wojcik"},"logo":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg"},"sameAs":["https:\/\/www.lukaswojcik.com\/blog"]}]}},"_links":{"self":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts\/13632","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/comments?post=13632"}],"version-history":[{"count":5,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts\/13632\/revisions"}],"predecessor-version":[{"id":24226,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/posts\/13632\/revisions\/24226"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/media\/24184"}],"wp:attachment":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/media?parent=13632"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/categories?post=13632"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/tags?post=13632"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}