Are you using remote protocol, right? In this case all your filtering is happening at client side paying a lot in terms of latency.
WDYT about executing a query/command that do all your job at server side? Start with this query executed in graph.command( new OCommandSQL("<query>") ); SELECT friendship.confirmed, inV( friendship ) FROM SELECT out('social').outE('friend') as friendship FROM Account WHERE uuid = 'blablablablablablablablabla' ) Best Regards, Luca Garulli Founder & CEO OrientDB <http://orientdb.com/> On 30 April 2016 at 21:43, 'scott molinari' via OrientDB < orient-database@googlegroups.com> wrote: > Ok. Sounds like you are right about the profiles. I hope the ODB guys can > help. I think I pulled enough of the right information out of you, so they > can help. Sorry, I am not more help. > > Scott > > -- > > --- > 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 orient-database+unsubscr...@googlegroups.com. > 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 orient-database+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.