Hi, I would take following ones: OGlobalConfiguration.CACHE_LEVEL2_ENABLED.setValue(false); OGlobalConfiguration.CACHE_LEVEL2_SIZE.setValue(0); OGlobalConfiguration..USE_WAL.setValue(false); OGlobalConfiguration.DISK_CACHE_SIZE(amout of ram in megabytes to consume by disk cache)
g = new OrientGraphNoTx(dbURL); GraphMLReader.inputGraph(g, graphname, 1000000, null, null, null); On Fri, Feb 7, 2014 at 1:47 PM, Никита Волков <[email protected]> wrote: > Hello. > > I'm going to import large graph in new OrientB 1.7 > I use plocal db-type and next piece of code for import. > > > g = new OrientGraphNoTx(dbURL); > try { > g.getRawGraph().declareIntent(new > OIntentMassiveInsert()); > > OGlobalConfiguration.STORAGE_KEEP_OPEN.setValue(false); > > OGlobalConfiguration.TX_USE_LOG.setValue(false); > > OGlobalConfiguration.ENVIRONMENT_CONCURRENT.setValue(false); > > //graph.getRawGraph().declareIntent(new > OIntentMassiveInsert()); > g.getRawGraph().declareIntent(new > OIntentMassiveInsert()); > GraphMLReader.inputGraph(g, graphname, > 1000000, null, null, null); > > > > > > Is it right way or code should be improved? > > > -- > > --- > You received this message because you are subscribed to the Google Groups > "OrientDB" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- Best regards, Andrey Lomakin. Orient Technologies the Company behind OrientDB -- --- You received this message because you are subscribed to the Google Groups "OrientDB" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
