Convertir toutes ses tables en InnoDB ou MyISAM<\/a><\/p>\nCe qui donne pour tout passer en MyISAM et \u00e9conomiser de la RAM :<\/p>\n
SELECT CONCAT('ALTER TABLE ',table_schema,'.',table_name,' ENGINE=MyISAM;')\r\nFROM information_schema.tables\r\nWHERE 1=1\r\n AND engine = 'InnoDB' \r\n AND table_schema NOT IN ('information_schema', 'mysql', 'performance_schema');<\/pre>\n","protected":false},"excerpt":{"rendered":"Convertir toutes ses tables en InnoDB ou MyISAM Ce qui donne pour tout passer en MyISAM et \u00e9conomiser de la RAM : SELECT CONCAT(‘ALTER TABLE ‘,table_schema,’.’,table_name,’ ENGINE=MyISAM;’) FROM information_schema.tables WHERE 1=1 AND engine = ‘InnoDB’ AND table_schema NOT IN (‘information_schema’, ‘mysql’, ‘performance_schema’);<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"link","meta":{"footnotes":""},"categories":[126],"tags":[160,175],"_links":{"self":[{"href":"https:\/\/www.herewithme.fr\/wp-json\/wp\/v2\/posts\/1325"}],"collection":[{"href":"https:\/\/www.herewithme.fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.herewithme.fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.herewithme.fr\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.herewithme.fr\/wp-json\/wp\/v2\/comments?post=1325"}],"version-history":[{"count":0,"href":"https:\/\/www.herewithme.fr\/wp-json\/wp\/v2\/posts\/1325\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.herewithme.fr\/wp-json\/wp\/v2\/media?parent=1325"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.herewithme.fr\/wp-json\/wp\/v2\/categories?post=1325"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.herewithme.fr\/wp-json\/wp\/v2\/tags?post=1325"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}