From: Steve Wilhelm Date: 2009-12-10T16:37:45+09:00 Subject: Re: Mysql::Error: Data too long for column Marnen Laibow-Koser wrote: > rabarama wrote: >> probably, this is the problem, tomorrow I'll try with mediumblog. >> Thanks a lot. > > Better to use the filesystem. Sizable binaries in the DB are not a good > idea. > > Best, > --  > Marnen Laibow-Koser > http://www.marnen.org > marnen@marnen.org I think its more accurate to say mixing meta and binary data in the same MySQL table is not a good idea. Storing binary data in a separate table (and even database) from meta data minimizes the binary data's performance impact and allows one to use MySQL to manage referential integrity across the meta and binary data. -- Posted via http://www.ruby-forum.com/.