Hi Mansi,
Is there some book/resource you can point me to, which helps better visualize NXD ?
sorry for letting you wait. If you want to know more about native XML databases, I recommend you to have a closer look at various articles in our Wiki (e. g. [1,2]). It will also be helpful if you get into the basics of XQuery [3].
Have you tried to realize some of the hints I gave in my previous mails?
I am trying to distribute data across multiple databases. I can't distribute based on day, as there could very well be situation, where single day's data could more than capacity of BaseX DB.
If 2 billion XML nodes per day are not enough, you will probably need to create more than one database per day. Via the "info db" command, you see how many nodes are currently stored in a database, but there is no cheap solution to find out the number of nodes of an incoming document, because XML documents can be very heterogeneous. Some questions back:
* Do you have some more information on the data you want to store? * Are all documents similar or do they vary greatly? If the documents are somewhat similar, you can usually estimate the number of nodes by looking at the byte size. * Do you know that you will really need to store lots of terabytes of XML data, or it is more like a theoretical assumption?
Christian
[1] http://docs.basex.org/wiki/Database [2] http://docs.basex.org/wiki/Table_of_Contents [3] http://docs.basex.org/wiki/Xquery