admin:database-one-time-merge-blackout

admin:database-one-time-merge-blackout(
   $limit as xs:unsignedInt,
   $merge-priority as xs:string,
   $start as xs:dateTime,
   $end as xs:dateTime?,
   $duration as xs:duration?
) as element(db:merge-blackout)

Summary

This function constructs a one-time merge-blackout specification.

Parameters
limit The maximum number of megabytes for a merge.
merge-priority The CPU scheduler priority for merges. Must be one of normal or lower.
start The starting dateTime of the merge blackout.
end The ending dateTime of the merge blackout.
duration The amount of time for the blackout to last.

Example


  xquery version "1.0-ml";

  import module namespace admin = "http://marklogic.com/xdmp/admin"
		  at "/MarkLogic/admin.xqy";

  admin:database-one-time-merge-blackout(500, "lower",
        xs:dateTime("2008-02-14T09:45:00"),
	(), xs:dayTimeDuration("PT3H") )

  (: returns the one-time merge-blackout specification.
     Use admin:save-configuration to save these changes. :)
  
Powered by MarkLogic Server | Terms of Use | Privacy Policy