Showing entries 36961 to 36970 of 44865
« 10 Newer Entries | 10 Older Entries »
Version 1.5.2 of the innotop MySQL monitor released

This release is part of the unstable 1.5 branch. Its features will ultimately go into the stable 1.6 branch. You can download it from the innotop-devel package.

The major change is I've ripped out the W (Lock Waits) mode and enabled innotop to discover not only what a transaction is waiting for, but what it holds too. The new mode that replaces W is L (Locks). My last article goes into more detail on this.

How to debug InnoDB lock waits

This article shows you how to use a little-known InnoDB feature to find out what is holding the lock for which an InnoDB transaction is waiting. I then show you how to use an undocumented feature to make this even easier with innotop.

Updated list of JDBC drivers supporting JDBC 4.0

The following is the current list of available JDBC 4.0 drivers:

Throw away your office keys!

Yes, it's a hard habit to break. Having that glass walled tall building replaced by a humbled "home office" that could resemble anything from a kitchen table to wine cellar to converted bedroom or even garage.

But if you're starting from scratch with seed funds at best or going into round A and the lease isn't signed yet, take a closer look! You might like what you see and the investors, shalt you have them already, might like your thinking.

The savings in gasoline, commute tempers, lack of road rage, blood pressure medications, makes this look very "green" and hip today. Even Al Gore (no, I'm actually not a fan) would endorse it as a global warming take action frontier type go getter decision. Go MySQL!

Fact is, we do it because it just makes sense! Most, but not all, of our employees work from home at MySQL.

The benefits of not having to commute to work saves a ton of time, and having …

[Read more]
backups worked

We had an unscheduled test of our backups last night. Point-in-time recovery using a mysqldump and binary log files worked fine (thank goodness).

I’m used to thinking of (Oracle) exports being one thing, and point-in-time recovery (using hot backups) another. Maybe there’s a way to do a “PITR” in Oracle using an export, rolling forward using timestamps rather than SCNs… Don’t know. I know that with MySQL you can do it.

Last night we had some user-generated data corruption on a production server. The database was relatively small (a few Gig), so, after stopping the database and restarting it with ––skip-networking, I imported it from the latest daily mysqldump. Although I didn’t use ––master-data for the mysqldump (we had some locking issues with that in the past) I knew the time that the mysqldump had been started.

I did a little investigation into the binary log files using …

[Read more]
Adobe and Open Source

One of the marketing guys mentioned to me today that he saw Adobe CEO Bruce Chizen on CNN this morning reporting on their Q3 financial results.  The company grew by 41% year over year with record quarterly revenue of $851 million and operating income of $255 million. (Yes, those are quarterly figures!)  Chizen attributed the success to the strength of the recently released Creative Suite 3 and Acrobat.

MySQL is used by over a hundred different software ISVs and hardware OEMs for everything …

[Read more]
Cool Stack 1.1.1 contents

We are currently working on Cool Stack 1.1.1 which will have the following components updated, in addition to fixing known bugs :

  • Apache 2.2.6 : Add mod_proxy, mod_fcgid, SMF support
  • PHP 5.2.4      : Add dtrace extension, add new fastcgi version for use with non-Apache webservers
  • APC 3.0.14
  • Suhosin 0.9.20
  • MySQL 5.0.45: Add SMF support
  • Perl 5.8.8       : Add Sys:Syslog, DBI, DBD-mysql extensions
  • memcached 1.2.2
  • squid 2.6
  • tomcat 5.5.23

I would love to get feedback on this. Is your favorite module/extension missing ? Are there bugs/issues you have run into that haven't been reported on the forum ?

MySQL Master Class after HighLoad.RU

26th of September, just after HighLoad conference I will have full day MySQL master class.

This time we will talk about Innodb Architecture and Performance Optimization and when will discuss some MySQL Performance Optimization and Scaling case studies from audience (or some of from my MySQL Consulting Practice if there would not be enough of them). As usually I'll try to keep it very interactive and will try to answer any other MySQL Performance, Scaling and High Availability questions you might have.

Entry posted by peter | 3 comments

Add to: …

[Read more]
Possible optimization for sort_merge and UNION ORDER BY LIMIT

Every so often you need to perform sort results retrieved from MySQL when your WHERE clause goes beyound col=const values which would allow MySQL to still use second portion of the index for the order by. Ranges as well as IN lists make this optimization impossible, not even speaking about index merge optimization. Lets look at this example:

PLAIN TEXT SQL:

  1. CREATE TABLE `utest` (
  2.   `c1` int(10) UNSIGNED NOT NULL,
  3.   `c2` int(10) UNSIGNED NOT NULL,
  4.   `ord` int(10) UNSIGNED NOT NULL,
  5.   KEY `c1` (`c1`,`ord`),
  6.   KEY `c2` (`c2`,`ord`)
  7. ) ENGINE=MyISAM DEFAULT CHARSET=latin1
  8.  
  9. mysql> EXPLAIN SELECT * FROM utest WHERE c1=5 OR c2=5 ORDER BY ord DESC LIMIT 10 \G
  10. *************************** 1. row ***************************
  11.           …
[Read more]
Safely change firewall rules remotely

(whoops - Movable Type 4 decided to mess up the permalink from the index page on this entry earlier; it should be fixed now. Darn bugs in run-periodic-tasks, grrh).

One of the NTP Pool server operators emailed recently and told that his server was unavailable for a few hours because he had changed some firewall rules remotely and managed to lock everyone out. Oops!

There's an easy way to do safe remote firewall changes.

He should have used the at daemon to automatically recover! If you don't have a console server then you absolutely must get in the habit of using it before doing anything that can lock you out of your server.

The basic concept is to setup something that in say 5 minutes will undo whatever you're about to do. So if you are messing with the …

[Read more]
Showing entries 36961 to 36970 of 44865
« 10 Newer Entries | 10 Older Entries »