From: Dan Nelson Date: June 5 2002 5:48pm Subject: Re: Maximum JOINED tables List-Archive: http://lists.mysql.com/mysql/111091 Message-Id: <20020605174843.GH11978@dan.emsphone.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In the last episode (Jun 05), Sabine Richter said: > "Weaver, Walt" wrote: > > From: Roger Baklund [mailto:roger.baklund@stripped] > > * Arthur Fuller > > > I have searched the manual without success. I want to know the > > > maximum number of tables MySQL permits to be JOINed in a single > > > SELECT statement. > > > > According to crashme, it is 32 in 3.22.39 and 63 in 3.23.39. > > > > Hmmm... we're running 3.23.47 here and have run into a 32 table > > join limit... > > And how long does it take to compile a 32-tables-statement? With the > gupta server a 14-tables-statement took 2 hours. That all depends on how complex your query is and the size of the tables. A query that takes 2 hours to run probably can be optimized a lot, though. -- Dan Nelson dnelson@stripped