Hello John, First of all, thanks for using MonetDB(/XQuery)! On Jul 30, 2008, at 04:49 , John wrote:
I just installed MonetDB/XQuery 0.24.0 (released on 30 June 2008) and wanted to store some XML documents. When I tried to shred an XML document with almost 1GB filesize, I received the following error message.
MAPI = monetdb@localhost:50000 ACTION= read_line QUERY = pf:add-doc("C:/Data/TestData-10.xml","TestData-10.xml") ERROR = Connection terminated
After receiving this error on my mclient window, I noticed that the MonetDB XQuery Server and MClient were terminated. FYI, I used a Windows XP Pro SP3 PC with Intel Core2 Duo E6550 processor and 3.25GB of RAM. The size of my hard disk is 232 GB. May I know how I can shred this file?
Unfortunately, I don't have answer to this question. On a fedora 8 machine with 2 GB RAM, it was no problem to shred a 1GB document. I hope that other members in our group with Windows experience will react soon. However, since it is somer holiday time, it might take longer than usual. Please bear with us.
Another question is about to test the query performance. I tried to execute an XQuery using the following command.
mclient.bat -lxq -t -G XQuery-1.xq
This command will print out the query result and return the "Timer". a. Can I hide the result? I tried to add "-f none" to the above command, but it did not work. b. What is the "Timer"? How can I get only the query time?
Since you use '-G', you are using the new (just released) algebra frontend. I think the '-f none' is not implemented yet in algebra frontend, 'mclient -h' says that XQuery (only) supports output format {xml, typed, dm}. I think "Timer" includes i) time to translate your query, ii) time to shred XML document used by your query, iii) time to execute the query, and iv) time to print result. Since the algebra frontend is new, it does not support all functionality provided by the old frondend, yet. Maybe, you can also try the old frontend, which does support '-f none' and gives more detailed timer information: mclient.bat -lxq -t -g XQuery-1.xq -f none Kind regards, Jennie
Thanks John ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/_______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users