Spec : https://docs.google.com/document/d/1jTrywjdfJGVOCWBr1SdW_QXI2DW9yVaQna_UxwFiVbY
CBL-2043 Implement Maintenance's Optimize Options
CBL-2045 Implement Maintenance's Optimize Options