For many SQL queries, the "order by id desc" is a required component to get the latest rows. The general query will be something like
select * from table X where some_condition order by id desc
In general, does the "order by id" slow down the query very much?
Specifically, for query like:
select * from table X where some_col = some_value order by id desc
Do we really need to add index (some_col, id) to speed up the query?
In all cases, it is assumed that ID is auto incremental.
My confusion comes from the following guideline about order-by optimization:
http://dev.mysql.com/doc/refman/5.0/en/order-by-optimization.html