Jump to content

MySQL Index


Recommended Posts

Posted

Hello,

I was reading about MySQL indexes. But I still feel like I don't understand it completely.

I've created a table with two columns: SERIAL, NICKNAMES

Now it asks me to add an index.

It asks me to put a name for the index, the type of index, which column (SERIAL or NICKNAMES) and the size.

Here's an image: http://s18.postimg.org/l8m0i0cmg/mysql.jpg

.. I don't really understand what this is all about..

Could you please give me a hand?

Thanks!

Need a clanwar script? Click here!

Do you want some free scripts for your DD server? Visit my website.

Posted

Indexes are used to search rows with specific values much faster. Without going into more details, read here for more: https://dev.mysql.com/doc/refman/5.0/en ... dexes.html

An index name is used so you can later manipulate the index, and for example, drop the index. As for the index type read here: http://stackoverflow.com/questions/7078 ... t-in-mysql

Business System viewtopic.php?f=108&t=35797

Notepad++ Syntax Highlighting & Auto Completion viewtopic.php?f=91&t=76726

SQLite Tutorial viewtopic.php?f=148&t=38203

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...