Hi Silvio, sorry for the delayed answer. Quite some time ago we added an XML Schema import in pathfinder (MonetDB/XQuerys XQuery compiler). This import however did only read in the types but did not make use the gathered information. Furthermore is has not be maintained in the last years and thus is now disabled by default. -- So I think nothing useful for you on the query side. The other alternative you asked for was whether we make use of it if a reference to an XML Schema is stored in a document. As far as I know we only use DTD (and perhaps also Schema) information during shredding the XML documents to find out which attributes represent IDs and IDREFs. The type information is almost certainly ignored. -- So here also nothing useful... To answer your second question: Is indexing possible? -- yes and no. No because a user cannot create himself an own specialized index and yes because in some scenarios we have candidate list (e.g., based on node name or their kinds) that are used during the evaluation of path steps. Cheers, Jan On 11/06/2007 05:13 PM, Silvio Kohler wrote with possible deletions:
Hi,
we're trying to benchmark different XML-DBs, one of them is MonetDB/Xquery. Two questions came up: 1) How is schema import done in MonetDB/XQuery? Does it affect execution time for queries? We imported it in the XML file and also in the query, but did not have any effect on execution time. Also, a lot of schema items such as xs:enumeration or xs:dateTime seem not to be supported. 2) Is indexing possible?
Regards, Silvio
------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ MonetDB-users mailing list MonetDB-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/monetdb-users
-- Jan Rittinger Database Systems Technische Universität München (Germany) http://www-db.in.tum.de/~rittinge/