BaseX-Talk Digest, Vol 62, Issue 31

Monday, 16 February 2015 · 10 messages · last reply 23 Feb 2015
JS
Jothivel S16 Feb 2015 08:12 #
Hi, I am new to BaseX and using version of 7.6 and I don't know where to post my questions. I have two questions as follows 1. When a database is created under the folder BaseXData, there were 9 files exist. Could you please share the details of eash file in the database. 2. Also, when I replace the content(same) in the database instead of droping and recreating, the database size is getting increased. Could you please explain why this is happened even the same data were replaced. 3. Is there any way to avoid the item #2 with using replace option(not recreating) Thanks,Jothivel
Quoted text · basex-talk-request at mailman.uni-konstanz.de · 1 line
On Saturday, 14 February 2015 4:30 PM, "basex-talk-request at mailman.uni-konstanz.de" <basex-talk-request at mailman.uni-konstanz.de> wrote:
Send BaseX-Talk mailing list submissions to basex-talk at mailman.uni-konstanz.de To subscribe or unsubscribe via the World Wide Web, visit https://mailman.uni-konstanz.de/mailman/listinfo/basex-talk or, via email, send a message with subject or body 'help' to basex-talk-request at mailman.uni-konstanz.de You can reach the person managing the list at basex-talk-owner at mailman.uni-konstanz.de When replying, please edit your Subject line so it is more specific than "Re: Contents of BaseX-Talk digest..." Today's Topics: 1. Re: BaseX in maven (Marc van Grootel) ---------------------------------------------------------------------- Message: 1 Date: Fri, 13 Feb 2015 22:27:13 +0100
Quoted text · Marc van Grootel · 37 lines
From: Marc van Grootel <marc.van.grootel at gmail.com> To: BaseX <basex-talk at mailman.uni-konstanz.de> Subject: Re: [basex-talk] BaseX in maven Message-ID: <CA+bQNCv4MiNqG5m7iFN65bMU2gQO+15pqWW10KwZuHhggNzejQ at mail.gmail.com> Content-Type: text/plain; charset=UTF-8 Hi, I've created a simple starter build script for BaseX 8.0 with Gradle and Saxon 9.6. See https://github.com/xokomola/basex-gradle-starter Not a full-fledged build script yet but does illustrate how to set things up. Just follow the one-step installation instruction and you should be good to go ;-) Feedback welcome. Cheers, --Marc On Sun, Jan 18, 2015 at 10:29 PM, Wendell Piez <wapiez at wendellpiez.com> wrote: > BaseX friends, > > If I run BaseX from Maven, do I always get to use the latest BaseX? > > Do I have to do anything special to set up BaseX in Maven to use > SaxonHE instead of Xalan for xslt:transform()? (I have Saxon9he.jar in > my BaseX lib.) > > Thanks! Wendell > > > -- > Wendell Piez | http://www.wendellpiez.com > XML | XSLT | electronic publishing > Eat Your Vegetables > _____oo_________o_o___ooooo____ooooooo_^ -- --Marc End of BaseX-Talk Digest, Vol 62, Issue 31 ******************************************
CG
Christian Grün16 Feb 2015 12:29 #
Hi Jothivel, Welcome to our list!
Quoted text · Jothivel S · 1 line
> 1. When a database is created under the folder BaseXData, there were 9
files exist. Could you please share the details of eash file in the database. Just have a look into our documentation [1]. [1] http://docs.basex.org/wiki/Storage_Layout
Quoted text · Jothivel S · 1 line
> 2. Also, when I replace the content(same) in the database instead of
droping and recreating, the database size is getting increased. Could you please explain why this is happened even the same data were replaced. The behavior you describe does not happen anymore with Version 8.0, so, if possible, just use our latest release. Hope this helps, Christian
Quoted text · Jothivel S · 1 line
> 3. Is there any way to avoid the item #2 with using replace option(not
recreating)
Quoted text · Jothivel S · 3 lines
> > Thanks, > Jothivel
JS
Jothivel S17 Feb 2015 08:47 #
Many thanks Christian, One more thing, will version 8.0 require latest version of java i.e., java 1.7 and could you please tell me what kind of issue I might get face while migrating from 7.6 to 8 regarding query execution. Thanks,Jothivel
Quoted text · Christian Grün · 1 line
On Monday, 16 February 2015 4:59 PM, Christian Grün <christian.gruen at gmail.com> wrote:
Hi Jothivel,Welcome to our list!> 1. When a database is created under the folder BaseXData, there were 9 files exist. Could you please share the details of eash file in the database.Just have a look into our documentation [1].[1] http://docs.basex.org/wiki/Storage_Layout> 2. Also, when I replace the content(same) in the database instead of droping and recreating, the database size is getting increased. Could you please explain why this is happened even the same data were replaced.The behavior you describe does not happen anymore with Version 8.0, so, if possible, just use our latest release.Hope this helps, Christian
Quoted text · Christian Grün · 4 lines
> 3. Is there any way to avoid the item #2 with using replace option(not recreating) > > Thanks, > Jothivel
CG
Christian Grün17 Feb 2015 08:53 #
Hi Jothivel,
Quoted text · Jothivel S · 1 line
> One more thing, will version 8.0 require latest version of java i.e.,
java 1.7
Yes, it does.
Quoted text · Jothivel S · 1 line
> and could you please tell me what kind of issue I might get face while
migrating from 7.6 to 8 regarding query execution. I know too less about the BaseX features you have been using so far. As BaseX is easy to install, maybe just try and see (or browse our documentation, it contains histories of all important changes). Best Christian
Quoted text · Jothivel S · 11 lines
> Thanks, > Jothivel > > > On Monday, 16 February 2015 4:59 PM, Christian Grün < christian.gruen at gmail.com> wrote: > > > Hi Jothivel, > Welcome to our list! > > 1. When a database is created under the folder BaseXData, there were 9
files exist. Could you please share the details of eash file in the database.
Quoted text · Jothivel S · 3 lines
> Just have a look into our documentation [1]. > [1] http://docs.basex.org/wiki/Storage_Layout > > 2. Also, when I replace the content(same) in the database instead of
droping and recreating, the database size is getting increased. Could you please explain why this is happened even the same data were replaced.
Quoted text · Jothivel S · 1 line
> The behavior you describe does not happen anymore with Version 8.0, so,
if possible, just use our latest release.
Quoted text · Jothivel S · 5 lines
> Hope this helps, > Christian > > > > 3. Is there any way to avoid the item #2 with using replace option(not
recreating)
Quoted text · Jothivel S · 5 lines
> > > > Thanks, > > Jothivel > >
JS
Jothivel S20 Feb 2015 16:32 #
Hi Christian, I just query the root element like "/root" from the xml(database). When I was getting the out of memory, the thread did hold more than ~200MB in size. but actual xml size is ~1.2 MB. And that 200MB file have some encrypted data like "&#x0E;&#x0F;òª©&#x0B;" and the same code got repeated many times(probably this would cause the 200 MB). Is there any issue with it? Also I am using the same context for read and write. That is single context is used for read and write operation parallely and read and write operation for the same database is synchronized. please let me know if you need more information in this regard. Thanks,Jothivel
Quoted text · Christian Grün · 1 line
On Friday, 20 February 2015 6:58 PM, Christian Grün <christian.gruen at gmail.com> wrote:
Hi Jothivel,
Quoted text · Christian Grün · 1 line
> I am getting out of memory error when i do the execute query operation.
Sorry, I need more information on your particular query. Unfortunately, we cannot provide free support for older versions. What happens with Version 8.0?
Quoted text · Christian Grün · 2 lines
> 2. without migrating the basex 7.6 to 8.0, is it possible to avoid the > increase of size.
Yes, as I said in my previous mail, we have worked on that in the meanwhile. Hope this helps, Christian PS: Please always write to the basex-talk mailing list; this way, others can benefit from the feedback as well.
CG
Christian Grün20 Feb 2015 17:21 #
Dear Jothivel,
Quoted text · Jothivel S · 1 line
> please let me know if you need more information in this regard.
Sure… Just read my previous e-mail again ;) Thanks, Christian
Quoted text · Jothivel S · 28 lines
> On Friday, 20 February 2015 6:58 PM, Christian Grün > <christian.gruen at gmail.com> wrote: > > > Hi Jothivel, > >> I am getting out of memory error when i do the execute query operation. > > Sorry, I need more information on your particular query. > > Unfortunately, we cannot provide free support for older versions. What > happens with Version 8.0? > >> 2. without migrating the basex 7.6 to 8.0, is it possible to avoid the >> increase of size. > > Yes, as I said in my previous mail, we have worked on that in the meanwhile. > > > Hope this helps, > Christian > > > PS: Please always write to the basex-talk mailing list; this way, > others can benefit from the feedback as well. > > >
JS
Jothivel S23 Feb 2015 09:04 #
Hi Christian, Latest version of Basex requires java 1.7 I think. But I am using java 1.6. Hence I am using 7.6. I have seen a post(http://comments.gmane.org/gmane.text.xml.basex.talk/847)related to this out of memory. But I couldn't get any information from there. When I execute the query "/device" root element, some of contents are getting added repeatedly and cause out of memory issue. sample content: "&#x05;FALSE&#x0E;&#x0F;òª©&#x0B;7&amp;&#x92;M&#x0E;&#x07;*&#x0D;ge-0/1/0.3349+#ICEAAA#DEU.DTAG.DALA013P10353500LN341#3001&#x03;ACI&#x0E;ge-0/1/0:131-7 &#x0B;òª©&#x0B;7&amp;&#x92;&#x01;&#x0D;ge-0/1/0.3350&#x0C;&#x0F;R­&#x15;žyõ»ž1I&#x1D;jnpr demux0.1073891403:448376&#x0B;NAS-Port" Please let me know how to solve this case. Whether this out of memory was caused by increase of disk space while updating everytime in the database or something else. ThanksJothivel
Quoted text · Christian Grün · 1 line
On Friday, 20 February 2015 9:51 PM, Christian Grün <christian.gruen at gmail.com> wrote:
Dear Jothivel,
Quoted text · Christian Grün · 1 line
> please let me know if you need more information in this regard.
Sure… Just read my previous e-mail again ;) Thanks, Christian
Quoted text · Christian Grün · 28 lines
> On Friday, 20 February 2015 6:58 PM, Christian Grün > <christian.gruen at gmail.com> wrote: > > > Hi Jothivel, > >> I am getting out of memory error when i do the execute query operation. > > Sorry, I need more information on your particular query. > > Unfortunately, we cannot provide free support for older versions. What > happens with Version 8.0? > >> 2. without migrating the basex 7.6 to 8.0, is it possible to avoid the >> increase of size. > > Yes, as I said in my previous mail, we have worked on that in the meanwhile. > > > Hope this helps, > Christian > > > PS: Please always write to the basex-talk mailing list; this way, > others can benefit from the feedback as well. > > >
JS
Jothivel S23 Feb 2015 09:22 #
Also, I didn't configure any other properties and using default configuration like UPDINDEX is false(default configuration) Whether this would cause? ThanksJothivel
Quoted text · Jothivel S · 1 line
On Monday, 23 February 2015 1:34 PM, Jothivel S <jothivels at ymail.com> wrote:
Hi Christian, Latest version of Basex requires java 1.7 I think. But I am using java 1.6. Hence I am using 7.6. I have seen a post(http://comments.gmane.org/gmane.text.xml.basex.talk/847)related to this out of memory. But I couldn't get any information from there. When I execute the query "/device" root element, some of contents are getting added repeatedly and cause out of memory issue. sample content: "&#x05;FALSE&#x0E;&#x0F;òª©&#x0B;7&amp;&#x92;M&#x0E;&#x07;*&#x0D;ge-0/1/0.3349+#ICEAAA#DEU.DTAG.DALA013P10353500LN341#3001&#x03;ACI&#x0E;ge-0/1/0:131-7 &#x0B;òª©&#x0B;7&amp;&#x92;&#x01;&#x0D;ge-0/1/0.3350&#x0C;&#x0F;R­&#x15;žyõ»ž1I&#x1D;jnpr demux0.1073891403:448376&#x0B;NAS-Port" Please let me know how to solve this case. Whether this out of memory was caused by increase of disk space while updating everytime in the database or something else. ThanksJothivel
Quoted text · Christian Grün · 1 line
On Friday, 20 February 2015 9:51 PM, Christian Grün <christian.gruen at gmail.com> wrote:
Dear Jothivel,
Quoted text · Jothivel S · 1 line
> please let me know if you need more information in this regard.
Sure… Just read my previous e-mail again ;) Thanks, Christian
Quoted text · Jothivel S · 28 lines
> On Friday, 20 February 2015 6:58 PM, Christian Grün > <christian.gruen at gmail.com> wrote: > > > Hi Jothivel, > >> I am getting out of memory error when i do the execute query operation. > > Sorry, I need more information on your particular query. > > Unfortunately, we cannot provide free support for older versions. What > happens with Version 8.0? > >> 2. without migrating the basex 7.6 to 8.0, is it possible to avoid the >> increase of size. > > Yes, as I said in my previous mail, we have worked on that in the meanwhile. > > > Hope this helps, > Christian > > > PS: Please always write to the basex-talk mailing list; this way, > others can benefit from the feedback as well. > > >
CG
Christian Grünin reply to Jothivel S, 23 Feb 2015, 09:0423 Feb 2015 14:35 #
Hi Jothivel, Sorry for repeating myself: We cannot give free support for old versions of BaseX (we simply don't have the resources for it). Please try at least Version 7.9, which still works with Java 6, and see if you can reproduce the issue. If yes, please provide us with a little test case, which allows us to do what you did. As an alternative, feel free to ask for commercial support. Thanks, Christian
Quoted text · Jothivel S · 66 lines
> > When I execute the query "/device" root element, some of contents are > getting added repeatedly and cause out of memory issue. > > sample content: > > "&#x05;FALSE&#x0E;&#x0F;òª©&#x0B;7&amp;&#x92;M&#x0E;&#x07;*&#x0D;ge-0/1/0.3349+#ICEAAA#DEU.DTAG.DALA013P10353500LN341#3001&#x03;ACI&#x0E;ge-0/1/0:131-7 > &#x0B;òª©&#x0B;7&amp;&#x92;&#x01;&#x0D;ge-0/1/0.3350&#x0C;&#x0F;R­&#x15;žyõ»ž1I&#x1D;jnpr > demux0.1073891403:448376&#x0B;NAS-Port" > > Please let me know how to solve this case. Whether this out of memory was > caused by increase of disk space while updating everytime in the database or > something else. > > Thanks > Jothivel > > > > > On Friday, 20 February 2015 9:51 PM, Christian Grün > <christian.gruen at gmail.com> wrote: > > > Dear Jothivel, > >> please let me know if you need more information in this regard. > > Sure… Just read my previous e-mail again ;) > > Thanks, > > Christian > > >> On Friday, 20 February 2015 6:58 PM, Christian Grün >> <christian.gruen at gmail.com> wrote: >> >> >> Hi Jothivel, >> >>> I am getting out of memory error when i do the execute query operation. >> >> Sorry, I need more information on your particular query. >> >> Unfortunately, we cannot provide free support for older versions. What >> happens with Version 8.0? >> >>> 2. without migrating the basex 7.6 to 8.0, is it possible to avoid the >>> increase of size. >> >> Yes, as I said in my previous mail, we have worked on that in the >> meanwhile. >> >> >> Hope this helps, >> Christian >> >> >> PS: Please always write to the basex-talk mailing list; this way, >> others can benefit from the feedback as well. >> >> >> > >
JS
Jothivel S23 Feb 2015 14:51 #
Thanks Christian, I will try myself and get back to you if I have any questions. Thanks,Jothivel
Quoted text · Christian Grün · 1 line
On Monday, 23 February 2015 7:05 PM, Christian Grün <christian.gruen at gmail.com> wrote:
Hi Jothivel, Sorry for repeating myself: We cannot give free support for old versions of BaseX (we simply don't have the resources for it). Please try at least Version 7.9, which still works with Java 6, and see if you can reproduce the issue. If yes, please provide us with a little test case, which allows us to do what you did. As an alternative, feel free to ask for commercial support. Thanks, Christian
Quoted text · Christian Grün · 66 lines
> > When I execute the query "/device" root element, some of contents are > getting added repeatedly and cause out of memory issue. > > sample content: > > "&#x05;FALSE&#x0E;&#x0F;òª©&#x0B;7&amp;&#x92;M&#x0E;&#x07;*&#x0D;ge-0/1/0.3349+#ICEAAA#DEU.DTAG.DALA013P10353500LN341#3001&#x03;ACI&#x0E;ge-0/1/0:131-7 > &#x0B;òª©&#x0B;7&amp;&#x92;&#x01;&#x0D;ge-0/1/0.3350&#x0C;&#x0F;R­&#x15;žyõ»ž1I&#x1D;jnpr > demux0.1073891403:448376&#x0B;NAS-Port" > > Please let me know how to solve this case. Whether this out of memory was > caused by increase of disk space while updating everytime in the database or > something else. > > Thanks > Jothivel > > > > > On Friday, 20 February 2015 9:51 PM, Christian Grün > <christian.gruen at gmail.com> wrote: > > > Dear Jothivel, > >> please let me know if you need more information in this regard. > > Sure… Just read my previous e-mail again ;) > > Thanks, > > Christian > > >> On Friday, 20 February 2015 6:58 PM, Christian Grün >> <christian.gruen at gmail.com> wrote: >> >> >> Hi Jothivel, >> >>> I am getting out of memory error when i do the execute query operation. >> >> Sorry, I need more information on your particular query. >> >> Unfortunately, we cannot provide free support for older versions. What >> happens with Version 8.0? >> >>> 2. without migrating the basex 7.6 to 8.0, is it possible to avoid the >>> increase of size. >> >> Yes, as I said in my previous mail, we have worked on that in the >> meanwhile. >> >> >> Hope this helps, >> Christian >> >> >> PS: Please always write to the basex-talk mailing list; this way, >> others can benefit from the feedback as well. >> >> >> > >

⚡Generated with XQuery