Re: [basex-talk] Memory footprint for a certain query is much higher usisng BaseX10 compared to 9

2022-08-16 Thread Alexander Witzigmann
works wonderful - appr. same memory footprint as using 9.x release and 
similar and fast response time ...

thanks
alex

Am 12.08.2022 um 20:28 schrieb Christian Grün:
…and I’m looking forward to your feedback on the latest snapshot [1]. 
Best, Christian [1] https: //files. basex. org/releases/latest/ ‍ ‍ ‍ 
‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ 
‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ 
‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍ ‍


…and I’m looking forward to your feedback on the latest snapshot [1].

Best,
Christian

[1] https://files.basex.org/releases/latest/




Re: [basex-talk] Memory footprint for a certain query is much higher usisng BaseX10 compared to 9

2022-08-12 Thread Christian Grün
…and I’m looking forward to your feedback on the latest snapshot [1].

Best,
Christian

[1] https://files.basex.org/releases/latest/


Re: [basex-talk] Memory footprint for a certain query is much higher usisng BaseX10 compared to 9

2022-08-12 Thread Christian Grün
I managed to get this reproduced [1]. A first JMC analysis indicates
this seems to be related to the revised data structures for
main-memory updates [2]. A small overhead would be expectable and
acceptable, but definitely not on this scale. Thanks for the
observation.

[1] https://github.com/BaseXdb/basex/issues/2134
[2] https://docs.basex.org/wiki/BaseX_10#Main-Memory_Updates


Re: [basex-talk] Memory footprint for a certain query is much higher usisng BaseX10 compared to 9

2022-08-12 Thread Alexander Witzigmann
Ah I see -for the create db part I missed the list of element names. Stored in 
variable $enames 
One of them is the referenced one and the rest are any name 5-15 chars long. 
There are round about 30 elements / I assume the real name doesn’t make a 
difference… each of them are unique in the list of enames. but I can send you 
those next week 
The created db using the same characteristic and volume than real world data 
and reproducing the issue at least on my test client

Alex

> Am 12.08.2022 um 18:01 schrieb Christian Grün :
> 
> 
> Diese Nachricht stammt von einem nicht vertrauenswürdigen Absender
> Sie haben bisher nicht mit diesem Absender korrespondiert.
> Hi Alex,
> 
> > declare variable $input := {for $idx in (1 to
> > 1) return {for $e in $enames return element {$e} { attribute
> > {"content"} {$idx;
> > db:create("test-db",$input,"test.xml")
> 
> Looking at the subsequent query, I assume there must be additional
> "Objektkurztext" elements. Do you have a query for us that we can run
> out of the box?
> 
> Thanks in advance,
> Christian


Re: [basex-talk] Memory footprint for a certain query is much higher usisng BaseX10 compared to 9

2022-08-12 Thread Christian Grün
Hi Alex,

> declare variable $input := {for $idx in (1 to
> 1) return {for $e in $enames return element {$e} { attribute
> {"content"} {$idx;
> db:create("test-db",$input,"test.xml")

Looking at the subsequent query, I assume there must be additional
"Objektkurztext" elements. Do you have a query for us that we can run
out of the box?

Thanks in advance,
Christian