Hi  Ivan, Im sorry Ive took so long for an answer.
I've studied a little bit more about xqueries and some docs you've suggested
and I've found the problem. The script was building a huge doc in memory to
be posted in sedna in the end. It wasnt the best approach to have this work
done.

Thanks for the tips anyway,

A.

On Wed, May 4, 2011 at 12:51 PM, Ivan Shcheklein <[email protected]>wrote:

> Hi Adolfho,
>
>
> Is possible to modify tmp-file-max-size of a database?
>>
>
> No, you can't change it without recreating the database. Either you use
> default value (0 - infinite) or some specified value for the database
> lifetime.
>
>
>> When is tmp-file used?
>>
>
> It's used to store any intermediate and temporary data during the query
> execution. Examples include: external sorting (e.g. XQuery order by
> implementation), temporary nodes (XQuery constructors).
>
>
>> Is there any documentation explaing how the internals work?
>>
>
> Sure. See http://modis.ispras.ru/sedna/documentation.html, sedna internals
> part. There are also some papers available:
> http://modis.ispras.ru/publications/ .
>
>
>> Is there any documentation about tunning xqueries for sedna?
>>
>
> No. Some instructions you can find within this mail list (try to search for
> "performance" keyword). Most general XQuery performance optimizations work
> for Sedna either (e.g.
> http://redstack.wordpress.com/2011/01/11/improving-xquery-performance/).
> One of the most importnant Sedna-specific optimization is to use indexes
> wherever it's possible:
> http://modis.ispras.ru/sedna/progguide/ProgGuidesu8.html#x14-540002.5.3 ,
> http://modis.ispras.ru/sedna/progguide/ProgGuidesu5.html#x9-310002.2.2 .
>
>
>> Im querying some data agains a 2G database and the temp file is increasing
>> more than 500Mg and I had set 500mg for its limit. I thought tmp file wasnt
>> used in sequencial readings. Is it?
>>
>
> Please, share your query so that it'll be possible to determine why Sedna
> uses temp file.
>
>
> Ivan Shcheklein,
> Sedna Team
>
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Sedna-discussion mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sedna-discussion

Reply via email to