Re: Performance problem - MySQL at 99.9% CPU

2008-01-09 Thread Erik Giberti
Gunnar, You might do some more investigating on these to see if there is an index you could use to speed these up, 15.8 million records might be a full table scan, even if it's not - it's clearly a whole heck of a lot of data and that's going to give you a huge performance hit. I'm not

Re: Performance problem - MySQL at 99.9% CPU

2008-01-08 Thread Gunnar R.
Thank you Erik! HDs are OK, a couple of GB free. Not that it's a lot, but I can't imagine it being too low for MySQL.. I'm aware memory is a bit low, but RAMBUS chips are hard to come by. They don't have them in stock anywhere anymore. Also they are quite expensive. It's almost like you could've

Re: Performance problem - MySQL at 99.9% CPU

2008-01-08 Thread Gunnar R.
Thank you Erik! HDs are OK, a couple of GB free. Not that it's a lot, but I can't imagine it being too low for MySQL.. I'm aware memory is a bit low, but RAMBUS chips are hard to come by. They don't have them in stock anywhere anymore. Also they are quite expensive. It's almost like you could've

Re: Performance problem - MySQL at 99.9% CPU

2008-01-08 Thread Kevin Hunter
At 6:47a -0500 on 08 Jan 2008, Gunnar R. wrote: Concerning slow queries, it seems there's a couple of different queries that's being logged. I haven't tried it yet, but this recently went by on debaday.debian.net: mytop: a top clone for MySQL

Re: Performance problem - MySQL at 99.9% CPU

2008-01-08 Thread Kevin Hunter
At 3:51p -0500 onGunnar R. wrote, On 01/08/2008 03:51 PM: That tool tells me 100% of the data is read from memory, not a byte from disk... would there still be any point in getting more memory? Any suggestions to where to go from here? I dunno. My hunch is that could do some query

Re: Performance problem - MySQL at 99.9% CPU

2008-01-03 Thread Gunnar R.
Hi, Thanks. mysql show processlist; ++---+---+---+-+--+--+--+ | Id | User | Host | db| Command | Time

RE: Performance problem - MySQL at 99.9% CPU

2008-01-03 Thread Gunnar R.
Hello, Thanks. I read the document, but unfortunately it didn't tell me anything new.. One of the things I am a bit confused about is: top - 22:08:12 up 6 days, 7:23, 1 user, load average: 4.36, 3.30, 2.84 Tasks: 134 total, 1 running, 133 sleeping, 0 stopped, 0 zombie Cpu0 : 61.3% us,

Re: Performance problem - MySQL at 99.9% CPU

2008-01-03 Thread Erik Giberti
Gunnar, us = user (things like MySQL/PHP/Apache) sy = system (memory management / swap space / threading / kernel processes and so on) ni = nice (apps running only when nothing else needs the resource) id = idle (extra cpu cycles being wasted) wa = wait state (io wait for disk/network/memory)

Re: Performance problem - MySQL at 99.9% CPU

2008-01-02 Thread Per Jessen
Gunnar R. wrote: I am thinking about buying a new dual core box (with IDE disks?), but I have to make sure this really is a hardware issue before I spend thousands of bucks. I think you've got an application problem somewhere which you should look into first. Hardware-wise I think you're

RE: Performance problem - MySQL at 99.9% CPU

2008-01-02 Thread Eric Frazier
-Original Message- From: Per Jessen [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 02, 2008 7:51 AM To: mysql@lists.mysql.com Subject: Re: Performance problem - MySQL at 99.9% CPU Gunnar R. wrote: I am thinking about buying a new dual core box (with IDE disks?), but I have

RE: Performance problem - MySQL at 99.9% CPU

2008-01-02 Thread Andrew Braithwaite
Hi, If you can follow this document: http://www.ufsdump.org/papers/uuasc-june-2006.pdf You should be able to figure out what's happening. Cheers, Andrew -Original Message- From: Gunnar R. [mailto:[EMAIL PROTECTED] Sent: Tue, 01 January 2008 23:31 To: mysql@lists.mysql.com Subject:

Re: Performance problem - MySQL at 99.9% CPU

2008-01-01 Thread Baron Schwartz
Hi, On Jan 1, 2008 6:31 PM, Gunnar R. [EMAIL PROTECTED] wrote: Hello, I am running a community site mainly based on phpBB. It has about 9.300 registered users, 650.000 posts and about 200.000 visitors/month (12 mill hits). The SQL database is about 700MB. It's all running on a couple of

Re: Performance problem - MySQL at 99.9% CPU

2008-01-01 Thread Ady Wicaksono
Hi, please monitor what happened with mysql show processlist show innodb status and also ps aux because maybe some application makes your mysql busy On Jan 2, 2008 7:31 AM, Gunnar R. [EMAIL PROTECTED] wrote: Hello, I am running a community site mainly based on phpBB. It has about 9.300