Generally available: Access time-based lifecycle management rules for Data Lake Storage Gen2
Published date: March 29, 2022
Azure Storage now supports access time tracking for objects in Azure Data Lake Storage Gen2. You can also use the last access time of objects to define lifecycle management rules for moving blobs to cooler access tiers when they haven't been accessed for a specified duration. In addition, enabling auto-tiering with your lifecycle rule will automatically move the object back into a hotter access tier upon access. This update extends the access time tracking and associated lifecycle management support added earlier for Azure Blob storage to Data Lake Storage.
Some data in Azure Storage is written once and read many times. To effectively manage the lifecycle of such data and optimize your storage costs, it is important to know the last time of access for the data. When access time tracking is enabled for a storage account, the last access time property on the file is updated when it is read. You can then define lifecycle management policies based on last access time:
- Transition objects from hotter to cooler access tiers if the file has not been accessed for a specified duration.
- Automatically transition objects from cooler to hotter access tiers when a file is accessed again.
- Delete objects if they have not been accessed for an extended duration.
Access time tracking is only available for files in Data Lake Storage Gen2. It is not available for directories.
Access time tracking is free to enable. Updates to access time are charged as 'other operations'. It is free to set up lifecycle management policies for your storage accounts. You are charged the regular operation costs for the Set Blob Tier API calls invoked due to the policy. Delete operations are free. For more information about pricing, see Azure Data Lake Storage pricing.