[MarkLogic Dev General] Difference between eNode and Data Node

Eric Palmitesta eric.palmitesta at utoronto.ca
Mon Mar 23 06:35:53 PST 2009


To answer your first question, the following xquery script won't touch 
your D-Node(s):

xquery version "1.0-ml";
<p>the time is now { fn:current-dateTime() }</p>
<p>this is running on a { xdmp:platform() } platform</p>

I'm not an authority on the matter, so confirmation would be nice.

Cheers,

Eric

Saptarshi Newyork wrote:
> Hi ,
> I have a few questions:
>  
> 1)  What is the *difference between eNode and dNode*? I have read that 
> E-nodes are required to evaluate XQuery programs, XCC/XDBC requests, 
> WebDAV requests, and other server requests.and dNodes are those which 
> directly talks with the database/forest. It is also told that if the 
> request does not need any forest data to complete, then an e-node 
> request is evaluated entirely on the e-node. I do not understand how 
> this is possible!! If eNode is meant for XQuery evaluation and XQuery 
> needs an XML to process, then every eNode request should talk to dNode. 
> Is there any caching mechanism? It will be great if anybody can explain 
> this to me?
> 
>  
> 
> 2) There are two failover mechanism explained in the documentation. 
> Forest level failover and eNode level failover. It seems that forest 
> data level failover is not handled by Marklogic. Like if the filesystem 
> crashes, is there anyway by which Marklogic server *replicates the 
> forest to other hosts in same or different cluster*? If this feature is 
> not presently supported, then when can we expect this on the roadmap?
> 
>  
> 
> Thanks in advance.
> 
>  
> 
> regards,
> 
> Saptarshi
> 
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> General mailing list
> General at developer.marklogic.com
> http://xqzone.com/mailman/listinfo/general


More information about the General mailing list