Re: search for query that result one random url from domain
Posted by:
laptop alias ()
Date: December 07, 2011 03:24AM
>I don't know about speed
If you don't, no one does!
But RJ touches on a fair point - one I overlooked - which is that a million rows is peanuts to MySQL so any way you cut it, your query should take no more than a few seconds.
Try his query, and if it's still slow paste the result of EXPLAIN SELECT... here together with your CREATE TABLE statement.