What is an index in MySQL?

Posted by Eric on Stack Overflow See other posts from Stack Overflow or by Eric
Published on 2010-04-08T12:25:52Z Indexed on 2010/04/08 12:33 UTC
Read the original article Hit count: 311

Filed under:
|
|

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!

© Stack Overflow or respective owner

Related posts about mysql

Related posts about database