File management method using transposed file
First Claim
1. A file management method for managing an original file that holds a plurality of records, each of which includes at least one variable-length field, comprising:
- a field converting step for converting all fields that constitute said records stored into said original file to variable-length internal fields with field-to-field correspondence being maintained;
a record group generating step for generating record groups by dividing all records consisting of said internal fields into a plurality of groups;
a block generating step for generating blocks by sorting said internal fields of all records within a record group into blocks according to their relative positions so that records'"'"' fields in the corresponding position will be assembled into a same group; and
a transposed file generating step for generating a transposed file by setting in a row all blocks generated from each record group to reorganize a new group and then setting thus reorganized groups in a row;
wherein said transposed file is accessed in response to a request for data reading from said original file.
1 Assignment
0 Petitions
Accused Products
Abstract
A file management system performs flexible and efficient file management with a transposed file. First, variable-length logical fields constituting the records in an original file are converted to variable-length internal fields with field-to-field correspondence being maintained and fields aligned with word boundaries. Next, the records consisting of internal fields are divided into multiple record groups which may comprise a variable number of records. For each record group, one or a plurality of internal fields of all records are then sorted into blocks and blocks are set in a row as a group. Groups thus generated from all records are assembled into a transposed file. When requested to retrieve field data from the original file, the file management system accesses the transposed file and reads only blocks comprising target field data.
69 Citations
10 Claims
-
1. A file management method for managing an original file that holds a plurality of records, each of which includes at least one variable-length field, comprising:
-
a field converting step for converting all fields that constitute said records stored into said original file to variable-length internal fields with field-to-field correspondence being maintained;
a record group generating step for generating record groups by dividing all records consisting of said internal fields into a plurality of groups;
a block generating step for generating blocks by sorting said internal fields of all records within a record group into blocks according to their relative positions so that records'"'"' fields in the corresponding position will be assembled into a same group; and
a transposed file generating step for generating a transposed file by setting in a row all blocks generated from each record group to reorganize a new group and then setting thus reorganized groups in a row;
wherein said transposed file is accessed in response to a request for data reading from said original file. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10)
-
Specification