I was made aware today by a post on the MySQL Performance Blog that the mysqlnd driver for PHP has support for asynchronous PHP queries. At the Midwest PHP Conference, I gave a talk on database optimization for web developers, and in a follow-up discussion with an attendee, I apparently misinformed him.
It's now about one year ago since we released MariaDB 5.5. That proved to be an important
release for MariaDB as it became popular with the users and
ultimately also has been adopted by several important Linux
distributions. But we have not stopped working since then, and
now the MariaDB project is happy to announce something new again:
the immediate availability of MariaDB Galera Cluster 5.5.29 stable release
(GA).
As soon as we had released MariaDB 5.5 stable, we started
planning with Codership Oy how to integrate their Galera
replication technology with MariaDB 5.5. We have then worked
together to merge their Write Set REPlication API into MariaDB,
and gone through a rigorous testing program with beta and RC …
Do you know how to set up Tungsten Replication to handle multi-master topologies? Do you know how to replicate transactions from multiple MySQL servers into a single slave? Do you know how to replicate between Tungsten clusters? In this course we show you how to set up and manage complex replication topologies using Tungsten.
Continuing on from my previous posts, MySQL code size over releases and MariaDB code size I’ve decided to also look into some other code branches. I’ve used the same methodology as my previous few posts: sloccount for C and C++ code only.
There are also other branches around in pretty widespread use (if only within a single company). I grabbed the Google, Facebook and Twitter patches and examined them too, along with Percona Server 5.1 and 5.5.
| Codebase | LoC (C, C++) | +/- from MySQL | |
| Google v4 patch 5.0.37 | 970,110 | … |
Accessing Percona XtraDB Cluster nodes in parallel with MySQL asynchronous calls
This post is followup to Peter’s recent post, “Investigating MySQL Replication Latency in Percona XtraDB Cluster,” in which a question was raised as to whether we can measure latency to all nodes at the same time. It is an interesting question: If we have N nodes, can we send queries to nodes to be executed in parallel?
To answer it, I decided to try a new asynchronous call to send a query to MySQL using a new MySQLnd driver for PHP. In this post I’ll only show how to make these calls, and in following posts how to measure latency to all nodes.
PHP does not provide …
Continuing on from my previous post, MySQL code size over releases.
I wanted to look at the different branches/patch sets of MySQL out there and work out how far from upstream they deviated. I’m just going to compare against whatever upstream version the most easily accessible version is based on (be it 5.0.x, 5.1.x or whatever).
For MariaDB versions, I removed innodb_plugin and replaced it with xtradb for stats purposes as the MariaDB innodb_plugin is essentially the same as upstream and I don’t want to artificially inflate the diff size.
The first three major versions of MariaDB were all based on MySQL 5.1. I used sloccount and only counted C and C++ code.
So, let’s look at some of the MySQL patch sets/branches that are around. Firstly, let’s look at MariaDB:
| … |
Come early to have pizza and network and then see a presentation and demo of the new features in MySQL 5.6.
RSVP to make sure we get a large enough room and sufficient pizza.
Pizza at 5:30 p.m.
Presentation begins at 6:00 p.m.
Oracle Corporation
6031 Connection Drive
Suite 900
Las Colinas, TX 75039
map
Before going into the details of this post, please note that this
is a
personal blog, and therefore reflects my personal opinion only,
which may or
may not be the same as my employer.
And yes, while I prefer to write about technical facts, this post
is an
exception, writing about opinions ...
In a recent blog post, M. Baron Schwartz wrote about a lexer
anecdote to
make a point ...
The original post
http://www.xaprb.com/blog/2013/03/04/seeing-things-from-the-users-point-of-view/
I was discussing how to avoid surprising users and someone
pointed out that what seems intuitive and rational to one person
is often complete insanity for others. The mental gap between a
developer and a user can often be a chasm far too wide to cross.
Of all the bug reports I’ve filed against MySQL, here [link to
http://bugs.mysql.com/bug.php?id=44833] is my all-time …
Once again, Pythian is organizing an event that by now may be considered a tradition: the MySQL community dinner at Pedro’s! This dinner is open to all MySQL community members as many of you will be in town for the MySQL Conference that week.
Here are the details:
What: The MySQL community pay-your-own-way dinner
When: Tuesday April, 23 – Meet us at
6:30 pm in the lobby of the Hyatt Santa Clara, or at 7 pm at
Pedro’s (You are welcome to show up later too!)
Where: Pedro’s Restaurant and Cantina – 3935 Freedom
Circle, Santa Clara, CA 95054
How: Comment on this blog post to add your name to the list of
probable attendees
Pedro’s can handle large groups of people, but we would like to have an …
[Read more]After some final testing and polishing, the MariaDB project and Codership are pleased to announce the release of MariaDB Galera Cluster 5.5.29. This is a Stable (GA) release. MariaDB Galera Cluster links:
[Read more]