Subject: | DBD::Pg to set the fetch size |
Date: | Sat, 22 Feb 2014 20:38:33 +0000 |
To: | bug-DBD-Pg [...] rt.cpan.org |
From: | matshyeq <matshyeq [...] gmail.com> |
Hello,
I've found an issue when selecting rows from big table (2mln rows)
I discovered the execute() statement seems to prefetch all rows first which
breaks my script due to the excessive memory consumption.
I believe this has been well described at:
http://stackoverflow.com/questions/21960121/perl-dbdpg-script-fails-when-selecting-data-from-big-table
Could you please give me some update as I have no idea how to get around
this issue.
Kind Regards
Msciwoj