table locking problem

2009-05-12 Thread J.P. Trosclair
Hi, I'm having a strange problem with table locking. I have written a stored procedure that only accesses a single table. Before executing the procedure, I'm trying to lock the table in question for writing. The LOCK TABLE command succeeds, but when I execute the stored procedure it tells me

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

2004-12-02 Thread Donny Simonton
TECTED] > Sent: Wednesday, December 01, 2004 11:22 PM > To: [EMAIL PROTECTED]; [EMAIL PROTECTED] > Subject: Re: Table Locking Problem? Very Slow MyISAM DB - PLS HELP! > > > >The reason I ask is because eight select statements should not bog down a > >production serve

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

2004-12-02 Thread Victor Pendleton
When the server begins to slow down, what does top reveal? Andrew Nelson wrote: The reason I ask is because eight select statements should not bog down a production server. On the MySQL side, is anything being written to the slow query log? On the application side is there any virus scanning or

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

2004-12-01 Thread Andrew Nelson
The reason I ask is because eight select statements should not bog down a production server. On the MySQL side, is anything being written to the slow query log? On the application side is there any virus scanning or similar activity being performed? Does iostat show any heavy reading or writing

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

2004-12-01 Thread Victor Pendleton
The reason I ask is because eight select statements should not bog down a production server. On the MySQL side, is anything being written to the slow query log? On the application side is there any virus scanning or similar activity being performed? Does iostat show any heavy reading or writing

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

2004-12-01 Thread Andrew Nelson
Hi Victor, How did you deduce that the database server is the bottleneck? Are all your processes running on the same machine? Because 'ps -aux' shows it running at 94% of the CPU and when I stop/start the mysql server, it seems to be ok again for another hour. Any ideas? Andrew Nelson wrote: Hi

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

2004-12-01 Thread Andrew Nelson
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

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

2004-12-01 Thread Victor Pendleton
How did you deduce that the database server is the bottleneck? Are all your processes running on the same machine? Andrew Nelson wrote: 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 fo

MyISAM table locking problem on AMD64

2004-11-04 Thread John Stannard
I recently migrated a myisam database to a dual processor AMD Opteron (see specs below) host and found that tables would sporadically lock and not release and so all subsequent inserts would be blocked. In this state, I was unable to nicely restart the server. It would simply give up. Repairing

Table locking problem on MySQL 3.23.30 with MyODBC 2.50.36

2001-01-18 Thread Apolinaras 'Apollo' Sinkevicius
My set-up: MySQL server 3.23.30 with MSAccess97 via MyODBC 2.50.36 (all latest patches to everything) I have no trouble running this set up, BUT... Even when I am the only person connected (after flush and restart of server) and I open my Access database and go directly to edit one particular t