I've reviewed the Instant InnoDB book. It's a good starting point
if you're learning about InnoDB, which is used for most MySQL
installations.
As a consultant
I've seen many situations where some basic InnoDB setting (buffer
pool size, log file size, file per table) can have a huge effect
on the performance of the database and make it easier to
manage.
The website of the book can be found here.
In preparing for this month’s Percona Live MySQL Conference and Expo, I’ve been reminiscing about the annual MySQL User Conference’s history – the 9 times it previously took place in its various reincarnations – and there are a lot of good things, fun things to remember.
2003 was the year that marked the first MySQL user conference independently organized by MySQL AB. It was called the “MySQL Users Conference” and took place at the Double Tree hotel near the San Jose airport with an estimated 500-600 people attending. Monty and David kicked-off the show with keynotes and I recall one of them saying something like, “12 …
[Read more]SQLAchemy has support for MySQL Connector/Python for a while now. Here is a little HOWTO showing how install both, and setup a database engine.
There are multiple ways of installing both projects, but here is the simplest using pip, whatever platform you use:
shell> pip install SQLAlchemy shell> pip install mysql-connector-python
Start your SQLAlchemy engines using a URL pointing to Connector/Python. Note the connect_args argument which passes extra connection arguments to Connector/Python. In the following example we set the MySQL session variable time_zone …
[Read more]If you're considering using MySQL Cluster, you might be tempted to try it out on one of your existing databases. MySQL Cluster 7.3 (available as a development release at the time of this post) supports foreign keys, so it seems sensible to try migrating an InnoDB database with foreign keys to MySQL Cluster.
What won't work For this example, I'm using the world_innodb.sql script available from the MySQL sample databases. It's a simple database with three tables: Country, City, and CountryLanguage. Both City and CountryLanguage have foreign keys referencing the Country table's Code field.
So, you might try something like this:
ALTER TABLE Country ENGINE=NDB; ALTER TABLE City ENGINE=NDB; ALTER …[Read more]
MariaDB Dynamic columns
Very interesting new feature included in MariaDB 5.3 onwards and
I hope it will get enough attention for continued development and
improvement - enter dynamic columns. What does it mean - dynamic
column? In the simple terms this feature will allow you to create
a column for any row in the table. The actual data will be stored
in blobs and this feature also comes with cool set of functions
to manipulate the data. If this does not make any sense
at this point - stick around as the example for practical use
will make it easy to grasp.
For example, you have typical analytics scenario - you have
a single large fact table (fact or measures tables are usually
the large ones) and a collection of smaller dimension tables (aka
attributes), all and all classical star schema that
contains:
Say you are a marketing company to the mobile phone industry and
you have an app that …
Percona Server for MySQL version 5.5.30-30.2
Percona is glad to announce the release of Percona Server for MySQL 5.5.30-30.2 on April 10, 2013 (Downloads are available here and from the Percona Software Repositories). Based on MySQL 5.5.30, including all the bug fixes in it, Percona Server 5.5.30-30.2 is now the current stable release in the 5.5 series. All of Percona‘s software is open-source and free, all the details of the release can be found in …
[Read more]
In less than two weeks we will meet at the Percona Live Conference in Santa Clara. I am very
pleased to see such a great commitment from Percona, to
an event that has always signed big announcements, great talks,
famous guests, but above all, a great audience. I am sure this
year it will be even better. The schedule is packed with great
talks and I would like to highlight some that I think should be
interesting for everybody.
But first, a bit of Cloud
Interesting enough, the OpenStack Summit will take place the week before
the Percona Conference, only a short flight from the Bay area, in
Portland OR. The summit has attracted 2.400 registrations to date
and it looks like it will be another great event. As I have
already written in previous posts, …
I'm looking forward to presenting, along with Peter Boros, Jim
Cooley and Vipul Sabhaya, at the Percona Live Conference the week
of April 22nd where I will be giving two talks about the
management of MySQL using Chef (http://www.percona.com/live/mysql-conference-2013/sessions/managing-mysql-chef
24 April 4:30pm - 5:20pm @ Ballroom A) and Red Dwarf, the
Openstack project that HPCS is using for DBaaS (http://www.percona.com/live/mysql-conference-2013/sessions/reddwarf-database-service-openstack-project
25 April 11:00am - 11:50am @ Ballroom C).
I wanted to do a Chef talk, despite my on-again, off-again
love/hate relationship with Chef (AKA learning process) because
for the past year or so, I have …
Stick around one more day for the 2nd Annual MySQL & Cloud Database Solutions Day, hosted by SkySQL and MariaDB