Jump to content

Recommended Posts

for larger amounts of text ie. 12K characters and up would it be better to save them into a mediumtext in mysql or save them into a text file and just point to it from the database? They will be accessed often and there will be eventually hundreds of these files.

 

as for 3K characters or so, would just saving them into a text variable be ok? or should similar method, like that of the above question be used?

well, I can't remember the limit but mysql has a limit of 56,000 characters or something by the option of "text".

 

I don't know if 12 K will exceed the limit.

 

Mysql is a very strong database. I was always afraid that it wouldn't be fast or able to process such data loads. But I was incorrect. Mysql can and will work just fine with 12 K texts.

 

- It is all up to you. Is it easier to code with seperate files or not?

 

If it was up to me, I would use mysql only. I hate working with flat files. This is the reason why mysql was created!!!

thank you, I am going to use medium text, I just wasn't sure if I should save it in  mysql or a txt file, this table is going to be holding short stories etc. users will submit them, I guess that I'll save them in mysql and will have to call them with htmlentities() in a <p> tag for viewing. Thank you for yourhelp

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.