MarkLogic 10 Product Documentation
tieredstorage:partition-get-exclusion-enabled

tieredstorage:partition-get-exclusion-enabled(
   $schema-database-id as xs:unsignedLong,
   $partition-number as xs:unsignedInt
) as xs:boolean

Summary

This function returns the safe-to-exclude setting for the database.

For details, see Isolating a Query Partition in the Administrator's Guide

Parameters
schema-database-id The schema database used by the content database holding the query partition.
partition-number The number of the query partition.

Example


xquery version "1.0-ml"; 
 
import module namespace ts="http://marklogic.com/xdmp/tieredstorage" 
      at "/MarkLogic/tieredstorage.xqy";

ts:partition-get-exclusion-enabled(xdmp:database("Schemas"), 3)

(: Returns the safe-to-exclude setting for Query Partition 3 in the
   Schemas database. :)
    
Powered by MarkLogic Server | Terms of Use | Privacy Policy