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
 
  • You are currently browsing the Kaj Arnö weblog archives for December, 2007.

  • Pages

    • Press Release: “Kaj Arnö Appointed MySQL VP of Community Relations”
  • Archives

    • May 2008
    • April 2008
    • March 2008
    • February 2008
    • January 2008
    • December 2007
    • November 2007
    • October 2007
    • September 2007
    • August 2007
    • July 2007
    • June 2007
    • May 2007
    • April 2007
    • March 2007
    • February 2007
    • January 2007
    • December 2006
    • November 2006
    • October 2006
    • September 2006
    • August 2006
    • July 2006
    • June 2006
    • May 2006
    • April 2006
    • March 2006
    • February 2006
    • January 2006
    • December 2005
    • November 2005
    • October 2005
    • September 2005
  • Categories

    • Architecture of Participation (42)
    • Connectors (12)
    • Documentation (4)
    • Events (42)
    • Falcon (5)
    • GPL (7)
    • GUI (3)
    • Licensing (9)
    • MySQL (187)
    • MySQL Cluster (4)
    • MySQL Proxy (4)
    • MySQL Server (27)
    • MySQL Users Conferences (24)
    • MySQL Workbench (5)
    • Photography (11)
    • PHP (9)
    • Release Policy (17)
    • Ruby on Rails (5)
    • Running (3)
    • Summer of Code (8)
    • Sun (39)
    • Sun visits (21)
    • Travel (18)
    • Use cases (6)
    • Virtual company (34)



Kaj Arnö

Archive for December, 2007

MySQL User Conference Registration Open

Thursday, December 20th, 2007

The 2008 MySQL Conference & Expo registration is opened!

Time flies. We’re already at our sixth Users Conference! Looking at the announcement:

Co-presented by MySQL AB and O’Reilly Media, the conference will take place April 14-17, 2008, in Santa Clara, California. The event is expected to bring together over 1,600 open source and database users from some of the most exciting and fastest-growing companies in the world, as well as from the large and active MySQL Community. The program for 2008 will include keynote presentations by Jacek Becla of Stanford Linear Accelerator and MySQL CEO Marten Mickos.

Jay Pipes, our Program Chair, has lead a huge effort in identifying the best out of the near-300 proposals for sessions. And we’re not fully done yet. A few sessions still are in the grey zone, so not all are scheduled. But I suggest you take a look at the program already!

Join us 14-17 April 2008 in Santa Clara, California for the biggest and best MySQL event yet!

Register by 26 February 2008 to save up to $200.

Links:

  • UC 2008: http://mysqlconf.com/
  • UC 2007: http://conferences.oreillynet.com/mysqluc2007/
  • Press Release “Program Unveiled for MySQL Conference & Expo 2008″: http://press.oreilly.com/pub/pr/1885
  • Clash of the DB Egos (at UC 2007): Seen the show? Read the article! http://dev.mysql.com/tech-resources/articles/clash_db_egos.html
  • Sessions: http://en.oreilly.com/mysql2008/public/schedule/presentations/General
  • Tutorials: http://en.oreilly.com/mysql2008/public/schedule/topic/Tutorial
  • Get certified: http://en.oreilly.com/mysql2008/public/content/get_certified
  • Speakers: http://en.oreilly.com/mysql2008/public/schedule/speakers
  • Sponsors: http://en.oreilly.com/mysql2008/public/content/sponsors
  • Exhibitors: http://en.oreilly.com/mysql2008/public/content/exhibitors
  • Media Partners: http://en.oreilly.com/mysql2008/public/content/media_partners
  • Hotel & Travel: http://en.oreilly.com/mysql2008/public/content/hotel
  • Register Now: https://en.oreilly.com/mysql2008/public/register

Posted in Events, MySQL, MySQL Users Conferences | No Comments »

Navigating categories within my blog

Saturday, December 15th, 2007

With 130 entries in the “MySQL” category and no MySQL-related subcategories, my blog had become impossible to search and navigate easily.

