Skip to main content

Use Last access time in ILM rules

Contributors netapp-lhalbert

You can use Last access time as the reference time in an ILM rule. For example, you might want to leave objects that have been viewed in the last three months on local Storage Nodes, while moving objects that have not been viewed as recently to an off-site location. You can also use Last access time as an advanced filter if you want an ILM rule to apply only to objects that were last accessed on a specific date.

About this task

Before using Last access time in an ILM rule, review the following considerations:

  • When using Last access time as a reference time, be aware that changing the Last access time for an object does not trigger an immediate ILM evaluation. Instead, the object's placements are assessed and the object is moved as required when background ILM evaluates the object. This could take two weeks or more after the object is accessed.

    Take this latency into account when creating ILM rules based on Last access time and avoid placements that use short time periods (less than one month).

  • When using Last access time as an advanced filter or as a reference time, you must enable last access time updates for S3 buckets. You can use the Tenant Manager or the Tenant Management API.

    Note Last access time updates are disabled by default for S3 buckets.
    Note Be aware that enabling last access time updates can reduce performance, especially in systems with small objects. The performance impact occurs because StorageGRID must update the objects with new timestamps every time the objects are retrieved.

The following table summarizes whether the Last access time is updated for all objects in the bucket for different types of requests.

Type of request Whether Last access time is updated when last access time updates are disabled Whether Last access time is updated when last access time updates are enabled

Request to retrieve an object, its access control list, or its metadata

No

Yes

Request to update an object's metadata

Yes

Yes

Request to copy an object from one bucket to another

  • No, for the source copy

  • Yes, for the destination copy

  • Yes, for the source copy

  • Yes, for the destination copy

Request to complete a multipart upload

Yes, for the assembled object

Yes, for the assembled object