Hi,

> Would it actually be worth something to be able to begin a transaction which
> auto-committs stuff every X write operation, like a batch inserter mode
> which can be used in normal EmbeddedGraphDatabase? Kind of like:
> 
>    graphDb.beginTx( Mode.BATCH_INSERT )
> 
> ...so that you can start such a transaction and then just insert data
> without having to care about restarting it now and then?

Thats cool! Does that already exist? In my code (like others on the list it 
seems) I have a counter++ that every 20,000 inserts (some made up number that 
is not going to throw an OutOfMemory) commits and the reopens a new 
transaction. Sorta sux.

Thanks,
Marko.

_______________________________________________
Neo4j mailing list
User@lists.neo4j.org
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to