4 Jun
2025
4 Jun
'25
2:25 p.m.
Good to know, thanks again! On Wed, Jun 4, 2025 at 7:27 AM Christian Grün <christian.gruen@gmail.com> wrote:
Thank you Ron and Christian for the suggestions! I’ll give both a try.
Will the map solution cause BaseX to hold every item from both databases in memory?
It’s just references to the database nodes. To learn more about the memory consumption of particular operations, you can attach a profile function call to map:merge and check out the output in the info view panel of the GUI (or see what the command line returns):
let $originalDB.map := map:merge( for $entry in $originalDB return map:entry($entry/@id, $entry) ) => prof:memory()
-- Matthew R. Dziuban mattdziuban.com 703-973-6717 mrdziuban@gmail.com