This project has moved and is read-only. For the latest updates, please go here.

Batch saving ?

Aug 24, 2011 at 4:13 AM


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



Aug 24, 2011 at 8: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 8: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 11: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 25, 2011 at 12:36 AM

I see thanks.