> Detlef Golze wrote: > > I attach the database with the URI option cache=shared. > > This makes all threads share a single connection. Don't do it. > > > Regards, > Clemens
That was indeed the problem. During my initial tests this option provided the best performance. I probably need to re-think that. Thanks, Detlef.

