The SQL API is written on top of the Java document API. The Graph API is also written on top of the Java document API. Thus, in general, using the document API should be faster, if you're using it optimally, but that may involve a lot more coding.
Depending on what you're doing, it may be easier to use one of the other APIs to achieve your goals. In particular, it is almost always easier to define your schema using the SQL DDL commands, particularly when defining indexes. - Craig - On Sep 10, 2015 18:46, "Lucas Lira Gomes" <[email protected]> wrote: > Hi all, > > is there any substantial difference in speed between the Java API and the > SQL API? If so, which one is faster? > > Regards, Lucas Lira Gomes. > > -- > > --- > 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.
