in reply to Need faster MySql data fetching with perl DBI
If you're getting back a ton of data from each query, then a slowdown in Perl is quite likely, especially if you're using fetchrow_array. Take a look at Speeding up the DBI, which has recipes for faster ways to fetch lots of data. However, it sounds like the slowdown happens even when no data is returned. In that case, you should do some careful DBI profiling. Most likely most of the time is spent waiting for the MySQL server's slow response..
blokhead
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Need faster MySql data fetching with perl DBI
by shaolindoman (Acolyte) on Jul 16, 2004 at 02:07 UTC | |
by beable (Friar) on Jul 16, 2004 at 02:56 UTC | |
by shaolindoman (Acolyte) on Jul 16, 2004 at 03:25 UTC | |
by beable (Friar) on Jul 16, 2004 at 04:05 UTC | |
by dragonchild (Archbishop) on Jul 16, 2004 at 12:59 UTC |