Hi all!

There are about 600 000 vertices of specific type (let say CustomType) in 
my graph database. Also CustomType have unique LONG field 'ID'. I've 
created index for this field (create index customtype_id on CustomType (ID) 
unique).
So searching through the IDs (
select from CustomType where ID=...
) is pretty quick (~0.05s).

But when I execute the next query
select min(ID) from CustomType
it takes more than one minute. 

I have expected that min() function should work as fast as search by field 
itself.

Isn't it a bug?

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.

Reply via email to