Thursday, January 10, 2013

storing large amounts of text in the DB

My users will upload text documents ranging from hundreds to thousands of words.  At the moment I store the text in a TextField.  Is this going to cause a performance problem in the future or would it be better to store the text on the file system and put a file path in the data model?  The text does not need to be indexed and I'm using MySQL.  I suppose the best way is to profile the app and see if the text retrieval is a bottleneck but I thought someone on this list would already have experience in this.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/5CA4p7wHPmoJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment