Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
How can I change this request such that mysql only takes the first match and will spend less time thinking ? ( I need to do this request > 100000 times => it will take 278 hours ==> 11 days....)my $sth = $dbl->prepare($command) ; $sth->execute() ; my @row = $sth->fetchrow_array ; $sth->finish ;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: very huge mysql request
by cees (Curate) on Jan 19, 2006 at 14:25 UTC | |
|
Re: very huge mysql request
by Corion (Patriarch) on Jan 19, 2006 at 14:27 UTC | |
|
Re: very huge mysql request
by Fletch (Bishop) on Jan 19, 2006 at 14:26 UTC | |
|
Re: very huge mysql request
by socketdave (Curate) on Jan 19, 2006 at 14:26 UTC | |
|
Re: very huge mysql request
by CountZero (Bishop) on Jan 20, 2006 at 07:25 UTC | |
|
Re: very huge mysql request
by Anonymous Monk on Jan 19, 2006 at 14:29 UTC |