{"id":2075,"date":"2017-12-05T10:13:06","date_gmt":"2017-12-05T08:13:06","guid":{"rendered":"http:\/\/blog.sfsoft.it\/?p=2075"},"modified":"2017-12-05T10:15:09","modified_gmt":"2017-12-05T08:15:09","slug":"abilitare-la-compressione-delle-tabelle-su-mysql","status":"publish","type":"post","link":"https:\/\/www.sfsoft.it\/blog\/2017\/12\/05\/abilitare-la-compressione-delle-tabelle-su-mysql\/","title":{"rendered":"Abilitare la compressione delle tabelle su MySQL"},"content":{"rendered":"<p>Da MySQL 5.5 \u00e8 possibile comprimere le tabelle se si sta usando InnoDB.<\/p>\n<p>Occorre modificare innanzitutto la configurazione MySQL ( <em>my.conf<\/em> ) e attivare le opzioni:<\/p>\n<pre class=\"lang:default decode:true\">innodb_file_per_table = 1\r\ninnodb_file_format = Barracuda<\/pre>\n<p>Dopo il riavvio di MySQL tutte le nuove tabelle create saranno nel formato nuovo e potranno essere compresse impostando il parametro:<\/p>\n<pre class=\"lang:default decode:true \">ROW_FORMAT=COMPRESSED<\/pre>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Da MySQL 5.5 \u00e8 possibile comprimere le tabelle se si sta usando InnoDB. Occorre modificare innanzitutto la configurazione MySQL ( my.conf ) e attivare le opzioni: innodb_file_per_table = 1 innodb_file_format = Barracuda Dopo il riavvio di MySQL tutte le nuove tabelle create saranno nel formato nuovo e potranno essere compresse impostando il parametro: ROW_FORMAT=COMPRESSED &nbsp; [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[15,44],"tags":[16,41],"_links":{"self":[{"href":"https:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/posts\/2075"}],"collection":[{"href":"https:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/comments?post=2075"}],"version-history":[{"count":1,"href":"https:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/posts\/2075\/revisions"}],"predecessor-version":[{"id":2076,"href":"https:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/posts\/2075\/revisions\/2076"}],"wp:attachment":[{"href":"https:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/media?parent=2075"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/categories?post=2075"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sfsoft.it\/blog\/wp-json\/wp\/v2\/tags?post=2075"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}