Index adding program of relational database, index adding apparatus, and index adding method
First Claim
1. An index adding program of a relational database, for executing on a computer comprising the steps of:
- initially generating an index of the relational database;
accumulating an update log for said relational database during said initial index generation;
if after the initial index generation, data corresponding to an update request to said relational database is present in the index, reflecting said update request to the index, or alternatively, if data corresponding to said update request is not present in the index, storing said update request in a first work area; and
when sequentially reflecting an accumulated update log to the initially generated index, disregarding the update log if the data corresponding to said update log is stored in a first work area, or alternatively, reflecting said update log to the index if data corresponding to said update log is not stored in the first work area.
1 Assignment
0 Petitions
Accused Products
Abstract
An index adding program, index adding apparatus, and index adding method of a relational database, that enables dynamic and efficient addition of a new index without stopping service to an application, by contriving a method of reflecting an update log to the index. The index of the relational database is initially generated and an updating log for the relational database is accumulated during the initial index generation. Thereafter, data corresponding to an update request to the relational database is present in the index; the update request is reflected to the index. If the request is not present, update request is stored in the work area. Further, reflecting of an accumulated update log to the initially generated index is sequentially executed, the update log is disregarded, if the data corresponding to the update log is stored in the work area, or alternatively, the update log is reflected to the index, if data corresponding to the update log is not stored in the work area.
67 Citations
8 Claims
-
1. An index adding program of a relational database, for executing on a computer comprising the steps of:
-
initially generating an index of the relational database;
accumulating an update log for said relational database during said initial index generation;
if after the initial index generation, data corresponding to an update request to said relational database is present in the index, reflecting said update request to the index, or alternatively, if data corresponding to said update request is not present in the index, storing said update request in a first work area; and
when sequentially reflecting an accumulated update log to the initially generated index, disregarding the update log if the data corresponding to said update log is stored in a first work area, or alternatively, reflecting said update log to the index if data corresponding to said update log is not stored in the first work area. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. An index adding apparatus of a relational database comprising:
-
an initial generation means which initially generates an index of the relational database;
a log accumulating means which accumulates an update log for said relational database during initial index generation by said initial generation device;
an update request processing means which if after the initial index generation by said initial generation device, data corresponding to an update request to said relational database is present in the index, reflects said update request to the index, or alternatively, if data corresponding to said update request is not present in the index, stores said update request in a work area; and
a log reflection means which when sequentially reflecting an accumulated update log to the initially generated index, disregards the update log if the data corresponding to said update log is stored in the work area, or alternatively, reflects said update log to the index if data corresponding to said update log is not stored in the work area.
-
-
8. An index adding method of a relational database which executes on a computer comprising the steps of:
-
initially generating an index of the relational database;
accumulating an update log for said relational database during said initial index generation;
if after the initial index generation, data corresponding to an update request to said relational database is present in the index, reflecting said update request to the index, or alternatively, if data corresponding to said update request is not present in the index, storing said update request in a work area; and
when sequentially reflecting an accumulated update log to the initially generated index, disregarding the update log if the data corresponding to said update log is stored in the work area, or alternatively, reflecting said update log to the index if data corresponding to said update log is not stored in the work area.
-
Specification