Hello.
We use client/server architecture, especially the C# client. I read that:
* Read transactions are executed in parallel.
* If an updating transaction comes in, it will be queued and executed
after all previous read transaction have been executed.
We have a web Front-End built on BaseX. We read XML documents stored in the
database, and show charts with statistics calculated from those documents.
Few times per day, we copy a new document to the database (via REPLACE
command to make sure, the document is not stored in the database already).
The problem we are facing is that while big document is being stored to the
database (10 to 20 minutes), we cannot read documents from the database and
display charts for users on the web interface. The web interface is waiting
until the document is stored, and then read the the needed documents, and
display the charts. It is very inconvenient for users to wait so long for a
chart that is normally displayed in few seconds.
Is there a way we could read the xml documents from the database while
another document is being stored to the database? It is very, very needed.
Best regards,
Radim Havlicek