tieredstorage:partition-get-exclusion-enabled( $schema-database-id as xs:unsignedLong, $partition-number as xs:unsignedInt ) as xs:boolean
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. |
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. :)
Stack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.