In Orientdb when I am running queries on Server for 100000 records and i have to fetch some thousands records,it's taking so much time . in my case to fetch 600 records, 6 minutes taken by orientdb. please suggest me what am i doing wrong with my queries. Select From Complaint_Detail where Complaint_ID in(Select Complaint_Id from Complaint where State='CA') limit 100 for the above query it takes 48 sec. please help me to find solution
Complaint.State
? In this way the lookup is much faster.details
as a set of links to theComplaint_Detail
class, the query would be much easier to write and fastselect expand(details) from Complaint where State='CA'