{"id":10028,"date":"2006-03-31T19:00:34","date_gmt":"2006-03-31T16:00:34","guid":{"rendered":"https:\/\/mamchenkov.net\/wordpress\/2006\/03\/31\/mysql-misunderstanding\/"},"modified":"2006-03-31T19:00:34","modified_gmt":"2006-03-31T16:00:34","slug":"mysql-misunderstanding","status":"publish","type":"post","link":"https:\/\/mamchenkov.net\/wordpress\/2006\/03\/31\/mysql-misunderstanding\/","title":{"rendered":"MySQL misunderstanding"},"content":{"rendered":"<!-- google_ad_section_start -->\n<p>I&#8217;m writing this down to warn you and to burn it into my memory.<\/p>\n<p>For one of my projects I am using MySQL with InnoDB tables.\u00c2\u00a0 Which are great, by the way.\u00c2\u00a0 So I have this really huge table &#8211; about 8 GBytes with few million rows &#8211; that I want to empty.\u00c2\u00a0 Without much thinking I start <code>DELETE FROM mytable<\/code>.\u00c2\u00a0 And I wait.\u00c2\u00a0 And wait.\u00c2\u00a0 And wait.\u00c2\u00a0 Then I go for a coffee.\u00c2\u00a0 I come back and wait.\u00c2\u00a0 Then I wait for some more.<\/p>\n<p>Eventually, in about one hour, I got bored.\u00c2\u00a0 So, I terminate the query.\u00c2\u00a0 That was without much thinking too.\u00c2\u00a0 Can you guess why?<\/p>\n<p>Right.\u00c2\u00a0 MySQL uses transactions for InnoDB tables.\u00c2\u00a0 Interrupted query triggered a <code>rollback<\/code> operation.\u00c2\u00a0 So, not only I just spent an hour waiting for the stuff to get deleted, but it won&#8217;t be deleted afterall.<\/p>\n<p>That made me angry.\u00c2\u00a0 So, I decided that I should restart MySQL service.\u00c2\u00a0 I thought that killing MySQL process will make it forget about the whole <code>rollback<\/code> thing.\u00c2\u00a0 It didn&#8217;t work.<\/p>\n<p>In fact, it made the situation even worth.\u00c2\u00a0 MySQL service refused to start until the <code>rollback<\/code> would finish.\u00c2\u00a0 Or maybe it was repairing table, I am not sure.\u00c2\u00a0 But it seemed more like a <code>rollback<\/code>.\u00c2\u00a0 So for the next thirty minutes, it was fixing stuff, while none of other projects could connect to the database.\u00c2\u00a0 Other projects were mostly websites that I host on my home server.\u00c2\u00a0 Very nice.<\/p>\n<p>Of course, while it was working, I was searching for the solution on the Web, mostly in MySQL manuals and forums.\u00c2\u00a0 I came across a couple of other requests that were exactly like mine, but there were no answers.\u00c2\u00a0 I then went to #mysql channel on IRC, where the guys told me that they feel sorry for me (how kind), but there was no solution, except to wait.\u00c2\u00a0 Dang!<\/p>\n<p>After the service came up, I simply removed the table (<code>DROP TABLE mytable<\/code>) and re-created it empty (<code>CREATE TABLE mytable (...)<\/code>).\u00c2\u00a0\u00c2\u00a0 I also found another way of emptying the table, which is <code>TRUNCATE TABLE mytable<\/code>, although it would behave exactly the same as <code>DELETE FROM TABLE mytable<\/code> on my version of MySQL (4.something).<\/p>\n<!-- google_ad_section_end -->\n","protected":false},"excerpt":{"rendered":"<!-- google_ad_section_start -->\n<p>I&#8217;m writing this down to warn you and to burn it into my memory. For one of my projects I am using MySQL with InnoDB tables.\u00c2\u00a0 Which are great, by the way.\u00c2\u00a0 So I have this really huge table &#8211; about 8 GBytes with few million rows &#8211; that I want to empty.\u00c2\u00a0 Without much &hellip; <a href=\"https:\/\/mamchenkov.net\/wordpress\/2006\/03\/31\/mysql-misunderstanding\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">MySQL misunderstanding<\/span><\/a><\/p>\n<!-- google_ad_section_end -->\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false,"_links_to":"","_links_to_target":""},"categories":[1],"tags":[],"keyring_services":[],"class_list":["post-10028","post","type-post","status-publish","format-standard","hentry","category-general"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.8 - aioseo.com -->\n\t<meta name=\"description\" content=\"I&#039;m writing this down to warn you and to burn it into my memory. For one of my projects I am using MySQL with InnoDB tables.\u00c2 Which are great, by the way.\u00c2 So I have this really huge table - about 8 GBytes with few million rows - that I want to empty.\u00c2 Without much\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Leonid Mamchenkov\"\/>\n\t<meta name=\"google-site-verification\" content=\"VHvdD0_usx1_4DzKy_QCVcICVgX2EgA2ybELT-wl7kQ\" \/>\n\t<link rel=\"canonical\" href=\"https:\/\/mamchenkov.net\/wordpress\/2006\/03\/31\/mysql-misunderstanding\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.8\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Leonid Mamchenkov - Life, universe, and everything else\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"MySQL misunderstanding - Leonid Mamchenkov\" \/>\n\t\t<meta property=\"og:description\" content=\"I&#039;m writing this down to warn you and to burn it into my memory. For one of my projects I am using MySQL with InnoDB tables.\u00c2 Which are great, by the way.\u00c2 So I have this really huge table - about 8 GBytes with few million rows - that I want to empty.\u00c2 Without much\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/mamchenkov.net\/wordpress\/2006\/03\/31\/mysql-misunderstanding\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t\t<meta property=\"og:image:height\" content=\"1024\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2006-03-31T16:00:34+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2006-03-31T16:00:34+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/MamchenkovBlog\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@mamchenkov\" \/>\n\t\t<meta name=\"twitter:title\" content=\"MySQL misunderstanding - Leonid Mamchenkov\" \/>\n\t\t<meta name=\"twitter:description\" content=\"I&#039;m writing this down to warn you and to burn it into my memory. For one of my projects I am using MySQL with InnoDB tables.\u00c2 Which are great, by the way.\u00c2 So I have this really huge table - about 8 GBytes with few million rows - that I want to empty.\u00c2 Without much\" \/>\n\t\t<meta name=\"twitter:creator\" content=\"@mamchenkov\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2006\\\/03\\\/31\\\/mysql-misunderstanding\\\/#blogposting\",\"name\":\"MySQL misunderstanding - Leonid Mamchenkov\",\"headline\":\"MySQL misunderstanding\",\"author\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\"},\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2006\\\/03\\\/31\\\/mysql-misunderstanding\\\/#articleImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Leonid Mamchenkov\"},\"datePublished\":\"2006-03-31T19:00:34+02:00\",\"dateModified\":\"2006-03-31T19:00:34+02:00\",\"inLanguage\":\"en-US\",\"commentCount\":2,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2006\\\/03\\\/31\\\/mysql-misunderstanding\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2006\\\/03\\\/31\\\/mysql-misunderstanding\\\/#webpage\"},\"articleSection\":\"All\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2006\\\/03\\\/31\\\/mysql-misunderstanding\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/general\\\/#listItem\",\"name\":\"All\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/general\\\/#listItem\",\"position\":2,\"name\":\"All\",\"item\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/general\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2006\\\/03\\\/31\\\/mysql-misunderstanding\\\/#listItem\",\"name\":\"MySQL misunderstanding\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2006\\\/03\\\/31\\\/mysql-misunderstanding\\\/#listItem\",\"position\":3,\"name\":\"MySQL misunderstanding\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/category\\\/general\\\/#listItem\",\"name\":\"All\"}}]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\",\"name\":\"Leonid Mamchenkov\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2006\\\/03\\\/31\\\/mysql-misunderstanding\\\/#personImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Leonid Mamchenkov\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/\",\"name\":\"Leonid Mamchenkov\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2006\\\/03\\\/31\\\/mysql-misunderstanding\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g\",\"width\":96,\"height\":96,\"caption\":\"Leonid Mamchenkov\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2006\\\/03\\\/31\\\/mysql-misunderstanding\\\/#webpage\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2006\\\/03\\\/31\\\/mysql-misunderstanding\\\/\",\"name\":\"MySQL misunderstanding - Leonid Mamchenkov\",\"description\":\"I'm writing this down to warn you and to burn it into my memory. For one of my projects I am using MySQL with InnoDB tables.\\u00c2 Which are great, by the way.\\u00c2 So I have this really huge table - about 8 GBytes with few million rows - that I want to empty.\\u00c2 Without much\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/2006\\\/03\\\/31\\\/mysql-misunderstanding\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/author\\\/leonid\\\/#author\"},\"datePublished\":\"2006-03-31T19:00:34+02:00\",\"dateModified\":\"2006-03-31T19:00:34+02:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#website\",\"url\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/\",\"name\":\"Blog of Leonid Mamchenkov\",\"description\":\"Life, universe, and everything else\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/mamchenkov.net\\\/wordpress\\\/#person\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"MySQL misunderstanding - Leonid Mamchenkov","description":"I'm writing this down to warn you and to burn it into my memory. For one of my projects I am using MySQL with InnoDB tables.\u00c2 Which are great, by the way.\u00c2 So I have this really huge table - about 8 GBytes with few million rows - that I want to empty.\u00c2 Without much","canonical_url":"https:\/\/mamchenkov.net\/wordpress\/2006\/03\/31\/mysql-misunderstanding\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"google-site-verification":"VHvdD0_usx1_4DzKy_QCVcICVgX2EgA2ybELT-wl7kQ","miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/mamchenkov.net\/wordpress\/2006\/03\/31\/mysql-misunderstanding\/#blogposting","name":"MySQL misunderstanding - Leonid Mamchenkov","headline":"MySQL misunderstanding","author":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"publisher":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#person"},"image":{"@type":"ImageObject","@id":"https:\/\/mamchenkov.net\/wordpress\/2006\/03\/31\/mysql-misunderstanding\/#articleImage","url":"https:\/\/secure.gravatar.com\/avatar\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Leonid Mamchenkov"},"datePublished":"2006-03-31T19:00:34+02:00","dateModified":"2006-03-31T19:00:34+02:00","inLanguage":"en-US","commentCount":2,"mainEntityOfPage":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2006\/03\/31\/mysql-misunderstanding\/#webpage"},"isPartOf":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2006\/03\/31\/mysql-misunderstanding\/#webpage"},"articleSection":"All"},{"@type":"BreadcrumbList","@id":"https:\/\/mamchenkov.net\/wordpress\/2006\/03\/31\/mysql-misunderstanding\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress#listItem","position":1,"name":"Home","item":"https:\/\/mamchenkov.net\/wordpress","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/#listItem","name":"All"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/#listItem","position":2,"name":"All","item":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/","nextItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/2006\/03\/31\/mysql-misunderstanding\/#listItem","name":"MySQL misunderstanding"},"previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/2006\/03\/31\/mysql-misunderstanding\/#listItem","position":3,"name":"MySQL misunderstanding","previousItem":{"@type":"ListItem","@id":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/#listItem","name":"All"}}]},{"@type":"Person","@id":"https:\/\/mamchenkov.net\/wordpress\/#person","name":"Leonid Mamchenkov","image":{"@type":"ImageObject","@id":"https:\/\/mamchenkov.net\/wordpress\/2006\/03\/31\/mysql-misunderstanding\/#personImage","url":"https:\/\/secure.gravatar.com\/avatar\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Leonid Mamchenkov"}},{"@type":"Person","@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author","url":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/","name":"Leonid Mamchenkov","image":{"@type":"ImageObject","@id":"https:\/\/mamchenkov.net\/wordpress\/2006\/03\/31\/mysql-misunderstanding\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/3cf6df002a284d78fb6e9d8222ca4d102e0832035ed6bc8447008bd234e131a4?s=96&d=identicon&r=g","width":96,"height":96,"caption":"Leonid Mamchenkov"}},{"@type":"WebPage","@id":"https:\/\/mamchenkov.net\/wordpress\/2006\/03\/31\/mysql-misunderstanding\/#webpage","url":"https:\/\/mamchenkov.net\/wordpress\/2006\/03\/31\/mysql-misunderstanding\/","name":"MySQL misunderstanding - Leonid Mamchenkov","description":"I'm writing this down to warn you and to burn it into my memory. For one of my projects I am using MySQL with InnoDB tables.\u00c2 Which are great, by the way.\u00c2 So I have this really huge table - about 8 GBytes with few million rows - that I want to empty.\u00c2 Without much","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#website"},"breadcrumb":{"@id":"https:\/\/mamchenkov.net\/wordpress\/2006\/03\/31\/mysql-misunderstanding\/#breadcrumblist"},"author":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"creator":{"@id":"https:\/\/mamchenkov.net\/wordpress\/author\/leonid\/#author"},"datePublished":"2006-03-31T19:00:34+02:00","dateModified":"2006-03-31T19:00:34+02:00"},{"@type":"WebSite","@id":"https:\/\/mamchenkov.net\/wordpress\/#website","url":"https:\/\/mamchenkov.net\/wordpress\/","name":"Blog of Leonid Mamchenkov","description":"Life, universe, and everything else","inLanguage":"en-US","publisher":{"@id":"https:\/\/mamchenkov.net\/wordpress\/#person"}}]},"og:locale":"en_US","og:site_name":"Leonid Mamchenkov - Life, universe, and everything else","og:type":"article","og:title":"MySQL misunderstanding - Leonid Mamchenkov","og:description":"I'm writing this down to warn you and to burn it into my memory. For one of my projects I am using MySQL with InnoDB tables.\u00c2 Which are great, by the way.\u00c2 So I have this really huge table - about 8 GBytes with few million rows - that I want to empty.\u00c2 Without much","og:url":"https:\/\/mamchenkov.net\/wordpress\/2006\/03\/31\/mysql-misunderstanding\/","og:image":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg","og:image:secure_url":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg","og:image:width":1024,"og:image:height":1024,"article:published_time":"2006-03-31T16:00:34+00:00","article:modified_time":"2006-03-31T16:00:34+00:00","article:publisher":"https:\/\/www.facebook.com\/MamchenkovBlog","twitter:card":"summary_large_image","twitter:site":"@mamchenkov","twitter:title":"MySQL misunderstanding - Leonid Mamchenkov","twitter:description":"I'm writing this down to warn you and to burn it into my memory. For one of my projects I am using MySQL with InnoDB tables.\u00c2 Which are great, by the way.\u00c2 So I have this really huge table - about 8 GBytes with few million rows - that I want to empty.\u00c2 Without much","twitter:creator":"@mamchenkov","twitter:image":"https:\/\/mamchenkov.net\/wordpress\/wp-content\/uploads\/2026\/03\/leonid-sailing-beer.jpg"},"aioseo_meta_data":{"post_id":"10028","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"BlogPosting","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"breadcrumb_settings":null,"limit_modified_date":false,"ai":null,"created":"2023-07-19 11:40:22","updated":"2026-01-15 01:44:46","seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/mamchenkov.net\/wordpress\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/mamchenkov.net\/wordpress\/category\/general\/\" title=\"All\">All<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tMySQL misunderstanding\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/mamchenkov.net\/wordpress"},{"label":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},{"label":"MySQL misunderstanding","link":"https:\/\/mamchenkov.net\/wordpress\/2006\/03\/31\/mysql-misunderstanding\/"}],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":26925,"url":"https:\/\/mamchenkov.net\/wordpress\/2016\/11\/21\/fixing-innodb-error-log-file-ib_logfile0-is-of-different-size\/","url_meta":{"origin":10028,"position":0},"title":"Fixing &#8220;InnoDB: Error: log file .\/ib_logfile0 is of different size&#8221;","author":"Leonid Mamchenkov","date":"November 21, 2016","format":false,"excerpt":"For the last few days I've been moving MySQL databases around at work. \u00a0Being a bit in a rush and overconfident (I have backups!), \u00a0I was simply detaching the \/var\/lib\/mysql volume on one host (running Amazon AMI and MySQL) and attaching it to another host (running CentOS 7 and MariaDB).\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11326,"url":"https:\/\/mamchenkov.net\/wordpress\/2008\/08\/03\/innodb-is-better-for-sugarcrm\/","url_meta":{"origin":10028,"position":1},"title":"InnoDB is better for SugarCRM","author":"Leonid Mamchenkov","date":"August 3, 2008","format":false,"excerpt":"After SugarCRM was deployed, we were experiencing some lock ups.\u00a0 Not frequent or dangerous, but annoying.\u00a0 About once a week or every ten days or so, SugarCRM would lock up and won't answer any queries at all.\u00a0 Not even the login was possible.\u00a0 A brief investigation showed that somehow it\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10016,"url":"https:\/\/mamchenkov.net\/wordpress\/2006\/03\/28\/daily-del-icio-us-bookmarks\/","url_meta":{"origin":10028,"position":2},"title":"Daily del.icio.us bookmarks","author":"Leonid Mamchenkov","date":"March 28, 2006","format":false,"excerpt":"Shared bookmarks for del.icio.us user tvset on 2006-03-27 How to have a 36 hour day Tagged as: guides lists management productivity time tips work MySQL Manual: The InnoDB Storage Engine Tagged as: concepts databases development mysql optimization references sql MySQL: Storage Engine (Table Types) Tagged as: concepts databases development mysql\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":28508,"url":"https:\/\/mamchenkov.net\/wordpress\/2018\/04\/20\/mysql-8-0-release\/","url_meta":{"origin":10028,"position":3},"title":"MySQL 8.0 release","author":"Leonid Mamchenkov","date":"April 20, 2018","format":false,"excerpt":"MySQL 8.0 has been released and it brings the following new features, enhancements, and more: SQL\u00a0Window functions, Common Table Expressions, NOWAIT and SKIP LOCKED, Descending Indexes, Grouping, Regular Expressions, Character Sets, Cost Model, and Histograms. JSON\u00a0Extended syntax, new functions, improved sorting, and partial updates. With JSON table functions you can\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11050,"url":"https:\/\/mamchenkov.net\/wordpress\/2008\/02\/06\/portability-and-flexibility-win-over-performance\/","url_meta":{"origin":10028,"position":4},"title":"Portability and flexibility win over performance","author":"Leonid Mamchenkov","date":"February 6, 2008","format":false,"excerpt":"I noticed this ticket in WordPress Trac - Change enum to varchar and went in to see if there is any heated discussion.\u00c2\u00a0 The issue is around field types used in SQL scheme for WordPress tables.\u00c2\u00a0 Certain fields, such post status employed ENUM type with a set of allowed values.\u00c2\u00a0\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10903,"url":"https:\/\/mamchenkov.net\/wordpress\/2007\/11\/14\/going-for-fedora-8\/","url_meta":{"origin":10028,"position":5},"title":"Going for Fedora 8","author":"Leonid Mamchenkov","date":"November 14, 2007","format":false,"excerpt":"A new version of my favorite Linux distribution has been released recently - Fedora 8.\u00c2\u00a0 I got my hands on the installation DVD (thanks bro!) and tried it straight away. It didn't go very well - the installation was hanging up during dependencies check.\u00c2\u00a0 I thought maybe it was something\u2026","rel":"","context":"In &quot;All&quot;","block_context":{"text":"All","link":"https:\/\/mamchenkov.net\/wordpress\/category\/general\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/10028","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/comments?post=10028"}],"version-history":[{"count":0,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/posts\/10028\/revisions"}],"wp:attachment":[{"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/media?parent=10028"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/categories?post=10028"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/tags?post=10028"},{"taxonomy":"keyring_services","embeddable":true,"href":"https:\/\/mamchenkov.net\/wordpress\/wp-json\/wp\/v2\/keyring_services?post=10028"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}