dbTalk Databases Forums  

Table Locking Problem? Very Slow MyISAM DB - PLS HELP!

mailing.database.myodbc mailing.database.myodbc


Discuss Table Locking Problem? Very Slow MyISAM DB - PLS HELP! in the mailing.database.myodbc forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Andrew Nelson
 
Posts: n/a

Default Table Locking Problem? Very Slow MyISAM DB - PLS HELP! - 12-01-2004 , 07:44 PM






Hi,

I have a MySQL 3.23.55 server managing accounts on my exim mail server..
The table type on all tables MyISAM.. I have the MTA performing various
queries
for each incoming email - determining mail aliases, vacation messages and
filtering rules etc but they're all pretty much SELECT statements.. I know
this isn't ideal and i've started replacing runtime queries with processes
that
search text files instead (generated every few minutes etc) but it should
still be able to cope I would have thought?

At it's busiest, it's performing about 8 trivial queries per second. It's a
Xeon
2.6Ghz machine with 1Gb of RAM (running on FreeBSD) but it's grinding to a
halt.

I have to keep stopping and restarting the MySQL server to regain speed.
As there's many processes trying to access the same tables to do SELECTs I
thought it might be a locking issue.. BDB didn't seem to help - can
anyone
suggest something that might help?

Thanks,
Andrew.



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=m...ie.nctu.edu.tw


Reply With Quote
  #2  
Old   
Victor Pendleton
 
Posts: n/a

Default Re: Table Locking Problem? Very Slow MyISAM DB - PLS HELP! - 12-01-2004 , 07:47 PM






How did you deduce that the database server is the bottleneck? Are all
your processes running on the same machine?

Andrew Nelson wrote:

Quote:
Hi,

I have a MySQL 3.23.55 server managing accounts on my exim mail server..
The table type on all tables MyISAM.. I have the MTA performing
various queries
for each incoming email - determining mail aliases, vacation messages
and
filtering rules etc but they're all pretty much SELECT statements.. I
know
this isn't ideal and i've started replacing runtime queries with
processes that
search text files instead (generated every few minutes etc) but it should
still be able to cope I would have thought?

At it's busiest, it's performing about 8 trivial queries per second.
It's a Xeon
2.6Ghz machine with 1Gb of RAM (running on FreeBSD) but it's grinding
to a halt.

I have to keep stopping and restarting the MySQL server to regain speed.
As there's many processes trying to access the same tables to do
SELECTs I
thought it might be a locking issue.. BDB didn't seem to help - can
anyone
suggest something that might help?

Thanks,
Andrew.




--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=m...ie.nctu.edu.tw



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 On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.