Click here to get back home

more balance performance

 HomeNewsGroups | Search | About
 mailing.database.mysql    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
more balance performance cmk128 10-30-2006
Posted by cmk128 on October 30, 2006, 8:49 pm
Please log in for more thread options
Hi
My computer is AMD athlon 64 3400+ with 1.5G DDR. when i execute the
following sql in mysql 5.XX.
select c.filename, c.topic from articles c where c.topic in (select
a.topic from articles a group by a.topic having count(a.topic)>1) order
by topic;

It eat up all the cpu power , and the mysql server stop responsing
until end of this query. Even my apache stop responing too. How to fix
this? How can i set the CPU limit of each query connection?

thanks
from Peter (cmk128@hotmail.com)


Posted by lark on October 31, 2006, 9:28 am
Please log in for more thread options
first, what are you trying to do?
second, you can put and explain in the beginning of the query and run it
to see what the server says about the query. in a query like this, i'd
definitely run an explain to find out where the bottlenecks are.



cmk128@hotmail.com wrote:
> Hi
> My computer is AMD athlon 64 3400+ with 1.5G DDR. when i execute the
> following sql in mysql 5.XX.
> select c.filename, c.topic from articles c where c.topic in (select
> a.topic from articles a group by a.topic having count(a.topic)>1) order
> by topic;
>
> It eat up all the cpu power , and the mysql server stop responsing
> until end of this query. Even my apache stop responing too. How to fix
> this? How can i set the CPU limit of each query connection?
>
> thanks
> from Peter (cmk128@hotmail.com)
>

Similar ThreadsPosted
Large table performance problem with MYSQL performance with ASP.NET February 7, 2006, 11:11 am
Help! Large table performance problem with MYSQL performance with ASP.NET February 8, 2006, 9:27 am
Performance Tunning March 29, 2006, 8:55 am
performance question April 13, 2006, 4:08 am
Help with Performance Tuning July 26, 2006, 2:21 pm
performance questions August 4, 2006, 9:29 am
MySQL Performance February 20, 2007, 10:50 pm
Is there any way i can improve upon the performance of this query October 14, 2005, 3:41 am
MySQL Performance Statistics August 21, 2006, 2:12 pm
performance of query for normalized DB October 19, 2006, 8:27 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap