mysql 索引

int vs varchar index

In this example, the column is timestamp, index created on this column. If we set the datatype of this column to be varchar, then the query will be very slow. But if we set it to int the query will be vary fast.

posted on 2015-12-28 14:02  kramer  阅读(128)  评论(0编辑  收藏  举报

导航