in reply to Re: DBI Style Inquiry
in thread DBI Style Inquiry
But fetchrow_hashref is much slower than the other fetch methods. It doesn't really matter if you fetch just a single row, but when traversing thousands of records, you will notice. For speed use bind_columns (the last example of that section shows how to get the best of both worlds). Here are some (older) speed compares for different database types:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: DBI Style Inquiry
by Ralesk (Pilgrim) on Jun 27, 2013 at 12:20 UTC | |
|
Re^3: DBI Style Inquiry
by erix (Prior) on Jun 28, 2013 at 12:14 UTC | |
by Tux (Canon) on Jun 28, 2013 at 12:42 UTC |