in reply to Re: Sybase::BCP & iowait
in thread Sybase::BCP & iowait

The $bcp -> bcp_batch command commits the data - in this case every 100 rows.

The amount of data could cause a block on a disk write - I've seen similar with Data::Dumper when trying to output a hash of similar size to disk.

The memory usage doesn't seem to be excessive .. this was one of the first things I looked at, but it simply appears to block on a disk write.

I'll do as you suggest and look at the BCP destructor; hopefully that'll shed a little light on the issue.

Cheers for the help ..
-- Foxcub