METHOD AND SYSTEM FOR STORING DATA IN A DATABASE
First Claim
1. A method of storing data in a database, the database having a main table and an auxiliary table, the method which comprises:
- dividing the data into a sequence of segments each having a size smaller than a predetermined threshold, the sequence of segments including a first segment and further segments;
storing the first segment of the sequence in a first field of a given record of the main table of the database;
storing an index indexing the data in a second field of the given record;
storing the further segments of the sequence in first fields of corresponding records of the auxiliary table of the database;
generating further indexes associated with the further segments and storing each further index thus generated in a second field of a record of the auxiliary table that stores the associated segment of the sequence and also in a third field of the record of the auxiliary table that stores a preceding segment in the sequence; and
storing, in a third field of the given record of the main table, the index of a first segment of the further segments of the sequence that is stored in the auxiliary table.
1 Assignment
0 Petitions
Accused Products
Abstract
A database has a main table and an auxiliary table. Data are stored by: dividing the data into a sequence of segments each having a size smaller than a predetermined threshold; storing a first segment into a first field of a record of the main table; storing an index indexing the data into a second field of the record of the main table; storing the other segments into first fields of corresponding records of the auxiliary table; generating indexes associated to the other segments and storing each index into a second field of the record of the auxiliary table storing the associated segment of the sequence and also in a third field of the record of the auxiliary table storing a preceding segment in the sequence. A third record of the main table stores the index of a first segment of the sequence which is stored in the auxiliary table.
236 Citations
10 Claims
-
1. A method of storing data in a database, the database having a main table and an auxiliary table, the method which comprises:
-
dividing the data into a sequence of segments each having a size smaller than a predetermined threshold, the sequence of segments including a first segment and further segments; storing the first segment of the sequence in a first field of a given record of the main table of the database; storing an index indexing the data in a second field of the given record; storing the further segments of the sequence in first fields of corresponding records of the auxiliary table of the database; generating further indexes associated with the further segments and storing each further index thus generated in a second field of a record of the auxiliary table that stores the associated segment of the sequence and also in a third field of the record of the auxiliary table that stores a preceding segment in the sequence; and storing, in a third field of the given record of the main table, the index of a first segment of the further segments of the sequence that is stored in the auxiliary table. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A computer system, comprising:
-
a database for storing data in non-transitory form, the data being divided into a sequence of segments including a first segment and a second segment; said database including a main table with at least one record and an auxiliary table including at least one record; the at least one record of the main table including a first field storing the first segment of the sequence, a second field storing a corresponding ID of the data, and a third field storing an index corresponding to the second segment of the sequence, wherein the second segment is stored in the auxiliary table; and the at least one record of the auxiliary table including a first field storing the second segment, a second field storing the index of the second segment, and a third field storing an index of a next segment in the sequence that is stored in the auxiliary table. - View Dependent Claims (10)
-
Specification