I'm finding that adding documents to a database starts at about 1ms, but gradually gets slower (5ms after about 700,000).  I'm doing this with autoflush off, and I've tried periodic flush an optimize commands but they have no effect.

Is this expected behavior?  Is there any way to keep it speedy?

--
Delving BV, Vasteland 8, Rotterdam
http://www.delving.eu
http://twitter.com/fluxe
skype: beautifulcode
+31629339805