And thus I created a number of new categories for the MySQL entries within my blog. They’re listed in the left navigation bar, below the months, as well as below:

  • MySQL Server, MySQL Cluster, Falcon
  • Connectors: PHP, Ruby on Rails
  • Tools: GUI, MySQL Workbench, MySQL Proxy
  • Events: MySQL Users Conferences
  • Licensing: GPL
  • Architecture of Participation, Summer of Code, Virtual company
  • Other: Release Policy, Documentation, Use cases

I hope this will make my blog more (re)usable.

(The picture is from this summer, when navigating the way up the Großvenediger, a 3662 m high mountain in the Hohe Tauern region of Austria.)

Posted in Architecture of Participation, Connectors, Documentation, Events, Falcon, GPL, GUI, Licensing, MySQL, MySQL Cluster, MySQL Proxy, MySQL Server, MySQL Users Conferences, MySQL Workbench, PHP, Release Policy, Ruby on Rails, Summer of Code, Use cases, Virtual company | No Comments »

MySQL Connector/ODBC 5.1 Released as Beta

Thursday, December 13th, 2007

Today MySQL releases the first beta version of MySQL Connector/ODBC 5.1. This means that Connector/ODBC 5.1 is now feature complete. Go download it!

Connector/ODBC 5.1 is suitable for most MySQL versions in active use today. It works with MySQL 4.1, 5.0, 5.1 and 6.0. If anyone is still on 4.0 or earlier releases, you should have upgraded ages ago; consider Connector/ODBC 5.1 “the final straw”.

As I wrote in September when we released the alpha version,

It is a partial rewrite of the the original MyODBC 3.51 code base, originally developed by Monty and Venu Anuganti, including individual parts of the current 65K ODBC 5 code base.

The new ODBC 5.1 driver, like 3.51, supports all relevant platforms (including Win64). While ODBC mostly is relevant for Windows, we have some (but not many) Linux based ODBC users.

Overall, ODBC 3.51 (released as 3.51.20) is now in a better state than ever. The ODBC QA team has written several hundred new tests. Without doubt, the 3.51 code base is now a good fundament for the new ODBC 5.1 version.

We’ve added a MSI installer for Windows 64-bit and implemented a native Windows setup library. We’ve implemented most parts of the section in my September blog titled “Before ODBC 5.1 goes beta, you can expect the following functions”, except sqlbigint and the native Mac OS X setup library. There is no binary package for Mac OS X on 64-bit PowerPC because Apple does not currently provide a 64-bit PowerPC version of iODBC. Also, the HP-UX 11.23 IA64 binary package does not include the GUI bits because of problems building Qt on that platform.

For more details on functionality added and bugs fixed, look for Jim Winstead’s announcement later today.

Our usual warning: Keep in mind that this is a beta release, and as with any other pre-production release, caution should be taken when installing on production level systems or systems with critical data.

Thank you to all who’ve tested Connector/ODBC 5.1 so far! And, obviously, we welcome more testing.

References:

  • Connector/ODBC 5.1 Download: http://dev.mysql.com/downloads/connector/odbc/5.1.html
  • My September 2007 blog Re-engineered ODBC 5.1 driver for MySQL: http://blogs.mysql.com/kaj/2007/09/11/re-engineered-odbc-51-driver-for-mysql/
  • MySQL Connector/ODBC documentation http://dev.mysql.com/doc/refman/5.1/en/myodbc-connector.html (it’s being extended from ODBC 3.51 only to cover also ODBC 5.1)

Posted in Connectors, MySQL | No Comments »

Documentation: MySQL Server Version Reference

Thursday, December 13th, 2007

Stefan Hinz, MySQL’s Docs Team Lead, just showed me the new restructured documentation overview page http://dev.mysql.com/doc/. The intention of the restructuring is to make it easier for you to find the information you need.


We’ve amended the MySQL Reference Manual section with a subsection labeled “Excerpts from the Reference Manual“, examples of which are a standalone Connectors book (covering all MySQL connectors and APIs) and guides for each individual MySQL Connector.

The key new document there is the “MySQL Server Version Reference” that should make life easier for everyone who needs cross-version information. It’s available for download but you can also browse it online at http://dev.mysql.com/doc/mysqld-version-reference/en/.

