| 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 DiFalco | 28 Dec |
| • Upgrading to 5.0.15 | Tripp Bishop | 28 Dec |
| • Re: Upgrading to 5.0.15 | Gleb Paharenko | 28 Dec |
| • Re: Upgrading to 5.0.15 | Gary Richardson | 28 Dec |
| • Re: Upgrading to 5.0.15 | Christian Meisinger | 30 Dec |
| • Re: Upgrading to 5.0.15 | Gary Richardson | 30 Dec |
| • Lost Connection executing query | Tripp Bishop | 4 Jan |
| • Re: Lost Connection executing query | Gleb Paharenko | 9 Jan |
| • RE: Lost Connection executing query | emierzwa | 4 Jan |
| • RE: Lost Connection executing query | Tripp Bishop | 4 Jan |
| • Re: Lost Connection executing query | Kyle | 6 Jan |
| • Re: Lost Connection executing query | Kyle | 6 Jan |
| • RE: Lost Connection executing query | emierzwa | 4 Jan |
| • RE: Lost Connection executing query | Tripp Bishop | 4 Jan |
| • RE: Lost Connection executing query | Imran Chaudhry | 5 Jan |
