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.
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.