There's more than one way to do things | |
PerlMonks |
Re: Much slower DBI on RHEL6by erix (Prior) |
on Feb 05, 2014 at 23:22 UTC ( [id://1073626]=note: print w/replies, xml ) | Need Help?? |
Are the database tables the same size? Do the database tables have the exact same data? Do the database tables have the same indexes? Perhaps one machine (wisely) chooses to scan the table because the search conditions are not specific enough for an index (which they were on the other machine). In short, there isn't really enough information... update: In general, it's a shame that database questions tend to talk of "meh, slow...", "fast!", "yippee, much faster!!" but omit to post timings and/or pertinent database plans (EXPLAIN PLAN variants). Also, or even especially, when the case is solved.
In Section
Seekers of Perl Wisdom
|
|