Batch saving ?

Aug 24, 2011 at 3:13 AM


Is it possible to save a batch of entities for better performance (list, array, etc...) ?



Aug 24, 2011 at 7:02 AM

It seems to be taking about 1 and half hour for to insert 500 MB of data into sterling. Purge is also quite slow.

I suspect that isolated storage is pretty slow, but i'm wondering if anyone has got some performance tips.



Aug 24, 2011 at 7:40 AM

Looks like flush is taking many seconds as well when the db is getting bigger...

Do I need to flush if I don't use index ?

Aug 24, 2011 at 10:01 AM

You can use the save async to launch a background worker. It won't speed up isolated storage but will allow a massive insert to run in the background while you do other things. Flush is required even when you don't use indexes to flush the keys.

Aug 24, 2011 at 11:36 PM

I see thanks.