List:General Discussion« Previous MessageNext Message »
From:Imran Chaudhry Date:January 5 2006 1:54pm
Subject:RE: Lost Connection executing query
View as plain text  
The fact that on your Mac installation you re-imported your table data
makes me think it's an index efficiency issue. I have seen MySQL just
lose the connection if the join becomes massively big. On re-import,
the indexes would have been rebuilt and your query would be able to
take advantage of the freshest indexes.

A bit crude, but on your Production box can may need to do the
following on every <table> in your UPDATE:
- drop and create every index
- perform ANALYZE TABLE <table> (this will help if we ask you to
perform EXPLAIN later on)

Ideally you have a pre-Production environment with the same database
(non-replicated). I would recommend trying the re-index tactic there
first if you havne't already.

Hope that Helps,

Imran Chaudhry

--
http://www.EjectDisc.com
Get your Digital Identity - Domain Names, Web Space, E-mail & More!
Thread
Best case-insensitive search for Character Set utf8 COLLATE utf8_bin Columns.Robert DiFalco28 Dec
  • Upgrading to 5.0.15Tripp Bishop28 Dec
    • Re: Upgrading to 5.0.15Gleb Paharenko28 Dec
      • Re: Upgrading to 5.0.15Gary Richardson28 Dec
        • Re: Upgrading to 5.0.15Christian Meisinger30 Dec
          • Re: Upgrading to 5.0.15Gary Richardson30 Dec
        • Lost Connection executing queryTripp Bishop4 Jan
          • Re: Lost Connection executing queryGleb Paharenko9 Jan
RE: Lost Connection executing queryemierzwa4 Jan
  • RE: Lost Connection executing queryTripp Bishop4 Jan
    • Re: Lost Connection executing queryKyle6 Jan
    • Re: Lost Connection executing queryKyle6 Jan
RE: Lost Connection executing queryemierzwa4 Jan
  • RE: Lost Connection executing queryTripp Bishop4 Jan
RE: Lost Connection executing queryImran Chaudhry5 Jan