Which is better? Using MySQL for forums and running it out of space, (MySQL only alows so much space right?) or using php to write files and create chaos?
I will be hosting this site myself when it launches, so no worries there.
Which is better? Using MySQL for forums and running it out of space, (MySQL only alows so much space right?) or using php to write files and create chaos?
I will be hosting this site myself when it launches, so no worries there.
--Jas
function GreatMinds(){ return "Think Like Jas"; }
Well, both take up space; however, MySQL is both more reliable and less of a "resource hog". I would recommend using MySQL for it, but that's just my opinion.
Hope this helps.
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design
Thank you! I was hoping you would say MySQL. Doesn't MySQL have a restraint on how much space you can use, though? Or is that only per-table?
--Jas
function GreatMinds(){ return "Think Like Jas"; }
As far as I'm aware of, you can use as much space as your server disk will allow; I could be wrong though.
"Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design
Yes.. mysql all the way. You'd have to really have an out of control forum or bad hosting account to run out of space. Also, remember to optimize your tables often.. that'll free up unused space that once held data, etc. You'd be amazed how much 'overhead' is left after deletes, etc.
hanji
MySQL does have a limit on some systems (windows?), but that limit is 4GB, so I think you'd be ok(4GB of text data is crazy. My forum, which is doing quite well, for a few years, is about 50mb in the MySQL Db.)
Definitely use MySQL. It is designed for this, fairly easy to use, and you know it will be (generally) efficient. Text files would be fine too, but they aren't designed for it (so you'd need to write your own functions in PHP to search them, etc. Why?), take some complex manipulation to get any sensible system running (as in not a new text file per post/item), and run slowly when searched, since they are not optimized and these text files can get long, so it's just like searching really long strings for data.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
That's a filesystem limit, not a MySQL limit. FAT32 doesn't allow files bigger than 4GiB, and MySQL stores each database in a single file. A Windows server using NTFS should be able to store databases up to around 16TiB.MySQL does have a limit on some systems (windows?), but that limit is 4GB
Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!
What's a TiB?
--Jas
function GreatMinds(){ return "Think Like Jas"; }
Same as TB. Twey just uses TiB for clarification. And, sadly, I can't remember what.
Either way, it means terabyte.
Now that I think about it... wouldn't it be TeB or TaB? //confused
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
Bookmarks