Welcome to the Monastery | |
PerlMonks |
Re^5: latency and round-tripsby pajout (Curate) |
on Dec 20, 2008 at 15:33 UTC ( [id://731774]=note: print w/replies, xml ) | Need Help?? |
Unluckily I have no experience with combination of DBI and Oracle, specially with clobs. But, naturally, I do not know the expected size of your 5000 clobs. If, for instance, 1 clob is maximally 64kB and 350MB of memory is acceptable for your Perl process, let you pull 5000 rows at once... When I implemented data replication between MySQL, Postgres and MSSQL servers, I have chosen 1000 maxrows. I use the result mostly in this manner:
If $aref in your question is the return of fetchall_arrayref, it is reference to an array, which items are references to an array too. So, $$aref[0] or $aref->[0] is the first item of the "upper" array, i.e. reference to the array containing first data row, $$aref[$rowindex][$colindex] or $aref->[$rowindex]->[$colindex] is the $colindex'th item of $rowindex'th data row.
In Section
Seekers of Perl Wisdom
|
|