cut down on db transaction overhead.
Depending on what you're up to, you can also set AutoCommit off, then count changed records while you process, and commit every N changes (every 1000 or so). It may be simpler.
In reply to Re: Posgres batch read with DBI? - ( PostgreSQL )
by erix
in thread Posgres batch read with DBI?
by cormanaz
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |