LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-04-2006, 04:36 PM   #1
ivanatora
Member
 
Registered: Sep 2003
Location: Bulgaria
Distribution: Ubuntu 9.10, FreeBSD 7.2
Posts: 459

Rep: Reputation: 32
MySQL takes a lots of load


I have mysqld running on a small server. Sometimes it happens to take a lots of load (about 90% and up, I saw that in `top`). I have some perl scripts that use databases, but nothing more than simple SELECT and INSERT statements at rate of 5-10 statements per second for all scripts total. If I restart mysqld the load drops down to normal. One of my databases is about 15MB big, could that be a problem? Right at the moment it starts using the db, load increases.
Maybe it takes a lot of time for SELECT statements to search through the whole DB? Or the large file troubles the system memory?
I need that db and it can't be smaller.
My MySQL config is the default one (huh, which one of the my-*.cnf files is it?)
Does anyone has an idea of whats going on?
 
Old 01-05-2006, 06:53 AM   #2
ivanatora
Member
 
Registered: Sep 2003
Location: Bulgaria
Distribution: Ubuntu 9.10, FreeBSD 7.2
Posts: 459

Original Poster
Rep: Reputation: 32
FIXED
Well.. all of it was to fix my script source
But while searching the web I took some interesting hints:
http://dev.mysql.com/doc/refman/5.0/...-overview.html
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ndiswrapper module takes an awfully long time to load xiang83 Slackware 1 12-17-2005 11:24 AM
takes long time to load the KDE bruse Linux - Newbie 14 10-03-2005 03:29 PM
idesk... fluxbox takes forever to load CPUFreak91 Linux - Software 1 08-05-2005 04:06 PM
ndiswrapper module takes an awfully long time to load xiang83 Linux - Hardware 0 02-12-2005 10:58 AM
fluxbox takes years to load lil_slice Linux - Software 6 02-02-2004 10:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:03 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration