Sun Microsystems Inc. today announced the immediate availability of a new offering to help customers achieve greater return on investment (ROI) and significantly reduce the costs of deploying and managing database and application server software. Sun GlassFish and MySQL Unlimited enables companies of all sizes to deploy the software on unlimited servers across their entire organization for a flat annual subscription. For more details, visit http://www.sun.com/mysql/glassfish.
Bazaar Branches of MySQL 6.0
Now that MySQL has switched to using bazaar for source code repositories, an in place to go for 6.0 public code is Canonical’s “launchpad” site, specifically “Bazaar Branches related to Sun/MySQL Engineering” at https://code.launchpad.net/~mysql. The Bazaar Branches page has a list. Each row in the list is for a source-code package with all the MySQL files necessary to build the server, as described in the MySQL Reference Manual chapter MySQL Installation Using a Source Distribution. For 6.0 lovers, the interesting entries in the Bazaar Branches list are mysql-6.0, mysql-6.0-backup, mysql-6.0-falcon, mysql-6.0-rpl, mysql-6.0-wl3220, mysql-maria.
how to read the list
The Bazaar Branches page’s instructions look good enough …
At last we are code complete with Maria 1.5, the so called crash
safe version of MyISAM. Note that code complete means that all
features are coded, not that the code is 100 % bug free!
The code should be available soon in a bzr repository near you.
We will also shortly (as soon as we pass all build tests) make a
normal source and binary release of MySQL-5.1-Maria from here.
There is still a couple of minor bugs that we know about and we
will fix them shortly, but nothing that should stop you from
testing/using Maria. See the file KNOWN_BUGS.txt in the source
release for details.
The current release plan for MySQL-5.1-Maria is as follows:
- The current release will be an alpha release. (Technically it
could have been a beta release but because we have added so much
new code we wanted to signal this by making another …
You’ve probably seen the MySQL Reference Manual page “What’s New in MySQL 6.0″ and so you’ve seen this description of a new feature: “Support for extended comments for tables, columns, and indexes.” Here’s what “extended” means.
You can do a little more with COMMENTs in ALTER or CREATE statements. The easy way to see the difference is by running this statement in both MySQL 5.1 and MySQL 6.0:
SELECT table_schema, table_name, column_name, character_maximum_length FROM information_schema.columns WHERE column_name LIKE '%comment';
From that, you’ll see that the differences are:
TABLE_NAME COLUMN_NAME CHARACTER_MAXIMUM_LENGTH CHARACTER_MAXIMUM_LENGTH
in MySQL 5.1 in MySQL 6.0
COLUMNS COLUMN_COMMENT 255 1024
PARTITIONS …[Read more]
It's nice to be able to make a difference.
Since David Axmark and I started to work on MySQL we
also took a strong stand against software patents. MySQL AB have
been sponsoring several efforts to prevent software patents in
Europa.
Now David and I are continuing to do this outside of MySQL AB. We
just gave an economic sponsorship to the Patent Lens, who
recently lost their main sponsor, so that it can continue it's
important work in making the patents system more
accessible.
Here is a short description of Patent Lens from it's founder,
Richard A Jefferson:
We are working to generalize the Patent Lens as the informatics
platform of the Initiative for Open Innovation, which aspires to
render worldwide patent systems …
I hadn’t run a race since 2003, but I have improved upon my amount of running and thought it would be good to see whether it would show in my race time. It did!
Thumbs up after a half marathon finished in record time
“From a fat bastard to a running dynamo” was what a fellow member of the MySQL Running Club SMSed me when I had proudly announced my personal record of 1:46:05 (as measured “on the safe side” by my own watch; the organisers timed me at 01:45:58) on the Münchner Stadtlauf half marathon in Munich today.
Full of energy before the race
While I may never have fully qualified for the attribute “fat”, I certainly was very bad at sports at school. My average speed …
[Read more]Dear reader, this is a challenge. How’s your MySQL prowess? You know about LIMIT: it cuts off the results at the specified number.
mysql>s; select actor_id from sakila.actor where actor_id % 5 = 0 limit 5; +----------+ | actor_id | +----------+ | 5 | | 10 | | 15 | | 20 | | 25 | +----------+ 5 rows in set (0.00 sec)
But that query actually accessed 25 rows. What if I want to say “return up to 5 rows, but don’t read any more than 20 rows to find them?”
Right now I’ve got the following:
mysql> select actor_id, @rows
-> from actor, (select @rows := 0) as x where
-> ((@rows := @rows + 1) <= 20)
-> and actor_id % 5 = 0
-> limit 5;
+----------+-------+
| actor_id | @rows |
+----------+-------+
| 5 | 5 |
| 10 | 10 |
| 15 | 15 |
| 20 | 20 |
+----------+-------+
4 rows in set (0.00 sec)
The …
[Read more]A customer of ours was in this particular situation. They had a very decent hardware load balancer for their webservers with capacity to spare. So they ended up load balancing the mysql instances through the same device and using a piece of software I've written called mylbhelper.
A few days back I read the Workbench Team’s blog and was curious about the printing capabilities of MySQL Workbench Community edition. As we already know by now, it only allows you to print a single page. I needed to review a customer query which had several tables and some complicated relationships, so I decided to take Workbench Community for a spin (I already knew the Standard edition from my previous job) and tested the following steps:
- imported the database after doing a
mysqldump -d(Workbench Community can’t connect to the database to get the schema directly). - had Workbench rearrange the diagram.
- followed the Workbench Team’s blog instructions to spread it among more pages, since it ended really cramped.
- created a PDF file, which was barely readable on paper.
Here’s where the heavy …
[Read more]The book is done now, right? What’s next?
Don’t tell my wife this, but a book is never done.
Right now I’m proofreading the printed copy. I proofread PDF after PDF during production, but some problems will always slip through and make it to paper. I’m finding quite a few little mistakes. For example, at one point we refer to TPC as TCP three times in a row. Oops.
These problems will be corrected in the next printing. Please notify me if you find any errors yourself, and I’ll add them to the list of things to fix! Also let me know if you find things that should just be “fixed” in general. For example, the layout and page-breaking on pages 364 and 365 is totally confusing — it’s hard to tell which figures are associated with which text.
I’m not offering rewards like Donald Knuth, sorry…
I will place a list of errata on the official …
[Read more]