There are many requests to the database of the following form:
SELECT `id` FROM `table` WHERE `ip` = '000.000.000.000' ORDER BY `updated_at` DESC Question: Will the ip and updated_at columns be correctly indexed together or only the ip column? What type of indexes should I use?
In a table> 6 million rows, will indexing slow down if I make a request to create an index right now?