Lets suppose you have and orders table, this table contains a timestamp column indicating the creation time of the orders. A normal query would be to obtain the orders between two dates. Does anybody know how to optimize this query because creating an index on the timestamp column has no effect as shown by EXPLAIN ANALYZE.
-
1Please show us the query and the output of the explain analyzeuser330315– user3303152011-03-02 17:57:32 +00:00Commented Mar 2, 2011 at 17:57
-
Thats a lot of rep for one and a half year membership ;) +1 as a start :)Daniel– Daniel2011-03-02 18:04:17 +00:00Commented Mar 2, 2011 at 18:04
Add a comment
|