DBI is in use. Each thread has it's own local prepared statements for insert/update for the data its processing. eg: have tried to handle everything as each thread having it's own local information/variables/etc. and not shared across threads, per se.