« Return to Thread: 2 000 000 documents in one xml file

Re: 2 000 000 documents in one xml file

by Wolfgang Meier-2 :: Rate this Message:

Reply to Author | View in Thread

> 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.html

Wolfgang

------------------------------------------------------------------------------
_______________________________________________
Exist-open mailing list
Exist-open@...
https://lists.sourceforge.net/lists/listinfo/exist-open

 « Return to Thread: 2 000 000 documents in one xml file