Rép: Re: Rép: Re: Slow XQueries on a quite small database but great number of docs
Tuesday, 2 February 2016 · 2 messages
A
ansel.jm2 Feb 2016 22:40 #
Hi
I don't know why but the problem is present even with the basex simple client (not client/server ). It seems java (tried many versions) doesn't execute normally : display or computation is halting, jolting.... The result of the query is quite fast but the display of the result very very halting. I'm on a readynas server running on an ARM processor. I think the io library of java (buffered io or something like that) has a problem. I'm very disappointed because that database seems very well adapted for my project...
Jm
Quoted text · 39 lines
Christian Grün <christian.gruen at gmail.com> a écrit : >> I can't run the GUI, I don't know why, I'm over a VPN and when I try the administrator login on the 1984 port, the GUI answers : access denied... >> >> I have tried basexclient -o output.xml : Same result, the query you know takes 11s... > >So I’m pretty sure it must be your connection, and not the query >processor of BaseX, that slows down the query. > >What about running the GUI locally? It’s not based on the >client/server architecture [1]. > >Christian > >[1] http://docs.basex.org/wiki/GUI > > > >> >> ----- Mail original ----- >> De: "Christian Grün" <christian.gruen at gmail.com> >> À: "Jean Marc Ansel" <ansel.jm at free.fr>, "BaseX" <basex-talk at mailman.uni-konstanz.de> >> Envoyé: Dimanche 31 Janvier 2016 17:49:00 >> Objet: Re: Rép: Re: [basex-talk] Slow XQueries on a quite small database but great number of docs >> >> Hi Jean Marc (cc to the list), >> >> What happens if you run the query in the GUI (how long does it take)? >> How much time is spent if you write the client output to a file >> (basexclient -o output.xml)? Which client do you use? >> >> >> >> >> On Sun, Jan 31, 2016 at 5:41 PM, <ansel.jm at free.fr> wrote: >>> Many many thanks for your quickness ! >>> Yes I optimized the database (OPTIMIZE ALL). I don't undestand where the pb is. >>> The query I ran is the one I have transmitted to you in the last mail. So there is a pb with the server I'm afraid. May be with java ? >> >>> When I try to execute the query from basexclient, I'have a immediate answer but a very very very slow display : lines are displayed in blocks of one or two screen terminals... There is a problem with the data exchange between the daemon and the client I think...
CG
Christian Grün2 Feb 2016 22:58 #
If you need more help, it would be great if you could provide us with a self-contained examole.
Quoted text · ansel.jm · 65 lines
Am 02.02.2016 10:40 nachm. schrieb "ansel.jm" <ansel.jm at free.fr>: > Hi > I don't know why but the problem is present even with the basex simple > client (not client/server ). > It seems java (tried many versions) doesn't execute normally : display or > computation is halting, jolting.... > The result of the query is quite fast but the display of the result very > very halting. > I'm on a readynas server running on an ARM processor. I think the io > library of java (buffered io or something like that) has a problem. > I'm very disappointed because that database seems very well adapted for my > project... > > Jm > > Christian Grün <christian.gruen at gmail.com> a écrit : > > >> I can't run the GUI, I don't know why, I'm over a VPN and when I try > the administrator login on the 1984 port, the GUI answers : access denied... > >> > >> I have tried basexclient -o output.xml : Same result, the query you > know takes 11s... > > > >So I’m pretty sure it must be your connection, and not the query > >processor of BaseX, that slows down the query. > > > >What about running the GUI locally? It’s not based on the > >client/server architecture [1]. > > > >Christian > > > >[1] http://docs.basex.org/wiki/GUI > > > > > > > >> > >> ----- Mail original ----- > >> De: "Christian Grün" <christian.gruen at gmail.com> > >> À: "Jean Marc Ansel" <ansel.jm at free.fr>, "BaseX" < > basex-talk at mailman.uni-konstanz.de> > >> Envoyé: Dimanche 31 Janvier 2016 17:49:00 > >> Objet: Re: Rép: Re: [basex-talk] Slow XQueries on a quite small > database but great number of docs > >> > >> Hi Jean Marc (cc to the list), > >> > >> What happens if you run the query in the GUI (how long does it take)? > >> How much time is spent if you write the client output to a file > >> (basexclient -o output.xml)? Which client do you use? > >> > >> > >> > >> > >> On Sun, Jan 31, 2016 at 5:41 PM, <ansel.jm at free.fr> wrote: > >>> Many many thanks for your quickness ! > >>> Yes I optimized the database (OPTIMIZE ALL). I don't undestand where > the pb is. > >>> The query I ran is the one I have transmitted to you in the last mail. > So there is a pb with the server I'm afraid. May be with java ? > >> > >>> When I try to execute the query from basexclient, I'have a immediate > answer but a very very very slow display : lines are displayed in blocks of > one or two screen terminals... There is a problem with the data exchange > between the daemon and the client I think... >
Written for BaseX 8.3. BaseX may have changed since: please check the current documentation.
⚡Generated with XQuery