Editing and using the TimeSinceAccess and Size Range buckets

Users can group or aggregate data into three user-defined bucket ranges. The three user-defined bucket ranges are TimeSinceAccess, Size Range and FileGroup.

The TimeSinceAccess bucket groups files and objects based on the time they were last accessed. The SizeRange bucket groups files and objects based on their size. The File Group bucket groups files based on their file type or extension. All three buckets can be customized to better align with the user's requirements. Both the TimeSinceAccess and the SizeRange buckets have up to five custom ranges with user-defined labels.

Note: The FileGroup bucket cannot be edited through the user interface and must be modified using REST APIs. For more information, see/db2whrest/v1/buckets/<bucket>: PUT. For more information, see the topic /db2whrest/v1/buckets/<bucket>: PUT in the Data Cataloging: REST API Guide
To access the SizeRange bucket groups, select Metadata > Tags > edit icon for the SizeRange tag. For example, SizeRange can be broken up into 'T-shirt size' ranges where the ranges and labels are:
Table 1. Examples of size ranges and sizes of buckets with user-defined labels
Size range Size
0 - 4 K XS
4 K - 1 M S
1 M - 1 G M
1 G - 1T B L
1 TB+ XL
After you change or update a bucket definition, IBM Spectrum® Discover summarizes the current set of files and objects into their respective bucket ranges. The changes are updated periodically every half an hour; thus, it may take a half an hour or more before the changes are reflected in the Spectrum Discover GUI.
Note: Ensure that the maximum value for each bucket is greater than the value assigned to the previous bucket.
See the Figure 1
Figure 1. Example of how to define the settings for a SizeRange bucket
Example of how to define the settings for a SizeRange bucket.

To open the menu for the TimeSinceAccess buckets select Metadata > Tags > edit icon for the TimeSinceAccess tag. See the Figure 1 for an example.

Figure 2 shows an example of how to modify and define the settings of a bucket that is older than one year.
Figure 2. Example of how to modify and define the settings of a bucket that is older than one year old
Example of how to modify and define the settings of a bucket that is older than one year old