related question:

Does MySQL label as "slow" (as I believe PostgreSQL does) any query that is
not referencing an indexed table?



-----Original Message-----
From: Carsten H. Pedersen [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 28, 2001 2:42 PM
To: Jurrien Wijlhuizen; [EMAIL PROTECTED]
Subject: RE: MySQL starts using a lot of CPU resources


> Hi all,
>
> For a few month I was using mysql-3.23.39 without any problems but
> today the load went up to 25 and higher. I've tried some finetuning
> (like shorten timeouts to 5 minutes) and upgraded to mysql-3.23.46 but
> in vain. Still after a few minutes the load is back to 25 and this is
> the output of 'mysqladmin status':
>
> Uptime: 778  Threads: 85  Questions: 14882  Slow queries: 209  Opens:
> 2838  Flush tables: 1  Open tables: 416 Queries per second avg: 19.129

209 slow queries in 778 seconds is Not Good(tm). It doesn't
take many slow queries to have everything backing up waiting
for tables to be released. Try enabling --log-slow-queries, then
have a peek at the log file to see what's causing these.

/ Carsten
--
Carsten H. Pedersen
keeper and maintainer of the bitbybit.dk MySQL FAQ
http://www.bitbybit.dk/mysqlfaq


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail
<[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to