Patent attributes
Data relevancy-based data retention is provided. Data is assigned to a logical data retention relevancy compartment of a plurality of logical data retention relevancy compartments in a data lakehouse. It is determined whether a data retention relevancy value of the data is greater than a data retention threshold level of a data retention policy corresponding to the logical data retention relevancy compartment storing the data. The data is transferred from a physical data storage unit corresponding to the logical data retention relevancy compartment of the plurality of logical data retention relevancy compartments in the data lakehouse to an archive in response to determining that the data retention relevancy value of the data is greater than the data retention threshold level of the data retention policy corresponding to the logical data retention relevancy compartment storing the data.