Jump to content

table INDEX question


racer x

Recommended Posts

Hi, noob question here...

 

I am wondering when it is best to create an INDEX for one large table OR to create many separate tables for the same data.

 

For example:

If you had 200 vendors for 10 different categories, would you:

 

a.) Create 10 tables(for categories) with each table containing 200 vendors.

 

OR

 

b.) Make one table with all 2000 vendors and then specify an index.

 

Is one method faster than the other?(talking search speed, not creation speed)

 

Thanks

 

 

Link to comment
https://forums.phpfreaks.com/topic/148703-table-index-question/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.