The Dgraph
--mergepolicy flag allows you to set the default merge
policy of the MDEX Engine at startup time.
The format of the flag is:
--mergepolicy <policy>
where policy is one of these two arguments:
balanced– Sets a policy that strikes a balance between low latency and high throughput. This is the default policy, which means that a balanced policy is used if you do not specify the--mergepolicyflag when the MDEX Engine starts up.aggressive– Sets a policy that merges frequently and completely to keep query latency low at the expense of average throughput.
The MDEX Engine will exit with a fatal error if the
--mergepolicy flag is used without an argument or with
an argument other than
balanced or
aggressive.

