{"id":38705,"date":"2017-12-17T15:21:34","date_gmt":"2017-12-17T21:21:34","guid":{"rendered":"http:\/\/webirix.com\/?p=38705"},"modified":"2017-12-17T15:27:31","modified_gmt":"2017-12-17T21:27:31","slug":"optimizar-reparar-base-datos-phpadmin","status":"publish","type":"post","link":"https:\/\/webirix.com\/en\/optimizar-reparar-base-datos-phpadmin\/","title":{"rendered":"How to Optimize and repair database by phpAdmin"},"content":{"rendered":"<p>From time to time, we must eliminate waste in our database that can be refined to optimize the functioning of the blog. I even remember once a blog got crashed due to the database getting corrupted, and I was able to fix the problem with this tool that can be accessed by PhpMyAdmin.<\/p>\n<p>Once we are in the PhpMyAdmin panel, we must choose the database that we want to fix. Once chosen, we click on the STRUCTURE tab to show us all the tables.<\/p>\n<p>Then we go to the MARK ALL option (marked with a red circle below) to select all the tables. And then, below we display the &quot;FOR ALL MARKED ELEMENTS&quot; menu and choose OPTIMIZE TABLE. The optimization process begins and after a few seconds, it notifies us of the success of the operation.<\/p>\n<p>We click again on the STRUCTURE tab, we select all the databases again by giving the option MARK ALL \/ AS, but this time we choose the option REPAIR TABLE in the drop-down menu of &quot;FOR ALL MARKED ELEMENTS&quot;.<\/p>\n<p><a href=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/12\/db-4.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-38709 size-full\" src=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/12\/db-4.png\" alt=\"\" width=\"1356\" height=\"624\" srcset=\"https:\/\/webirix.com\/wp-content\/uploads\/2017\/12\/db-4.png 1356w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/12\/db-4-300x138.png 300w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/12\/db-4-768x353.png 768w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/12\/db-4-1024x471.png 1024w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/12\/db-4-600x276.png 600w\" sizes=\"auto, (max-width: 1356px) 100vw, 1356px\" \/><\/a><\/p>\n<p>&nbsp;<\/p>\n<p><a href=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/12\/db-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-38708 size-full\" src=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/12\/db-3.png\" alt=\"\" width=\"1340\" height=\"629\" srcset=\"https:\/\/webirix.com\/wp-content\/uploads\/2017\/12\/db-3.png 1340w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/12\/db-3-300x141.png 300w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/12\/db-3-768x361.png 768w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/12\/db-3-1024x481.png 1024w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/12\/db-3-600x282.png 600w\" sizes=\"auto, (max-width: 1340px) 100vw, 1340px\" \/><\/a><\/p>\n<p>After another few seconds, it will show us the success of the operation and we will have managed to solve any possible error or we will clean the database.<\/p>\n<p>As you can see in the images below, before doing the optimization or repair, there are residues, but once the operations described have been carried out, the database is clean and healthy.<\/p>\n<p><a href=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/12\/server-kiubix-link-localhost-alexande_proyect8-phpMyAdmin-4-7-3.png\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-38710\" src=\"http:\/\/webirix.com\/wp-content\/uploads\/2017\/12\/server-kiubix-link-localhost-alexande_proyect8-phpMyAdmin-4-7-3.png\" alt=\"\" width=\"1347\" height=\"618\" srcset=\"https:\/\/webirix.com\/wp-content\/uploads\/2017\/12\/server-kiubix-link-localhost-alexande_proyect8-phpMyAdmin-4-7-3.png 1347w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/12\/server-kiubix-link-localhost-alexande_proyect8-phpMyAdmin-4-7-3-300x138.png 300w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/12\/server-kiubix-link-localhost-alexande_proyect8-phpMyAdmin-4-7-3-768x352.png 768w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/12\/server-kiubix-link-localhost-alexande_proyect8-phpMyAdmin-4-7-3-1024x470.png 1024w, https:\/\/webirix.com\/wp-content\/uploads\/2017\/12\/server-kiubix-link-localhost-alexande_proyect8-phpMyAdmin-4-7-3-600x275.png 600w\" sizes=\"auto, (max-width: 1347px) 100vw, 1347px\" \/><\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>From time to time, we must eliminate waste in our database that can be refined to optimize the functioning of the blog. I even remember once a blog got crashed due to the database getting corrupted, and I was able to fix the problem with this tool that can be accessed by PhpMyAdmin. A \u2026<\/p>","protected":false},"author":25,"featured_media":38684,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2043],"tags":[],"class_list":["post-38705","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-estrategias"],"jetpack_featured_media_url":"https:\/\/webirix.com\/wp-content\/uploads\/2017\/11\/logo-og.png","_links":{"self":[{"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/posts\/38705","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/users\/25"}],"replies":[{"embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/comments?post=38705"}],"version-history":[{"count":2,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/posts\/38705\/revisions"}],"predecessor-version":[{"id":38712,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/posts\/38705\/revisions\/38712"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/media\/38684"}],"wp:attachment":[{"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/media?parent=38705"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/categories?post=38705"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webirix.com\/en\/wp-json\/wp\/v2\/tags?post=38705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}