Hi Juan,
Welcome to the list and sorry for the late reply.
- open db
- replace (xml id path, inputstream)
Some suggestions:
1. If you can use ADD instead of REPLACE, you can usually safe a lot of time.
2. If you need to replace docs, it may depend on what the "xml id path" is:
a) If it’s an attribute in the document, you may need to enable the updatable index (e.g. via the GUI, DBA, or the UPDINDEX option).
b) If it’s the database path, you could try to disable AUTOFLUSH, or provide us with more information on what you do exactly.
Best, Christian