Hi Andrey,

 We found, that after adding a new vertex, a new class instance is created
> each time to validate the vertex. However it is not realized after all.

Could you be more specific? What class instance do you mean? And where it
is kept? It would be great if you could point me at code, probably we could
avoid such behavior.

2) I'm afraid Blueprints API doesn't aware of schema, it is more orient
specific, so that API doesn't allow to configure it.

3) The setValidationEnabled method change the state of db where it was
invoked. So *<OrientBaseGraph>.getRawGraph(**).setValidationEnabled(false);*
should work. Have you tried to check if value is set correctly with
isValidataionEnabled call?

Best regards,
Artem Orobets

* Orient Technologiesthe Company behind OrientDB*


2014-06-23 18:30 GMT+03:00 Андрей Логинов <[email protected]>:

> Good day,
>
> We've faced several issue while trying massive insertions (900k vertexes,
> millions of edges):
> It is becoming possible only after adding additional memory to client's VM
> (up to 4GB) . We found, that after adding a new vertex, a new class
> instance is created each time to validate the vertex. However it is not
> realized after all.
>
> At the same time I've found next article in wiki:
> https://github.com/orientechnologies/orientdb/wiki/Performance-Tuning-Graph.
> I noticed that there is special method:
>
> graph.setValidationEnabled(false);
>
> The thing is - I'm using blueprint API and can access this method only via 
> <OrientBaseGraph>.getRawGraph().setValidationEnabled(false);
> However it seems like that I should work with returned object further in 
> order to make this change work.
>
> So my questions are:
> 1) how to make orientDB client (via blueprint API) work without adding 
> additional memory?
> 2) how to disable validation using this API?
> 3) how to convert result of setValidationEnabled back to OrientBaseGraph?
>
> Thanks in advance.
>
>
>  --
>
> ---
> 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/d/optout.
>

-- 

--- 
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/d/optout.

Reply via email to