Here’s an overview of the MySQL Server Version Reference document:

  1. The mysqld Options/Variables Reference contains all MySQL server options and variables for all MySQL versions. You can easily find out whether or not a particular option is available in a specific MySQL version, when it was introduced or deprecated, and more. For variables, that chapter gives a quick overview of core properties, such as if it’s a status or a server system variable, if I can be changed dynamically, or if the scope is global or local.
  2. The Reserved Words list contains all words reserved in a particular MySQL (major) version, with annotations about minor versions. The list is created by running a script against all MySQL versions starting from 4.1.0. (Yes, our Docs Team has installed all MySQL versions on their documentation machine!)
  3. The Functions and Operators chapter shows which MySQL functions are available in which version, and when they were introduced or deprecated.
  4. The Build (configure) Options chapter should be useful for anyone building MySQL from source.
  5. Eventually, the Key changes in MySQL releases chapter lists security fixes and incompatible changes for the GA versions of MySQL 4.1 and 5.0 and for the beta and RC versions of MySQL 5.1.

The Server Version Reference is not a static document but is being recreated on a regular basis.

Kudos go to Martin C. Brown who created all this. We hope it will make your work with MySQL more productive and enjoyable!

References:

  • Improved MySQL Documentation overview page http://dev.mysql.com/doc/
  • New MySQL Server Version Reference document: http://dev.mysql.com/doc/mysqld-version-reference/en/

Posted in Documentation, MySQL, MySQL Server | No Comments »

Ruby on Rails 2.0 Released

Wednesday, December 12th, 2007

Ruby on Rails 2.0 was released last week, “It’s done!“, David Heinemeier Hansson notes.

Ruby on Rails has come a long way since Lenz Grimmer’s interview with DHH in February 2006.

Browsing DHH’s blog, I find snippets (bolding mine) like

Piggy-backing off the new drive for resources are a number of simplifications for controller and view methods that deal with URLs.

As you might have gathered, Action Pack in Rails 2.0 is all about getting closer with HTTP and all its glory.

We’ve also made it much easier to structure your JavaScript and stylesheet files in logical units without getting clobbered by the HTTP overhead of requesting a bazillion files.

Making it even easier to create secure applications out of the box is always a pleasure and with Rails 2.0 we’re doing it from a number of fronts.

Figuring out where your bottlenecks are with real usage can be tough, but we just made it a whole lot easier with the new request profiler that can follow an entire usage script and report on the aggregate findings.

Seems to me like Rails 2.0 goes further still in the direction of the RoR tagline “Web development that doesn’t hurt” and its expanded version

Ruby on Rails is an open-source web framework that’s optimized for programmer happiness and sustainable productivity. It lets you write beautiful code by favoring convention over configuration.

Congratulations, DHH and the Rails Team!

References:

  • Rails 2.0: It’s done!: http://weblog.rubyonrails.org/2007/12/7/rails-2-0-it-s-done
  • Wikipedia on Ruby on Rails: http://en.wikipedia.org/wiki/Ruby_on_Rails
  • http://www.rubyonrails.org/
  • Lenz Grimmer’s interview with David Heinemeier Hansson: http://dev.mysql.com/tech-resources/interviews/david-heinemeier-hansson-rails.html

Posted in Connectors, MySQL, Ruby on Rails | 2 Comments »

Lua lessons at MySQL University — for MySQL Proxy

Monday, December 10th, 2007

Giuseppe Maxia teased me last week to see whether I could decipher the notice on the Italian web site Punto Informatico about “MySQL University, lezione gratuita su Lua“.

It’s about Giuseppe teaching MySQL University attendees (for free as in both beer and speech) on the Lua scripting language. The MySQL reason to learn Lua is to do scripting in MySQL Proxy. Don’t worry, the MySQL University session is in English, not Italian, and Giuseppe has deciphered the Italian himself in his blog.

