mysql order by performance datetime vs integer

Does mysql has a significant performance difference for ORDER BY between the field type datetime vs integer?
LVL 1
myyisAsked:
Who is Participating?
 
Dave BaldwinFixer of ProblemsCommented:
I doubt that there is a significant difference.  Here's the info on DATETIME internal formats: http://dev.mysql.com/doc/internals/en/date-and-time-data-type-representation.html  As you can see, they are based on integers and I think they are in a sortable format that is as easy to use in ORDER BY like a simple integer would be.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.