in reply to Slow script: DBI, MySQL, or just too much data?
One possibility is to drop all indices that aren't related to your SELECT statements, do your DELETEs, then reindex the tables when you're done. Oh - OPTIMIZE and ANALYZE before and after can help out, too.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Slow script: DBI, MySQL, or just too much data?
by menolly (Hermit) on Apr 15, 2005 at 17:57 UTC | |
by dragonchild (Archbishop) on Apr 15, 2005 at 18:02 UTC | |
by menolly (Hermit) on Apr 15, 2005 at 18:09 UTC | |
by dragonchild (Archbishop) on Apr 15, 2005 at 18:11 UTC |