You can attend MySQL University virtually with slides in PDF and Wiki, audio on ogg stream, and interaction with the lecturer via IRC (at Freenode under #mysql-university).

Timing: This Thursday 13 Dec 2007 at 6:00am PST = 9:00am EST = 15:00 CET = 16:00 EET = 17:00 Moscow time

Interested?

  1. Read Giuseppe’s article “Getting started with MySQL Proxy“
  2. Register for the University session

References:

  • Giuseppe’s own blog entry “MySQL University - Introducing Lua for Proxy scripting“: http://datacharmer.blogspot.com/2007/12/mysql-university-introducing-lua-for.html
  • Lua on Wikipedia: http://en.wikipedia.org/wiki/Lua_%28programming_language%29
  • MySQL Proxy: http://forge.mysql.com/wiki/MySQL_Proxy
  • MySQL University: http://forge.mysql.com/wiki/MySQL_University
  • Giuseppe’s article “Getting started with MySQL Proxy”: http://dev.mysql.com/tech-resources/articles/proxy-gettingstarted.html
  • MySQL University: Writing LUA scripts for MySQL Proxy session:
    http://forge.mysql.com/wiki/Writing_LUA_Scripts_for_MySQL_Proxy

Posted in MySQL, MySQL Proxy | No Comments »

Combining MySQL Proxy with MySQL Cluster

Monday, December 10th, 2007

A while ago, I had a discussion with Stewart Smith, Vinay Joosery, Monty Taylor and a number of other MySQLers who know much more about MySQL Cluster than I do. The result is a model for using MySQL Proxy to offload MySQL Cluster from doing Table Scans, without touching the application.

The discussion started from me asking Stewart about the largest road block for expanding the number of use cases for MySQL Cluster. “Oh, that would probably be doing JOINs and other SELECTs requiring the scanning of large parts of the database”, he replied. “There, other storage engines are faster, such as MyISAM and InnoDB.”

In a very simple view, the application talks SQL with MySQL Cluster, and gets responses.

Stewart’s insight can be refined into the first simplistic diagram by adding the recognition that “SQL” can consist of

  1. UPDATE, INSERT, DELETE statements (very light, usually invidual rows affected) — unidirectional blue arrow in the diagram below
  2. Simple SELECT statements (also very light, defined as SELECTs that use indices and return invidual rows) — bidirectional black arrow
  3. Complex SELECT statements (could be as easy as “SELECT *”, but defined as those not easily using indices and usually returning multiple rows) — dashed arrows having two arrowheads to show that plenty of data is being returned

This second figure doesn’t depict any change in application architecture from the first figure; it just shows a more granular view.

Now, enter the insight that plain MySQL Server (with MyISAM or InnoDB) can deliver the complex SELECTs faster.

In the new architecture represented by the above picture, we scale the application by

  1. introducing Replication (replicating MySQL Cluster to plain MySQL Server)
  2. changing the application to direct the complex SELECTs to MySQL Server instead of MySQL Cluster

This complicates life. Not only do we need to set up replication. We also need to touch the application all over the place, to direct queries to the appropriate server.

Now, enter MySQL Proxy.

Using LUA scripts, MySQL Proxy can relieve us of the second complication, i.e. having to change the application to point to different MySQL Servers depending on the type of the SQL. Let MySQL Proxy parse the traffic and direct it to the appropriate server! The application is left untouched, and the topmost part of the picture again has a simple bidirectional arrow saying “SQL”. The distinction of what type of SQL we’re talking about is left to MySQL Proxy.

MySQL Proxy can also be assigned to load balancing the queries to a number of MySQL Replication Slaves.

This picture clearly is the most complex architecture depicted here, but also represents the highest level of scaling.

All of the above can be done using current versions of MySQL Cluster and MySQL Server, and the MySQL Proxy.

Sources:

  • MySQL Proxy: http://forge.mysql.com/wiki/MySQL_Proxy
  • MySQL Cluster: http://www.mysql.com/products/database/cluster/
  • MySQL Replication: http://dev.mysql.com/doc/refman/5.0/en/replication.html

Posted in MySQL, MySQL Proxy, MySQL Server | 1 Comment »

Symbian enlightened by LAMP

Monday, December 10th, 2007

Followers of the Forum Nokia Developer Discussion Boards saw interesting pre-announcements last month:

Nokia has ported MySQL and PHP to Symbian.

With 165 million cumulative Symbian smartphones shipped since the formation of Symbian and currently 134 Symbian smartphone models commercially available, it would be interesting to see the effects on the 8,134 third-party Symbian applications commercially available by what Nokia calls “PAMP”.

Availability is planned for next month, at the CCNC 2008 (Fifth IEEE Consumer Communications &Networking Conference, 10 - 12 January 2008 in Las Vegas, Nevada).

Johan Wikman of Nokia, who has already ported the Apache web server to Nokia S60, writes in a Forum Nokia thread (emphasis mine):

I can now reveal that we at the CCNC conference in Las Vegas in January, 2008 will demonstrate and release what we call the PAMP stack.

PAMP stands for Personal Apache, MySQL, PHP, so yes, the full LAMP stack will be made available for S60 smart phones. In addition, there will be PHP extension modules that provide access to the core functionality of the phone. And on top of PAMP you can basically install any LAMP based content management system. For instance, Drupal can be installed off the shelf.

Yes, a fair amount of memory is needed and it’s still pretty experimental stuff, but it runs quite nicely on E90.

So, if you are in the neighbourhood, join us in Las Vegas :)

