[MonetDB-users] Missing element names when bulkloading XML files into MonetDB
I have buldloaded a collection of 10.000 XML files into MonetDB like this: for $d in doc("/monetdbfiles.xml")//doc return pf:add-doc(fn:concat($d/@path,$d/@name), fn:string($d/@name), "abap10k", 0) <> Now the XML files have missing element names and look like this in MonetDB: <AST> < type="compound" line="1" id="1"> < type="stmt" line="1" id="2"/> < type="stmt" line="5" id="3"> < type="clause" line="5" id="4"> < type="idf" line="5" id="5"/> > What could be wrong? Thanks for your help.
Hello Alexander, This indead doesn't look good. I have several questions. - How large are your xml files? Is your system 32bits or 64bits? - What is the query that produces this incorrect result? Does every loaded document contain elements whose names are missing? - Does the same problem occur if you load less files? - Which version of monetdb/xquery are you using? Does this problem occur in an older version, if you have ever used an older version of monetdb/xquery? - would it be possible to provide us (some of) your documents + queries to reproduce this problem? otherwise, I can create 10.000 xmark files to see if I can reproduce this problem. Regards, Jennie On Tue, Feb 09, 2010 at 08:53:07PM +0100, Alexander Koglin wrote:
I have buldloaded a collection of 10.000 XML files into MonetDB like this:
for $d in doc("/monetdbfiles.xml")//doc return pf:add-doc(fn:concat($d/@path,$d/@name), fn:string($d/@name), "abap10k", 0) <>
Now the XML files have missing element names and look like this in MonetDB:
<AST> < type="compound" line="1" id="1"> < type="stmt" line="1" id="2"/> < type="stmt" line="5" id="3"> < type="clause" line="5" id="4"> < type="idf" line="5" id="5"/> >
What could be wrong? Thanks for your help.
------------------------------------------------------------------------------ SOLARIS 10 is the OS for Data Centers - provides features such as DTrace, Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW http://p.sf.net/sfu/solaris-dev2dev
_______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
participants (2)
-
Alexander Koglin
-
Ying Zhang