in reply to Re: Sqlite: Threads and inserts into a different database for each one. (1 thread fast, >1 slow)
in thread Sqlite: Threads and inserts into a different database for each one. (1 thread fast, >1 slow)

Hi,
Indeed, but i don't do concurrent write on the same database.
When the threads start it's really fast, my problem seems to be when the pool is create with
my @pool = map{ threads->create( \&worker, $Qwork, $Qresults ) } 1 .. $THREADS;
  • Comment on Re^2: Sqlite: Threads and inserts into a different database for each one. (1 thread fast, >1 slow)
  • Download Code