How does data_engine maintenance and retention work?