Re: [basex-talk] Performance and heavy load

2015-07-28 Thread Fabrice Etanchaud
An another idea : If you never replace a file, You may expect better performance setting up a REST-XQ function simply calling db:add. The documentation explicitly mentions that the REST PUT test for the existence of the file, that is time consuming. Best regards, Fabrice -Message

Re: [basex-talk] Performance and heavy load

2015-07-28 Thread Maximilian Gärber
Hi Martin, how do you spread the log files? All into one db or do you create new dbs? If you keep on adding all files to the same database, the add times will slow down over time. Please keep in mind that you can query multiple databases at once, so I would rather have more databases. With 8.3

Re: [basex-talk] Performance and heavy load

2015-07-28 Thread Fabrice Etanchaud
Dear Martin, Which version are you using ? With 8.2.3, I can put 10 000 simple xml files via the rest interface in 120 secs (with 10 parallel requests), Without any error message. Maybe PARALLEL=1 could help you. Are you sure you database is not meanwhile opened directly by another process

Re: [basex-talk] Unknown error - BXCE001

2015-07-28 Thread Christian Grün
Hi Gabriel, This seems to be an exception raised by Charles Foster's XQJ driver. What happens if you run the same query with BaseX on command-line or in the GUI? Which output on stdout/stderr do you get by activating the BaseX debug mode?... XQConnection xqc = ...; XQExpression xqe =

Re: [basex-talk] Getting More Diagnostic Info From DBA Query Runner?

2015-07-28 Thread Eliot Kimber
I looked at the Javascript for this but my feeble Javascript skills were insufficient to adjust this in the small amount of time I had to work on it. I'll try to look at it again when I can. Cheers, Eliot Eliot Kimber, Owner Contrext, LLC http://contrext.com On 7/20/15, 10:53 AM,

[basex-talk] BaseX Package and Jetty

2015-07-28 Thread Eckey, Florian
Hi guys, i have a problem with the basex package mechanism. I tried to install a self implemented xar file including java classes. In version 7 it works well, but in version 8.2.1 it doesn't. The xar can be found on: https://drive.google.com/open?id=0Bw303eobkYo6a2kxVUExVlFQZ3M. The java

Re: [basex-talk] Performance and heavy load

2015-07-28 Thread Martín Ferrari
Hi Christian,We're using 7.9 on Linux. But I think there's something wrong with the VMs, as on my laptop BaseX runs really fast. We'll upgrade to latest, and hopefully I'll figure out why the VMs are so slow. I panicked a bit since I don't know much about BaseX, but it looks it could

Re: [basex-talk] Performance and heavy load

2015-07-28 Thread Martín Ferrari
Thanks so much Fabrice.There's something wrong on the production and test servers. I've downloaded the latest version of BaseX on my laptop and got 1 files stored in 84 secs using 10 threads, while in the servers it takes several minutes to store just 2600 files. I'll dig more into this

Re: [basex-talk] Error [FODC0002] when XSL returns sequence

2015-07-28 Thread Christian Grün
Hi Max, Right, the xslt:transform expects the result to be a single, well-formed XML document. However, you can retrieve the transformation result as text and then apply fn:parse-xml-fragment on it: fn:parse-xml-fragment( xslt:transform-text($DATA, $XSL) ) Hope this helps, Christian

Re: [basex-talk] Custom URI resolver

2015-07-28 Thread Christian Grün
Hi Max, Sorry for letting you wait. Thus my question is: How can I register a central URI resolver to be used by both XSLT and XQuery? There is currently no way to do so, mostly because BaseX and Saxon are simply too different to get this working. I've read

Re: [basex-talk] RESTXQ: wrong doctype with xhtml method

2015-07-28 Thread Christian Grün
Hi Max, when using 'xhtml' output method, the doctype always matches the name of the root element (instead of 'html'). Does not happen with 'html' output method. It may come as a surprise (and I cannot give an explanation for that), but the current behavior is in compliance with the