What is an index in MySQL?
- by Eric
http://i.imgur.com/JdsUK.jpg
I created a table like the picture above.
What are the "Indexes"? primary key? unique?
It works well without setting indexes.. What do they do? why do I need them?
Also, I set all String fields to TEXT because I didn't know how many characters I need. Is this a good idea? I don't see any difference.
Thanks!