Jump to content

Indexes on tables?


random1

Recommended Posts

Primary keys must be indexed, and are indexed in most of the sgbd, and you set them as primary key.

Foreigner keys should indexed, to optimized join queries.

 

Then it depends on your application. Find some tutirials on that.

In a few word, they will say that you can add indexes on others attribute you use often to search inside a table (WHERE). But the more indexes you have, the worse it gets when you insert a row.

 

 

Link to comment
https://forums.phpfreaks.com/topic/114782-indexes-on-tables/#findComment-590436
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.