a) select from Post where isFeatured = true limit -1 [returns 975 of 1M records]
b) select from User where isFeatured = true limit -1 [returns 195 of 200k records]
c) select from Tag where isFeatured = true limit -1 [returns 4 of 74 recrods]
I ran these queries 3 times (in console using a remote connection), right after I started OrientDB Server.
It's all here.
I'm running these in a Amazon machine with SSD disks.
I'm starting OrientDB with:
MAXHEAP=-Xmx4096m
MAXDISKCACHE=""
First:
a) 7.339s
b) 4.377s
c) 25.81s
Second:
a) 1.239s
b) 0.621s
c) 5.873s
Third:
a) 0.653s
b) 0.633s
c) 6.051s
Why the third query takes this long? (only 4 records in 74)
I'm guessing OrientDB is caching the results from the first query.
But there's anything I can do to improve performance when they aren't cached?
--
---
You received this message because you are subscribed to a topic in the Google Groups "OrientDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orient-database/o9Z4cGTEdE4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to orient-databa...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Here is the EXPLAIN output, sorry I forgot.
I dropped the indexes and:
c) 9.919sa) 31.717sb) 8.439s
--
---
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-databa...@googlegroups.com.
--
---
You received this message because you are subscribed to a topic in the Google Groups "OrientDB" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/orient-database/o9Z4cGTEdE4/unsubscribe.
To unsubscribe from this group and all its topics, send an email to orient-databa...@googlegroups.com.
curl -u admin:admin "http://localhost:2480/query/MYDB/sql/select from Tag where isFeatured = true limit -1"
curl -u admin:admin "http://localhost:2480/query/MYDB/sql/select from Tag where isFeatured = true/-1"