Hi Andrey,


> 1) What may be wrong?



   - Is it possible to change structure of your documents? For example, why
   do you need "c" elements. It would be easier to optimize your query if we
   had something like this:

<item>
<a>date</a>
<b>t1</b>
... etc ...
</item>

   - How many are there items in collections "samples" and "myChild"?


   - How many are there items in collection "myChild" which have c...@name eq
   "a"] eq "some-value-from-collection-samples", c...@name eq "b"] eq
   "some-value-from-collection-samples", c...@name eq "c"] eq
   "some-value-from-collection-samples"?


   - Use value comparison (eq) instead of general one (=). See for details:
   http://www.w3.org/TR/xquery/#id-comparisons.


3) Is it possible to force Sedna to use free memory (RAM) as much as
> possible?
>

Yep. Tune SM's (se_sm) "-bufs-num" option. For example, "se_sm -bufs-num
16000 db" starts db with 1Gb buffers.


Ivan Shcheklein,
Sedna Team
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to