in reply to fetchall_arrayref DBI question ?

If you put a conditional on SQL limiting the rows you are returning you will not dump such a large table and therefore be able to troubleshoot your problem.