I don't think any filesystem function puts entries into the group-level caches. Those caches are for forest fragments, not filesystem data. Other caches do use filesystem data: the module cache, for example.
Here's a quick test of the group-level caches: xdmp:cache-status()/*/*/*:partition-used/data(.), xdmp:document-get( '/tmp/admin.xqy') /string-length(.), xdmp:cache-status()/*/*/*:partition-used/data(.), current-dateTime() => 3.7 23.4 0.4 469712 3.7 23.4 0.4 2012-02-14T10:46:56.723969-08:00 >From what I can tell, xdmp:external-binary is just a way to call document-get >and subbinary together. It might be more efficient than calling each function >separately. -- Mike On 14 Feb 2012, at 10:35 , seme...@hotmail.com wrote: > I'm looking for some validation in my understanding of these two functions. > Is this correct: > > 1) xdmp:document-get gets then entire file off of disk and it goes into > expanded tree cache > > 2) xdmp:external-binary gets only the bytes that you specify from the file on > disk and those bytes do not go into expanded tree cache > > Correct? > _______________________________________________ > General mailing list > General@developer.marklogic.com > http://developer.marklogic.com/mailman/listinfo/general _______________________________________________ General mailing list General@developer.marklogic.com http://developer.marklogic.com/mailman/listinfo/general