more balance performance

This is a discussion on more balance performance within the MySQL Database forums, part of the Database Forums category; Hi My computer is AMD althon 64 3400+ with 1.5G DDR. when i execute the following sql in mysql ...


Go Back   Usenet Forums > Database Forums > MySQL Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-31-2006
cmk128@hotmail.com
 
Posts: n/a
Default more balance performance

Hi
My computer is AMD althon 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)

Reply With Quote
  #2 (permalink)  
Old 10-31-2006
Jerry Stuckle
 
Posts: n/a
Default Re: more balance performance

cmk128@hotmail.com wrote:
> Hi
> My computer is AMD althon 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)
>


You can't set the CPU limit for each connection.

The key here is the size of your tables, indexes, buffer sizes, etc.
There's a lot you can do to optimize, but without knowing the details of
your database it's impossible for us to help you.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:52 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0