Question about Benchmark funcion in Mysql ( Incredible results ).

Posted by xRobot on Stack Overflow See other posts from Stack Overflow or by xRobot
Published on 2010-05-02T08:12:50Z Indexed on 2010/05/02 8:17 UTC
Read the original article Hit count: 214

Filed under:
|
|
|
|

I have 2 tables:

author with 3 millions of rows.

book with 20 miles rows.

.

So I have benchmarked this query with a join:

SELECT BENCHMARK(100000000, 'SELECT book.title, author.name
FROM `book` , `author` WHERE book.id = author.book_id ')

And this is the result:

Query took 0.7438 sec

ONLY 0.7438 seconds for 100 millions of query with a join ???

Do I make some mistakes or this is the right result ?

© Stack Overflow or respective owner

Related posts about database

Related posts about mysql