Help Tweaking MySQL

Posted by SuperHosterz, 01-14-2008, 05:12 AM
MySQL Takes up 80-100% cpu Please help me guys

Posted by david510, 01-14-2008, 05:21 AM
Type the following command and see if resource is taken by single/multiple databases. mysqladmin -i3 processlist

Posted by Abu Mami, 01-14-2008, 05:21 AM
What is your RAM usage? What are you running? What do your scripts do? What kind of queries are you using to access your database. I would suspect that you've got a very, very nasty query that just eats up everything. Make your queries lightweight by using the LIMIT clause. Check your indexes.

Posted by SuperHosterz, 01-14-2008, 05:29 AM
Multiple I'm not pro with Linux , Just started so I need more info on what you said , Here's top results

Posted by david510, 01-14-2008, 05:52 AM
I suggest to consult this with an Admin if it is out of your control.

Posted by SuperHosterz, 01-14-2008, 05:53 AM
I'd Like to Learn about it and wanna try it myself

Posted by david510, 01-14-2008, 06:01 AM
If the database contents are not changing at a fast pace, you can try increasing the values query_cache_limit and query_cache_size.

Posted by SuperHosterz, 01-14-2008, 02:51 PM
Made it 15M Waiting for results anymore tweak I can make?

Hjälpte svaret dig?

 Skriv ut denna artikeln

Läs även

weird disk usage shown in server

Posted by prashant1979, 09-18-2008, 08:28 AMHello, I am seeing a weird disk usage in one of my...

PlanetDomain API - Frustrating - Waiting for almost a decade!

Posted by MrLeN, 09-21-2008, 10:55 AMI have been a PlanetDomain reseller for about 8 years or so...

FreeBSD CPUs

Posted by BostonGuru, 03-23-2007, 12:51 AMDoes anyone know how to bind a process (either when...

Can't upload via php script

Posted by JohnDoe_Cro, 06-28-2008, 01:58 PMHello all, I am having problems on my server... I...

time overlap = total

Posted by ti_nhatrang, 02-07-2011, 10:21 AMHi guys, I got this table with call logs start and...