1

I am assuming that a secondary index in MySQL is the same thing as a non-clustered index in SQL Server.

Is this true?

0

http://dev.mysql.com/doc/refman/5.0/en/innodb-index-types.html

In InnoDB, the records in nonclustered indexes (also called secondary indexes) contain the primary key columns for the row that are not in the secondary index. InnoDB uses this primary key value to search for the row in the clustered index. If the primary key is long, the secondary indexes use more space, so it is advantageous to have a short primary key.

Could have just searched for this.

|improve this answer|||||
  • 1
    I did a couple of Google / StackOverflow searches and there were no immediate results so I thought I start a question for future search engine references – Lloyd Banks Jan 6 '13 at 23:35
0

Got an answer through another forum. They are indeed the same

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.