How can I best write a query that selects 10 rows randomly from a total of 600k?
I Use this query:
select floor(RAND() * (SELECT MAX(key) FROM table)) from table limit 10
query time:0.016s