Hi Vaibhav,
I have a requirement to build XML repository where I will store millions of XML documents (size may vary) based on some unique Ids (one level path like
- \10). For another operation, I need to compare the incoming XML document
with the stored XML document for any changes.
One popular way to do this is to have two databases, which are merged on a regular basis. The first one contains old documents, which are well-indexed and can be quickly searched. The second, incremental one contains the daily or weekly updates. With XQuery, you can access both databases in a single query and merge all results of a search request,
Hope this helps, Christian