Jason, in addition to Daniel's suggestions, I'll throw this out there:

I had a somewhat similar problem with a database I used to own, where
a handful of very hard-hit tables would become progressively slower
over time, despite the fact that (due to daily archiving and purging)
they were not growing in size.  For me, running OPTIMIZE operations
periodically did the trick, keeping the tables performing fast.  Daily
wasn't sufficient, actually - I ended up optimizing the key tables
every other hour, though that was probably more often than needed.

I think the tables were becoming fragmented in memory, possibly along
with the index data.

This was with MyISAM, and I do not know whether performance would have
improved with mysqld restarts, as we never really had occasion to
restart mysqld except during major upgrades.

HTH,
Dan


On 11/27/06, Jason J. W. Williams <[EMAIL PROTECTED]> wrote:
Hi,

We're running MySQL 5.0.27 under Solaris 10 on both Opteron and
UltraSparc T1 machines. The performance on both boxes starts out great
when the process is fresh, however over the course of a week of heavy
use the performance degrades to the point where its nearly unusable.

The Opteron has 2GB of RAM and the T1 has 8GB. A little stumped as to
what to look for that might cause performance to degrade over time.
Any pointers are greatly appreciated.

On a side note, when the Opteron is a slave of the T1, when the T1 has
heavy load the Opteron slave falls behind on its replication duties.
The whole thing is kind of strange. Thank you again in advance.

Best Regards,
Jason

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to