30 messages in com.mysql.lists.mysqlRe[4]: Locked tables while "Sending d...
FromSent OnAttachments
PHILLIPS, CORY H. (JSC-OA)07 Mar 2000 08:48 
BAUMEISTER Alexandre08 Mar 2000 10:33 
sin...@mysql.com09 Mar 2000 05:14 
Tim Bunce09 Mar 2000 05:45 
BAUMEISTER Alexandre10 Mar 2000 06:11 
sin...@mysql.com10 Mar 2000 07:20 
Tim Bunce10 Mar 2000 08:48 
sin...@mysql.com10 Mar 2000 09:56 
BAUMEISTER Alexandre10 Mar 2000 10:05 
BAUMEISTER Alexandre10 Mar 2000 10:09 
sin...@mysql.com10 Mar 2000 10:20 
Tim Bunce10 Mar 2000 11:53 
Thimble Smith10 Mar 2000 14:03 
Tim Bunce10 Mar 2000 17:08 
Michael Widenius11 Mar 2000 03:43 
Michael Widenius11 Mar 2000 03:44 
BAUMEISTER Alexandre11 Mar 2000 08:01 
BAUMEISTER Alexandre11 Mar 2000 08:05 
Michael Widenius11 Mar 2000 14:59 
Tim Bunce12 Mar 2000 13:14 
Michael Widenius12 Mar 2000 15:12 
Tim Bunce13 Mar 2000 01:41 
Michael Widenius13 Mar 2000 07:35 
Tim Bunce13 Mar 2000 08:02 
Michael Widenius13 Mar 2000 16:33 
Tim Bunce14 Mar 2000 03:49 
Tim Bunce24 Apr 2000 10:15 
Michael Widenius25 Apr 2000 19:21 
Tim Bunce26 Apr 2000 03:47 
Michael Widenius26 Apr 2000 18:08 
Subject:Re[4]: Locked tables while "Sending data" !?
From:Michael Widenius (mon@monty.pp.sci.fi)
Date:03/11/2000 02:59:28 PM
List:com.mysql.lists.mysql

"BAUMEISTER" == BAUMEISTER Alexandre <al@finance-net.com> writes:

BAUMEISTER> Bonjour Michael, Tim> On Fri, Mar 10, 2000 at 05:04:09PM -0500, Thimble Smith wrote:

Can you, or anyone else from TcX, comment more constructively on the last two paragraphs of my previous message?

I don't know what the answer is, because I don't know that code well enough. It seems like the server should be able to copy from a temporary results table to the client and unlock the tables used in the query. It would be nice to be able to force this to happen, either in the SQL statement or with a connection flag (or both).

Also, Alexandre has just observed that the problem does not appear to be resolved by adding an ORDER BY. That doesn't match your explanation of the cause of the problem.

I believe that there is a serious concurrency issue here that needs addressing, not dismissing.

I will look into it, and find out what it would take to make this happen (or, maybe find out why it isn't happening and give a full account).

Tim> Thank you. Much appreciated.

Tim> Tim.

MW> A last note about this thread:

MW> It would be trivial to add a new flag that will force creation of MW> temporary sets on file.

MW> Thimbley should be able to do this for MySQL 3.23.14 :)

BAUMEISTER> And it would be great if instead of using a temporary table on the BAUMEISTER> hard disk (slow) a memory buffer would be use if SMALL_RESULT is BAUMEISTER> notified in the query.

This will of course be the default.

Regards, Monty