Skip to main content

Enable or disable last access time updates

Contributors netapp-madkat netapp-lhalbert netapp-perveilerk ssantho3

When grid administrators create the information lifecycle management (ILM) rules for a StorageGRID system, they can optionally specify that an object's last access time be used to determine whether to move that object to a different storage location. If you are using an S3 tenant, you can take advantage of such rules by enabling last access time updates for the objects in an S3 bucket.

These instructions only apply to StorageGRID systems that include at least one ILM rule that uses the Last access time option as an advanced filter or as a reference time. You can ignore these instructions if your StorageGRID system does not include such a rule. See Use Last access time in ILM rules for details.

Before you begin
About this task

Last access time is one of the options available for the Reference time placement instruction for an ILM rule. Setting the Reference time for a rule to Last access time lets grid administrators specify that objects be placed in certain storage locations based on when those objects were last retrieved (read or viewed).

For example, to ensure that recently viewed objects remain on faster storage, a grid administrator can create an ILM rule specifying the following:

  • Objects that have been retrieved in the past month should remain on local Storage Nodes.

  • Objects that have not been retrieved in the past month should be moved to an off-site location.

By default, updates to last access time are disabled. If your StorageGRID system includes an ILM rule that uses the Last access time option and you want this option to apply to objects in this bucket, you must enable updates to last access time for the S3 buckets specified in that rule.

Caution Updating the last access time when an object is retrieved can reduce StorageGRID performance, especially for small objects.

A performance impact occurs with last access time updates because StorageGRID must perform these additional steps every time objects are retrieved:

  • Update the objects with new timestamps

  • Add the objects to the ILM queue, so they can be reevaluated against current ILM rules and policy

The table summarizes the behavior applied to all objects in the bucket when last access time is disabled or enabled.

Type of request

Behavior if last access time is disabled (default)

Behavior if last access time is enabled

Last access time updated?

Object added to ILM evaluation queue?

Last access time updated?

Object added to ILM evaluation queue?

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

No

No

Yes

Yes

Request to update an object's metadata

Yes

Yes

Yes

Yes

Request to copy an object from one bucket to another

  • No, for the source copy

  • Yes, for the destination copy

  • No, for the source copy

  • Yes, for the destination copy

  • Yes, 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

Yes, for the assembled object

Yes, for the assembled object

Steps
  1. Select View buckets from the dashboard, or select STORAGE (S3) > Buckets.

  2. Select the bucket name from the table.

    The bucket details page appears.

  3. From the Bucket options tab, select the Last access time updates accordion.

  4. Enable or disable last access time updates.

  5. Select Save changes.