Johan

Richard Bloor comments in Symbian Blogs (again, emphasis mine):

At first sight this may seem like an example of porting just to prove it can be done. It does, however, have the potential to create a whole new way of looking at Web application. For example, I’ve recently been evaluating a number of GTD applications. Several of these use PHP and MySQL and it will be interesting to see if they work on PAMP.

As such PAMP could add yet another option for developers to create S60 applications and create a new paradigm for the “off-line” Web. Hopefully by January I’ll have an S60 device with the memory to run this baby.

Sources:

  • Symbian Fast Facts: http://www.symbian.com/about/fastfacts/fastfacts.html
  • CCNC 2008: http://www.ieee-ccnc.org/2008/
  • Nokia Research Center, Mobile Web Server: http://research.nokia.com/research/projects/mobile-web-server/
  • PHP running on Mobile Web Server: http://discussion.forum.nokia.com/forum/showthread.php?t=102803
  • Getting Things Done: http://en.wikipedia.org/wiki/GTD, applications http://en.wikipedia.org/wiki/Comparison_of_GTD_software#Tools_and_Techniques
  • S60 blogs: http://blogs.s60.com/mws/2007/11/hot_news_php_coming_to_s60.html
  • Symbian Blogs / Richard Bloor, “Your S60 Web server gets a boost”: http://www.symbianone.com/content/view/5064/

Perhaps its time for me to upgrade my phone?

Posted in Connectors, MySQL, Use cases | 1 Comment »

Falcon and other Feature Previews

Monday, December 3rd, 2007

MySQL has introduced Previews as a new way of delivering features for early testing by our community.

Previews are for testing of features, not of versions. The two previews we offer today are the Falcon Feature Preview based on 6.0, and the GIS Feature Preview based on 5.1. However, the version number as such is not intended by us to set any expectations on when the feature will be in a production version. For instance, Falcon is going into the 6.0 code base, but the GIS geographical data won’t be in before 6.1 (although the preview is based on 5.1).

Previews are by definition a bit “rough around the edges”. They have no inherent level of maturity — they aren’t pre-alpha, or alpha, or beta, or RC, or GA. They are a new way to do “release early & release often” for those who want to get things early, without MySQL tying itself into a promise on the specific delivery release.

Falcon 6.0.4 is available immediately in the preview release and soon will be part of a formal beta. If you want it immediately, go get the preview version!

Our purpose of having previews is to make new features available for those who want early access. That way, we hope for more community testing. For our users, Previews are meant for testing only, absolutely not something to use in production. It’s a new way for us to release early & often for experimentation, learning, and testing.

Later on, I hope we will do other feature previews for storage engines or specific features.

Links:

  • Falcon Feature Preview
  • GIS Feature Preview
  • Download MySQL 6.0
  • MySQL 6.0 in a nutshell
  • New features in MySQL 6.0.3
  • Documentation: The Falcon storage engine
  • Forge: The Falcon storage engine
  • Forge: MySQL Tutorials (look for the Falcon header)

Posted in Falcon, MySQL, Release Policy | No Comments »

Kaj Arnö is proudly powered by WordPress MU running on Blogs.mysql.com.
Entries (RSS) and Comments (RSS).