From: Peter W. <pet...@ke...> - 2012-12-15 06:02:31
|
Hi I'm not sure where I should pose this question, but here goes. I'm producing cross-tabulation data from an XML TEI database using eXist 2.0 tech preview version 15855. Using XQuery I produce data in the the form of .gml files for use in external programs such as nodeXL and matrix explorer. The data is in the form of nodes and edges/tuples for production of graphs. I can take this data and transform the edges/tuples directly into tables using XQuery and simpe html. These tables are effectively matrices say 25 x 100. My problem is that the process is quite slow computationally. Looking at the query profiler quite a lot of the time is spent making calls to the index for what are interim variables where no index is available. My question is where to look for information that will help me improve my code/approach or take any other measure that would speed up the process. I don't have a sense as to how large a computation this is in terms of XQuery/eXist. Does anyone have experience they could share? Best wishes Peter |