MarkLogic 12 EA 1 Product Documentation
admin:database-recurring-merge-blackoutadmin:database-recurring-merge-blackout(
$limit as xs:unsignedInt,
$merge-priority as xs:string,
$days as xs:string+,
$start-time as xs:time?,
$end-time as xs:time?,
$duration as xs:duration?
) as element(db:merge-blackout)
Summary
This function constructs a 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 .
|
days |
The day(s) of the week. Must be a sequence of zero
or more of monday , tuesday ,
wednesday , thursday ,
friday , saturday ,
sunday .
|
start-time |
A time for the merge blackout to start.
|
end-time |
A time for the merge blackout to end.
|
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-recurring-merge-blackout(500, "lower", "monday",
xs:time("09:45:00"), xs:time("11:45:00"), () )
(: returns the merge-blackout specification.
Use admin:save-configuration to save these changes. :)
Copyright © 2024 MarkLogic Corporation. MARKLOGIC is a
registered trademark of MarkLogic Corporation.