|
|
|
mysql rand function slow >>96
Hits Optimizing MySQL Rand() FunctionMySQL Rand() function works well in pulling out rows randomly from the database. It only works well if you have a quite few hundred records. Ironically, it slows down the server when you have a large table dataset above 10,000 rows. Instead of making mysql generate random, you generate a random value with php and then pull that random value from the table.Posted by: admin | Tags: mysql rand function slow | URL: corpocrat.com | visit
Search Tag Cloud |
|