Jump to content

Would MySQL be efficient for that project ?


LikuiD

Recommended Posts

Hi,

 

I'm currently making my first major PHP script for a small site containing articles, reviews and stuff like that

Honestly, I've never used a MySQL db before except for storing some small stuff

 

The site would need to store and retrieve the articles' information (title of the article, the whole article(could extend to several hundred words), the author, date of article creation and its rating)

 

So what would be a better option for me in terms of efficiency, as I really wouldn't want to clog the server, a MySQL db or a seperate Php file for each article containing the above variables ?

 

Thanks :)

Link to comment
Share on other sites

A big part of document retrieval is indexing.  And a key advantage MySQL has over files is that it has built in indexing capabilities, even for full text searching.  For that reason alone, I would choose MySQL, even if you can squeeze a bit more speed out of using plain files (and there's no guarantees that you can).

Link to comment
Share on other sites

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.