Storing SMALL images in MySql database and why is it different for SQL Server?
I understand that the question of storing images in a MySql database has been asked many times before, but I haven't seen anything said about really small images (~1-10KB) or rather it's always generalized to images of any size, and that they should always be stored as a location on the file system. The reason I'm asking is because I read here that for Sql Server, using varbinary is more efficient if the images are less than 256KB and for anything above 1MB, it should be stored on the file system. This may be true for Sql Server, but is it true for MySql? And if it is true for both, is there an equivalent to varbinary(MAX) since MAX doesn't seem to be an appropriate input for varbinary in MySql(Maybe BLOB, but I hear everyone condemning the use of BLOB for pretty much any reason...).
So to clear it up a bit:
I guess I'm really just stuck on the differences between MySQL and SQL Server when in comes to handling images and why recommended practices seem to be different for both.
链接地址: http://www.djcxy.com/p/41870.html