BENCHMARK(count,expr) executes the expression expr repeatedly count times. : : BENCHMARK « Information Functions « MySQL Tutorial






mysql>
mysql>
mysql> SELECT BENCHMARK(1000000,ENCODE('hello','goodbye'));
+----------------------------------------------+
| BENCHMARK(1000000,ENCODE('hello','goodbye')) |
+----------------------------------------------+
|                                            0 |
+----------------------------------------------+
1 row in set (0.47 sec)

mysql>








20.2.BENCHMARK
20.2.1.BENCHMARK(count,expr) executes the expression expr repeatedly count times. :