Posts Tagged ‘mysql

Over the last seven days, GrabPERF has been running in a very unstable state. This appears to be directly related to the use of InnoDB as the DB engine on a few of the larger tables in the database. [InnoDB changeover discussed here]
Today, the system was offline for several hours before I noticed that the [...]

On the weekend, I upgraded the database engine for GrabPERF to Mysql 5.1 and switched the main data table from MyISAM to InnoDB.
The switch to InnoDB was done because of the locking issues that were occurring during long queries, especially when doing ad-hoc analysis. The row-level (versus table-level) locking of InnoDB has removed most of [...]

In 2004-2005, as a lark, I created my own Web performance measurement system, using PERL, PHP and MySQL. In August 2005, I managed to figure out how to include remote agents.
I dubbed it…GrabPERF. An odd name, but an amalgamation of “Grab” and “Performance” that made sense to my mind at the time. I also never [...]

One of the performance hits that the GrabPERF system has is the dynamic generation of the main page. The nature of the SQL calls and the underlying PHP makes it scale exponentially past a certain number of measurements.
Last night, Kevin Burton made a grand suggestion: generate a static page on a regular schedule.
Duh!
Today, I wrote [...]

I was trying yesterday to debug an issue that was appeared to be affecting the PubSub Agent — yes, I re-started it at the request of their sysadmin.
The issue was that it was showing data that appeared to have no relationship with the data appearing from all of the other measurement locations. I tried blocking [...]

After a few month hiatus, I am starting to code for GrabPERF again. I need to exercise my brain; as I am a hobbyist code mangler, I have to take on a project every now and then to keep my not-so-l33t skillz honed.
The change to the agent is one of efficiency. The current production agent [...]

I updated the GrabPERF database to the latest version of MySQL. Please let me know it you notice any unusual behaviour…
…from GrabPERF.
Technorati Tags: GrabPERF, MySQL, upgrade

MySQL 5.0 has a Blackhole Storage Engine. [here]
Cool. And if you make me grumpy, all of your performance data will be stored there!
Via: Jeremy Zawodny

For reasons that I have yet to discover, my outbound connection to the Internet appears to have been down between the times listed in the title.
As I have said before, my connection is less than “professional grade”, i.e. “don’t do this at home”.
If I find a cause, I will update.
I apologize for the incovenience.

UPDATE: Ouch.
Found [...]

Wait! Didn’t he say he had done this already?
Yup. But forgot one stupid little step. You have to re-compile PHP to work with the new MySQL 5.0 libraries. I tried to restart Apache and it barfed all over the PHP module with MySQL library module mismatch errors…or something like that.
Done and the system is now [...]


About this blog

Stephen Pierzchala is one of a 10-year veteran of the Web performance field who also writes on topics that interest his non-linear world-view.

Contact

stephen@pierzchala.com

+1 (508) 410-3865