<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'>Jesse,<br><br>Thanks for the suggestion - this is running on a separate test machine with nothing else running on it. Admittedly, it is running in a Xen VM, although this is the only VM on the underlying server and has been allocated both CPUs and all the RAM available. The file system is on the underlying disk, not an image on the underlying filesystem.<br><br>I will try with mysqltuner and get back to you.<br><br>The nightly backups are another option - the dump takes a couple of hours from memory, the reload takes 8. I'll look into that if mysqltuner doesn't help.<br><br>Cheers,<br>David<br>----- Original Message -----<br>From: "Jesse Vincent" <jesse@bestpractical.com><br>To: "David Hobley" <david.hobley@mionegroup.com><br>Cc: rt-users@lists.bestpractical.com<br>Sent: Tuesday, 3 March, 2009 8:34:27 AM GMT +10:00 Brisbane<br>Subject: Re: [rt-users] DB Problems upgrading to RT 3.8.2 from 3.6.5<br><br><br><br><br>On Tue, Mar 03, 2009 at 08:23:31AM +1000, David Hobley wrote:<br>> If that is the case, then RT is un-upgradeable. Which would be a problem obviously. I can't take out our database for 6 days. Over a weekend, sure. But no more than that. Does anyone have any suggestions as to how I can optimise this at all? <br><br>Hm. I've made this schema change to larger RT instances in much less time.<br>How heavily loaded is your database? How much IO contention is there?<br><br>First up, you should make sure you've tuned mysql a bit. 30 minutes with<br>mysqltuner can be a night-and-day change.<br><br><br>How long do your nightly MySQL backups of RT take? Another option might<br>be to dump, massage the schema and load. <br><br><br>-- <br>Cheers,<br>David Hobley<br><br>IT Manager<br>Creators of Miessence, MiVitality and MiEnviron<br><br>Phone: +61 (7) 5582 7020<br>Fax: +61 (7) 5539 6719<br>USA Fax 1800 840 0827<br>Email : david.hobley@mionegroup.com<br>Website: www.mionegroup.com<br><br><br></div></body></html>