Vadim Gritsenko schrieb:
Wolfram Horwath wrote:
Hi!
Maybe my observation regarding performance can be of interest...
I am currently working on a project for my studies, where the
documents I work on are stored in a XML-database, which is Xindice.
The task I was recently working on was converting the documents
stored in the DB to another XML-format, which is done using Java
(yes, I was trying XSLT but came to the decision that XSLT could not
do this transformation).
In DB I have 100 documents, each about 2,6K of size. I found that the
conversion was rather slow and tried to improve performance. I was
reducing open/close of a Collection, and reducing database-queries by
caching often needed results. As it was still slow, I thought it
would be writing files to disk.
I then remembered the hint of someone to have a look at eXist and,
both using XML:DB, switched database for testing purposes. What I
found was neat was the way I could access the results of a query with
eXist, but then came the drawback: while the conversion using Xindice
took about 140s, eXist needed about 20s, which I find puzzling, as
the documents are really small in size.
This are just my observations, any comments?
Unit tests in Xindice inserting 10000 documents, and then reading them
all in just several seconds, which is fast enough for me.
So, what could be the problem responsible for it being so slow in my task?
Wolfram