[basex-talk] Performance (index?) on large intermediate structures

2018-08-29 Thread Sebastian Albert
Dear BaseX community I am currently working with BaseX to write a rather long XQuery statement with quite large intermediate structures (XML documents / fragments) bound to variables (in FLWOR expressions), which I query by XPath using attributes etc. further down. Having nested loops, this is

Re: [basex-talk] Performance (index?) on large intermediate structures

2018-08-29 Thread Christian Grün
Dear Sebastian, In fact XQuery maps are very fast, and they are a great data structure for speeding up repeated lookups if you encounter cases in which this is not done automatically by the optimizer. If you manage to send us a little example query that demonstrates the pattern you are working

Re: [basex-talk] rest parallel

2018-08-29 Thread Ветошкин Владимир
Hi! Why are there max 7 jobs in the job list?I have tried changing PARALLEL parameter - no effect. 25.08.2018, 22:39, "Ветошкин Владимир" :That seems to be the case.Thanks. 25.08.2018, 22:18, "Christian Grün" :I see. So this must be an issue with Chrome (and, possibly,

Re: [basex-talk] rest parallel

2018-08-29 Thread Christian Grün
There can be much more jobs in the list, so once again I guess it’s related to your testing environment. Feel free to give us more details. On Wed, Aug 29, 2018 at 9:20 AM Ветошкин Владимир wrote: > > Hi! > > Why are there max 7 jobs in the job list? > I have tried changing PARALLEL parameter -

Re: [basex-talk] rest parallel

2018-08-29 Thread Ветошкин Владимир
Oh, it's browser =)  Max Number of default simultaneous persistent connections per server/proxy: Firefox 2: 2Firefox 3+: 6Opera 9.26: 4Opera 12: 6Safari 3: 4Safari 5: 6IE 7: 2IE 8: 6IE 10: 8IE 11: 12Chrome: 6  29.08.2018, 11:18, "Christian Grün" :There can be much more jobs in the list, so once

Re: [basex-talk] ThreadLocal error in Tomcat

2018-08-29 Thread Christian Grün
Hi Simon, I tried to make the ThreadLocal cleanups more explicit in our code. Thread-specific caches should now be invalidated after query evaluation, even if a servlet request may reside in a thread pool (which may be the case in Tomcat). It would be marvellous if you could test the latest

[basex-talk] DB connection between classes

2018-08-29 Thread Karina C. Malavazi
Hello, I'm new on Java programming and also on nonSQL database... hope you can give me some support. I have a group of testcases where every time that a test is executed the database has to be connected again, which lets my tests very slow. Example: public class AllTests { .

Re: [basex-talk] BaseX insert/delete node performance

2018-08-29 Thread BIRKNER Michael
Hi, I made a lot of tests now and the inserts are much faster. I found out that the database was not optimized. When I optimize the DB before calling the inserts or deletes, they execute very fast. But I have another problem now when I optimize the DB in Java code. I try to insert the new