Is there any way to speed this up? apart from indices of course?
Some queries can be optimized even without adding indices. Impossible to tell without seeing the query, though.
A very valuable tool is the explain command, maybe its output can inspire you.
Do you want your script to continue working on other things during the DB query? If yes, you could take a look at threads, or perhaps there's an option for non-blocking queries in DBI.
In reply to Re: DBI mysql insert into select speed :-/
by moritz
in thread DBI mysql insert into select speed :-/
by Cagao
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |