This should be straightforward:
Create a metadata say TriggerEnabled__Mdt
Create a trigger say ContactTrigger.
Create a field on the TriggerEnabled__mdt with name ContactTrigger(CheckBox)
In the trigger do a check that IF this particular field is TRUE then write your logic
inside that IF. Now if the field value is FALSE then that trigger
code will not ...
There are performance gains with custom metadata as custom metadata is cached after first read.
From the salesforce docs
Custom metadata records are cached at the type level after the first read request. Caching enhances performance on subsequent requests. Requests that are in flight when metadata is updated don’t get the most recent metadata.
Also the ...