in reply to Perl DBI (sybase) rapidly delete large number of records

All such insert/update/delete bulk operations need to be batched. What I do (and this is something I am doing many times a year) is something like:
use constant (SYBBATCHSIZE => 1000, # ... ); # ... while( for ( my $i = 0; $i <= $#keys; $i += SYBBATCHSIZE ) { SqlSub( 'DELETE FROM mytable ' . 'where pkcol in ( "' . join( '", "', @keys[ $i ..SYBBATCHSIZE ] ) . '" )' ); }
__________________________________________________________________________________

^M Free your mind!