Re: something is pegging mysql

2005-04-06 Thread Gleb Paharenko
Hello.



For your situation a slow query log might be suitable. See:



  http://dev.mysql.com/doc/mysql/en/slow-query-log.html







[EMAIL PROTECTED] wrote:

> 

> It has been a rough day today.  I am using mysql with coldfusion.  Something 
> somehwere on my site is causing mysql to take up 100% of the cpu.  This 
> causes coldfusion to lock.  Is there any sort of query log I can look at to 
> see what queries have run in, say, the last hour?  If I see what queries are 
> running I could track down the page and either fix a defective query or 
> change it so I am not getting killed.

> 

> --ja

> 



-- 
For technical support contracts, goto https://order.mysql.com/?ref=ensita
This email is sponsored by Ensita.NET http://www.ensita.net/
   __  ___ ___   __
  /  |/  /_ __/ __/ __ \/ /Gleb Paharenko
 / /|_/ / // /\ \/ /_/ / /__   [EMAIL PROTECTED]
/_/  /_/\_, /___/\___\_\___/   MySQL AB / Ensita.NET
   <___/   www.mysql.com




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



RE: something is pegging mysql

2005-04-05 Thread Stanton, Brian
Use the general query log.

http://dev.mysql.com/doc/mysql/en/query-log.html

Thanks,
Brian Stanton
Systems Administrator, Belo Interactive

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, April 05, 2005 2:11 PM
To: mysql@lists.mysql.com
Subject: something is pegging mysql


It has been a rough day today.  I am using mysql with coldfusion.  Something
somehwere on my site is causing mysql to take up 100% of the cpu.  This
causes coldfusion to lock.  Is there any sort of query log I can look at to
see what queries have run in, say, the last hour?  If I see what queries are
running I could track down the page and either fix a defective query or
change it so I am not getting killed.

--ja

-- 


-- 
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]



something is pegging mysql

2005-04-05 Thread jabbott

It has been a rough day today.  I am using mysql with coldfusion.  Something 
somehwere on my site is causing mysql to take up 100% of the cpu.  This causes 
coldfusion to lock.  Is there any sort of query log I can look at to see what 
queries have run in, say, the last hour?  If I see what queries are running I 
could track down the page and either fix a defective query or change it so I am 
not getting killed.

--ja

-- 


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