Author Archive

MySQL User Group in Malta

By Nicklas Westerlund July 10th, 2008 at 1:47 pm
Posted in MySQLNon-Tech Articles
Tags:

That’s right. MySQL now has a user group in Paradise.

I am always looking into connecting with other MySQL professionals, to share the laughs and tears, and to enjoy what we love working with every day, MySQL. I have always wanted to bring us all together, and I thought that this would have a good chance of doing so. Since I live in Malta, this made for the perfect location for it. If you live in Malta, or perhaps in Sicily or Tunisia, and want to take a trip, please do join us at our first meeting.

We will be having our first meeting in Mellieha, and please RSVP to me personally via email, westerlund (at) pythian.com if you want to attend. The date is set for Thursday, July 31st at 6pm. We will discuss the current use of MySQL, its future, and whatever else comes into mind. I myself would love to hear usage stories for our first meeting, so we all get an understanding of how MySQL is used in Malta and environs.

I will make sure there are some refreshments to be had.

Let’s keep ourself educated and aware of how other people solve problems that we all sometimes encounter, as well as their interesting technical solutions. And let’s have some fun doing so!

MyISAM Statistics Gathering

By Nicklas Westerlund July 4th, 2008 at 2:14 pm
Posted in MySQL
Tags:

So, how does one gather statistics on indexes? With InnoDB it’s one thing, with MyISAM it’s another thing. This post however, will focus on MyISAM. There are various ways, each having their own drawbacks and positive sides.

What about ANALYZE TABLE? It’s great — very fast in InnoDB. But with MyISAM a lock occurs while scanning the table.

OPTIMIZE TABLE? Still relatively quick with MyISAM, unless the table in question is huge. InnoDB requires an ALTER TABLE — it might take forever, depending on the server configuration, as OPTIMIZE TABLE for InnoDB maps to a ALTER TABLE tableName ENGINE=InnoDB

We all know how ANALYZE TABLE, REPAIR TABLE, and OPTIMIZE TABLE work with MyISAM. However, there’s a less explored way, for MyISAM — the myisam_stats_method.

(more…)

On Joining Pythian

By Nicklas Westerlund June 23rd, 2008 at 10:12 am
Posted in Non-Tech ArticlesPythianPythian Europe
Tags:

I’ve joined Pythian and thought I would present myself and give my initial opinions on Pythian as employer.

First off, I should mention that although I’ve been working with MySQL for a long time, I’ve never actively gotten into the blogging in the past, but all of that is about to change. I’ll be posting about research and problems I encounter, much like everyone else, and I hope I’ll be able to shed some light on issues that other people run into.

I just transferred to Pythian Europe from my old employer in the US, because I was tired of the American life and wanted to move back to Europe for personal reasons, and during that process I came in contact with Pythian and realized that this company is everything I wanted in an employer, plus I get to work in the services sector, which is something I really enjoy. Either way, I decided to come on board, and now I’m on my way to the corporate head office in Ottawa for initial training, and then I go back to Malta, where I am based. (Finally, back at the Mediterranean - don’t take me wrong, I loved southern California, but it’s just not the same thing as Malta.)

So far, I really enjoy everything that Pythian has, excellent co-workers, great spirits, nice work environment and fun challenges. Plus this will be my first time ever in Canada, so that’s something I will show too, I just hope it’s not that cold during July.

–Nicklas Westerlund.