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
 
  • You are currently browsing the archives for the MySQL technical category.

  • 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

Archive for the ‘MySQL technical’ Category

Get ready for the MySQL University lecture on Lua

Wednesday, December 12th, 2007

On December 13 (it means today for most of the readers) at 15:00 CET (14:00 UTC), the MySQL University lecture on Lua will start.
The topic is quite extensive. Even though the lecture is limited to using Lua with MySQL Proxy, yet there is a lot of ground to cover. During a rehearsal session last week, I realized that the whole matter would need much more than one hour if I describe in detail all the introductory material that I originally planned.
So I will reduce the time dedicated to MySQL Proxy architecture, which you can look on your own by reading Getting started with MySQL Proxy. I will cover this matter only briefly during the lecture, so if you know some background, you’ll enjoy the lecture even more.

If you are new to MySQL University lessons, please read the Instructions for attendees and get ready a few minutes before the allotted time.
The slides and the examples are available on the lecture wiki page.

Posted in MySQL, MySQL technical | Comments Off

Falcon serendipitous performance findings

Sunday, December 2nd, 2007

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.

Posted in MySQL, MySQL technical | 3 Comments »

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