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