发明名称 |
MANAGING A DATA SET |
摘要 |
A method of and system for managing a data set of a storage facility is disclosed. The data set may be a sequential-access data set. The method and system may include structuring the sequential-access data set to have a first group-of-records configured for adding a second group-of-records to the sequential-access data set. The method and system add a second group-of-records to the sequential-access data set. The method and system merge the second group-of-records with the first group-of-records in response to a triggering event. The method and system establish, in response to merging the second group-of-records with the first group-of-records, a marker configured to indicate the first and second group-of-records, as merged, is sorted. |
申请公布号 |
US2016092500(A1) |
申请公布日期 |
2016.03.31 |
申请号 |
US201514974518 |
申请日期 |
2015.12.18 |
申请人 |
International Business Machines Corporation |
发明人 |
Perez Miguel A.;Reed David C.;Smith Max D.;Wood Carrie B. |
分类号 |
G06F17/30 |
主分类号 |
G06F17/30 |
代理机构 |
|
代理人 |
|
主权项 |
1. A computer-implemented method for managing records of a sequential-access data set of a storage system, the method comprising:
sorting a first group-of-records of the sequential-access data set; updating a first field in a catalog entry of the sequential-access data set with a value indicating a record position of a last sorted record in the first group-of-records; adding a second group-of-records to the sequential-access data set after the record position of the last sorted record in the first group-of-records; updating a second field in the catalog entry with a value indicating the number of unsorted records in the second group-of-records; comparing the value in the second field to a threshold associated with a quantity-of-changes to the sequential-access data set performed by a processor since a previous sort; in response to determining that the value in the second field exceeds the threshold, sorting the second group-of-records and merging the sorted second group-of-records with the sorted first group-of-records such that, with respect to order, the first group-of-records and the second group-of-records appear as a single group; updating the first field in the catalog entry with a value indicating a record position of a new last sorted record in the merged first and second group-of-records; and resetting the second field in the catalog entry to zero after merging the second group-of-records with the first group-of-records. |
地址 |
Armonk NY US |