Martin Winkler wrote: > Am Tue, 03 Jul 2007 15:07:14 -0000 > schrieb "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>: > >> We are using mysql 5.0.42 and are getting this error when trying to >> insert records of over 5M. > > I may sound nosy, and apologize for that. But don't you think that you > have a software design bug when one record in a table exceeds 5 MB? > > If you have binary data, why don't you use FileField and ImageField? > That way you'd store the large data in the filesystem and only have a > reference to the file in the database.
Same reason text data isn't stored in a text file. :) I will admit there are pros and cons to where you store data, but I would not shy away from storing it in the db. "The largest possible packet that can be transmitted to or from a MySQL 5.1 server or client is 1GB." just need to make some adjustments: http://dev.mysql.com/doc/refman/5.1/en/packet-too-large.html Carl K --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users?hl=en -~----------~----~----~----~------~----~------~--~---