> The query that gets all objects took 5-6 sec.
A query for //objectn should complete within a few milliseconds.
Retrieving the 2 million results could be slow, sure, depending on how
you serialize them.
> But the query holds on endlessly that receives objects by some properties or
> just to get the first object.
I guess you did not define any indexes on prop1...prop10? See
http://exist-db.org/tuning.htmlWolfgang
------------------------------------------------------------------------------
_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open