On Wed, 2019-12-18 at 11:10 +0530, Sreenivasulu Yadavalli wrote:
What exactly do you mean by moving collections around?.
A: moving the collections in the same system.
So, you use the Linux "mv" command to do this? Or what?
What exactly do you mean by collections? I for one would find it easier if you would stop talking in riddles, as my telepathy skills are weak.
And every day we have to update the existing collection with call data. So finding the collection is taking more time
How do you look for the collection? Isn't it a separate BaseX database?
Are you taking a database with 100 million documents and renaming 50,000 of them?
What operations exactly are slow?
A: finding the existing collection.
find / -name collection.db ?
This is a little frustrating in that you are asking for people's help but not explaining the problem. Are you saying that fn:collection() is slow in BaseX? What arguments are you passing it exactly? What is the size, in gigabytes, of the database, on disk? How many documents are in it?
Can you give step-by-step EXACT AND PRECISSE instructions so someone else could reproduce the problem you have having? Complete and exact instructions, with sample files if needed, so they can reproduce the problem on their own computer?
A database with 80,000 files is easy to "find" here, and opens quickly, in a small fraction of a second. It doesn't take hours.
Is something else running on your computer that makes it slow??
Note: please remember to copy the list in your replies, as the BaseX people are far more knowledgeable about BaseX than i am :) My goal as an analyst is to get you to explain the problem you are having clearly enough that you can get an answer :)
Liam
basex-talk@mailman.uni-konstanz.de