Loading TOC...

tieredstorage.partitionGetExclusionEnabled

tieredstorage.partitionGetExclusionEnabled(
   schema-database-id as (Number|String),
   partition-number as Number
) as 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

// Returns the safe-to-exclude setting for Query Partition 3 in the
// Schemas database.

const ts = require('/MarkLogic/tieredstorage');

ts.partitionGetExclusionEnabled(xdmp.database('Schemas'), 3);
   

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.