Loading TOC...

tieredstorage:database-partitions

tieredstorage:database-partitions(
   $database-id as xs:unsignedLong
) as xs:string*

Summary

This function returns the names of the partitions in the named database. For details, see Tiered Storage in the Administrator's Guide.

Parameters
$database-id ID of the database in containing the partitions.

Example

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

ts:database-partitions(xdmp:database("Documents"))

(: Returns the names of the partitions in the Documents database. :)
  

Comments

    Powered by MarkLogic Server 7.0-4.1 and rundmc | Terms of Use | Privacy Policy