Patent ID: 6947944

Claim:
A database managing apparatus comprising: attribution record group forming means for classifying data, which is requested to be stored into a database, according to attributions defined in the database, and for making plural attribution record groups corresponding to each of the attributions, wherein the plural attribution record groups include a search key attribution record group for determining if others of the plural attribution record groups are to be decompressed; data compressing means for compressing the plural attribution record groups in a unit each of the plural attribution record groups; and file forming means for combining each of the plural attribution record groups, which are compressed by the data compressing means, and for forming a data base file, wherein the data compressing means compresses the search key attribution record group with a first compression method, and compresses the others of the plural attribution record groups, which are different from the search key attribution record group, with a second compression method, the first compression method compresses the search key attribution record group so that the search key attribution record group after being compressed can be decompressed faster than the others of the plural attribution record groups compressed by using the second compression method, and the second compression method compresses the others of the plural attribution record groups so that a compression rate is higher than that of the first compression method.