Is there any way to increase the maximum size of blob data stored in MySql without editing server parameters?
I ask, because shared hosting, I cannot change MySql tinctures.
Is there any way to increase the maximum size of blob data stored in MySql without editing server parameters?
I ask, because shared hosting, I cannot change MySql tinctures.
MySQL has four BLOB types with the following maximum sizes:
TINYBLOB - 255 bytesBLOB - 64 KbMEDUIMBLOB - 16 MBBIGBLOB - 4 GBTherefore, if you change the type from BLOB to MEDUIMBLOB or even to BIGBLOB you can save almost any file. However, it is highly not recommended. Files are hard to put and retrieve from the database, other database queries can be severely slowed down, especially if you use InnoDB with storage in a single tablespace. It is better to store in the tables only the path to the files, and the files themselves to store on the hard disk or in any specialized file storage - this scheme is much easier to scale.
Source: https://ru.stackoverflow.com/questions/291754/
All Articles