From: Michael Widenius Date: May 13 2009 11:28pm Subject: Re: MySQL Reengineering Project List-Archive: http://lists.mysql.com/internals/36677 Message-Id: <18955.22444.136492.469664@narttu.askmonty.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hi! >>>>> "Alex" =3D=3D Alex Esterkin writes: Alex> On Tue, May 12, 2009 at 4:36 PM, Brian Aker w= rote: >> Hi! >>=20 >> On May 12, 2009, at 12:13 PM, Alex Esterkin wrote: >>=20 >>> =A0For all semantic >>> purposes, THD=3DSession. >>=20 >>=20 >> A Session object can be moved across scheduler objects, there is no = 1=3D1 >> ratio in Drizzle between Session and Thread. Alex> This is exactly the point I am making. In Drizzle, you renamed= THD Alex> into Session and decoupled threads and sessions - exactly the way= it Alex> should be. In MySQL, THD is both, a thread and a session state Alex> holder, and it should only hold the latter. Not true in MariaDB or MySQL 6.0 With the pool-of-threads patch, THD becomes much closer to a session. Regards, Monty