MySQL

The world's most popular open source database

Contact a MySQL Representative


  • MySQL.com
  • Developer Zone
  • Partners & Solutions
  • Customer Login
  • DevZone
  • Downloads
  • Documentation
  • Articles
  • Forums
  • Bugs
  • Forge
  • Blogs
 
  • Pages

    • About
  • Archives

    • March 2008
    • February 2008
    • December 2007
    • November 2007
    • October 2007
  • Categories

    • MySQL (13)
    • MySQL Official (5)
    • MySQL technical (2)



The data charmer
« Some binaries of 5.1 with SHOW PROFILES now available
Get ready for the MySQL University lecture on Lua »

Falcon serendipitous performance findings

While researching partitioning performance (expect an article about this topic soon) I come across the news that the Falcon team has released a Falcon Feature Preview with the latest implementation.
The test I was running was based on 9 server instances , using different combinations of MyISAM, InnoDB, and Archive, with and without partitions.
Since I was at it, I quickly added three instances of MySQL 6.0.4 with Falcon (MySQL Sandbox is really handy in these cases) and added Falcon to the test bench.
As I expected, partitioned Falcon is not particularly impressive, but there was a serendipitous result. In addition to large data warehouse oriented queries, the test fires also 180 OLTP queries, with warm indexes, i.e. after the indexes have been cached in memory thanks to previous queries. The warm queries look like the following:

  SELECT * FROM flightstats
  WHERE AirlineID = '19386'
  AND UniqueCarrier = 'NW' AND Carrier = 'NW'
  AND FlightDate = '2002-10-01' AND FlightNum = '1017'
  AND DepTime = '2002-10-01 06:03:00'
  AND Origin = 'EWR' AND Dest = 'DTW'
  -- (all WHERE conditions belong to the PK)

Well, in these queries, Falcon outshines both MyISAM and InnoDB, as shown by the average times.

+----------+----------+----------+----------+
| count(*) | falcon   | myisam   | innodb   |
+----------+----------+----------+----------+
|      180 | 0.000254 | 0.002847 | 0.000302 |
+----------+----------+----------+----------+

Out of 180 OLTP queries, falcon was faster than MyISAM 143 times, and faster than InnoDB 176 times. The table holds 17 million recs (2 GB)

This is not a complete test. Just a result that I got by chance, but it’s nice to see that Falcon is advancing towards its maturity.

This entry was posted on Sunday, December 2nd, 2007 at 23:20 and is filed under MySQL, MySQL technical. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

3 Responses to “Falcon serendipitous performance findings”

  1. Jeremy Cole Says:
    December 3rd, 2007 at 00:07

    Hi Giuseppe,

    Hmm, to me your comments on performance and the numbers in your table do not line up at all. Are your comments based on some other data?

    myisam/falcon = 11.208661
    innodb/falcon = 1.188976

    Where did you get your 143x and 176x numbers?

  2. Jay Pipes Says:
    December 3rd, 2007 at 21:57

    Correction on numbers….

    Hi G, I detected a miscalculation in your results…

    0.002847/0.000254 = 11.208661417
    0.000302/0.000254 = 1.188976378

    So, Falcon is approximately 11.2 times faster than MyISAM for the test and approximately 1.19 times faster than InnoDB…

    Not quite the awesome results you state, but still impressive.

    Cheers,

    jay

  3. gmax Says:
    December 3rd, 2007 at 22:12

    Jeremy, Jay,
    That was not a miscalculation, but bad grammar :).
    Not 176 times faster than MyISAM, but faster than MyISAM 176 times.

    Sorry for the mixup.

    Giuseppe

The data charmer is proudly powered by WordPress MU running on Blogs.mysql.com.
Entries (RSS) and Comments (RSS).