Hi,
I used

db:node-pre(db:text("db", "ae4b577bd9f578556cd")//../..)

delete node db:open-pre("db",333)

to immensely speed the basex access. Thanks for helping me with how to get
a db:node form basex.

I have one more question. I am using FreeBSD to host BaseX and it is stable
so for in the testing. Are there any known problems of openjdk8 on FreeBSD
and baseX. I could not find any issues so far with basex. But I read
somewhere that openjdk8 on FreeBSD dumps core some time. I think it is for
specific applications only not for baseX. Just a architectural suggestion
on picking the best OS to host baseX.

Please let me know when you have some time,

( BaseX works excellent on Windows, CentOS and FreeBSD and produced same
results in all of them. But on windows the disk was close to 100% in
windows while running my application, centos and FreeBSD has no problems. )

Thanks,
Regards
Martin Lourduswamy








On Thu, Jun 14, 2018 at 2:36 PM, Christian GrĂ¼n <[email protected]>
wrote:

> Hi Martin,
>
> The behavior of BaseX is similar on Windows and Linux.
>
> I would guess you started the application from different directories?
> With file:current-dir(), you get your current working directory [1].
> file:base-dir() points you to the directory in which your XQuery file
> is stored.
>
> Best,
> Christian
>
> [1] http://docs.basex.org/wiki/File_Module#file:current-dir
>
>
> On Thu, Jun 14, 2018 at 2:35 PM Martin Lourduswamy
> <[email protected]> wrote:
> >
> > Hi,
> > I have a query that creates DB
> >
> > db:create("database", "db.xml")
> >
> > I have put the db.xml in the bin dir.
> >
> > This works for unix/Linux, but on windows I need to specifically give
> bin dir lke
> >
> > db:create("database", "bin/db.xml")
> > Otherwise it does not work.
> >
> > I do not want to hard code path in the script. Is there a general way to
> specify the path,
> > Thanks,
> > Regards
> > Martin Lourduswamy
>

Reply via email to