I don't know your PRAGMA code, but in general this is a possible solution.
The only thing where I'd like to comment is that DBI allows and you should use a $dbh->begin_work and a $dbh->commit instead of $dbh->do( "BEGIN" ) and $dbh->do( "COMMIT" );
In reply to Re^4: Efficient way to handle huge number of records?
by leuchuk
in thread Efficient way to handle huge number of records?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |