in reply to How to improve MYSQL search performance of perl?
SELECT * FROM table WHERE field = 1 SELECT * FROM table WHERE field = 10 SELECT * FROM table WHERE field = 75 SELECT * FROM table WHERE field = 3 SELECT * FROM table WHERE field = 8 ...
If that is the case you could probably benefit from using placeholders and using $sth = $dbh->prepare($statement) or $sth = $dbh->prepare_cached($statement).
CountZero
"If you have four groups working on a compiler, you'll get a 4-pass compiler." - Conway's Law
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to improve MYSQL search performance of perl?
by nan (Novice) on Aug 19, 2005 at 15:27 UTC | |
by CountZero (Bishop) on Aug 19, 2005 at 18:32 UTC | |
by nan (Novice) on Aug 24, 2005 at 17:11 UTC | |
by CountZero (Bishop) on Aug 24, 2005 at 18:29 UTC | |
by nan (Novice) on Aug 25, 2005 at 15:56 UTC |