… to keep it compressed. Unfortunately MySQL does not provide compressed BLOB/TEXT columns (I would really love to have COMPRESSED attribute for the BLOB/TEXT columns… with with console MySQL tools. Some people get best of both worlds by taking COMPRESS/UNCOMPRESS functions from the MySQL code and having…
Post: Blob Storage in Innodb
… bytes of the BLOB may look strange, especially as MySQL internally has no optimizations to read portions of the blob – it is either… page. COMPRESSED row format is similar to DYNAMIC when it comes to handling blobs and will use the same strategy storing BLOBs completely off page. It however will always compress blobs which do not…
Post: Idea: Couple of more string types
… is quite inconvenient to deal with strings like that in MySQL. Either you store them as strings and waste space or… BLOB COMPRESSED/ TEXT COMPRESSED) which would transparently compress the blobs when they are inserted and retrieved from the database – this would allow to avoid having COMPRESS…
Comment: When should you store serialized objects in the database?
… query goes into columns, and the rest goes into a blob. However that is tempered by the use case of the…. well, until your intuition changes from your experience… As for compression — it typically is better done on the application end. If… do it if the client version was old. Unfortunately, MySQL‘s compress/uncompress puts a length header in front of the data…
Post: Identifying the load with the help of pt-query-digest and Percona Server
…atomically, not just for new connections as in MySQL. This is very helpful for measurement as otherwise…the option_name column, or you might even compress the values stored in the option_value column… only the needed columns which could exclude the blob ones. Conclusion The only conclusion, I can make…
Comment: Blob Storage in Innodb
… the difference is even larger blobs which can use less external pages. When compressed. Check this out: mysql> create table comptest(b mediumblob); Query OK, 0 rows affected (0.05 sec) mysql> insert into…
Post: Heikki Tuuri Innodb answers - Part I
…. Also, a gzip compression potentially compresses the database more than just prefix compression. The downside in gzip … will not allocate additional space for blobs, even if each blob is larger than 768. 2….HT: ha_innodb.cc in 5.1: static MYSQL_SYSVAR_ULONG(thread_concurrency, srv_thread_concurrency,…
Post: Innodb row size limitation
…) ) Engine=InnoDB; Now you insert some test data into it: mysql> INSERT INTO example -> VALUES ( ->Â Â NULL, ->Â Â ‘First… that the result of the COMPRESS function is always binary, so for example, you should use a BLOB instead of a TEXT… approaches can be combined. For example, using the single BLOB field with COMPRESS/UNCOMPRESS can yield great results. Finally, let me mention…
Post: Falcon Storage Engine Design Review
… not implemented in MySQL anyway though). Very interesting to see how this one will compare to transparent gzip page compression which is… often. [+] Blob handling optimizations Jim loves BLOBs as his own child, so Falcon is optimized in Blob handling for example having direct blob writes…
Post: When should you store serialized objects in the database?
… changed from storing data in MySQL columns to serializing data and just storing it inside TEXT/BLOB columns. It seems that since… case, they also used the serialization to be able to compress the objects. From 5.1-plugin this is now… to one piece of data in a very large blob, the effort MySQL has to go to is greatly increased. The second…

