MySQL Forums
Forum List  »  Optimizer & Parser

Re: Index on timestamp
Posted by: Rick James
Date: October 16, 2016 04:40PM

It is fine to add an index on a TIMESTAMP column.

That table smells like a many-to-many mapping table. If so, you can get some improvements by following my advice here:
http://mysql.rjweb.org/doc.php/index_cookbook_mysql#many_to_many_mapping_table

Options: ReplyQuote


Subject
Views
Written By
Posted
8047
October 14, 2016 08:47AM
Re: Index on timestamp
3258
October 16, 2016 04:40PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.