in reply to Much slower DBI on RHEL6
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Much slower DBI on RHEL6
by MPM (Novice) on Feb 06, 2014 at 02:44 UTC | |
by Anonymous Monk on Feb 06, 2014 at 10:20 UTC | |
by chromatic (Archbishop) on Feb 06, 2014 at 19:04 UTC | |
by Anonymous Monk on Feb 06, 2014 at 20:21 UTC | |
by McA (Priest) on Feb 06, 2014 at 11:08 UTC | |
|
Re^2: Much slower DBI on RHEL6
by MPM (Novice) on Feb 05, 2014 at 23:27 UTC |