Management of searches in a database system
First Claim
1. A computer-implemented method of managing a database contained in a storage facility, comprising:
- structuring the database to have a table, an index associated with the table, and a log associated with the index, wherein the log is configured to include an entry;
receiving a first search request related to the index;
determining that the first search request is not associated with the entry, wherein;
the first search request is associated with the entry if the entry affects any information sought by the first search request, wherein the entry affects information sought by the first search request if a pipeline between an application and the index is open and active, andthe first search request is not associated with the entry if;
a pipeline between an application and the index is either closed or open, but inactive, wherein the pipeline being either closed or open, but inactive includes;
the pipeline being open, but inactive, wherein the pipeline being open, but inactive includes;
receiving a second search request, the second search request being associated with the application, and wherein the index that is connected by the pipeline, which is open, is not actively in use;
the pipeline being either closed or open, but inactive includes the pipeline being closed, wherein the pipeline being closed includes a determination that the pipeline connecting the application and the index is not associated with a previous search request; and
searching the index in response to determining that the search request is not associated with the entry.
1 Assignment
0 Petitions
Accused Products
Abstract
A method, system, and computer program product to efficiently search a database is disclosed. The method, system, and computer program product may include structuring the database to have a table, an index associated with the table, and a log associated with the index, the log adapted to include an entry. The method, system, and computer program product may include receiving a search request related to the index. The method, system, and computer program product may include searching the index when the search request is not associated with the entry. The method, system, and computer program product may include accounting for the entry and searching the index when the search request is associated with the entry.
-
Citations
13 Claims
-
1. A computer-implemented method of managing a database contained in a storage facility, comprising:
-
structuring the database to have a table, an index associated with the table, and a log associated with the index, wherein the log is configured to include an entry; receiving a first search request related to the index; determining that the first search request is not associated with the entry, wherein; the first search request is associated with the entry if the entry affects any information sought by the first search request, wherein the entry affects information sought by the first search request if a pipeline between an application and the index is open and active, and the first search request is not associated with the entry if; a pipeline between an application and the index is either closed or open, but inactive, wherein the pipeline being either closed or open, but inactive includes; the pipeline being open, but inactive, wherein the pipeline being open, but inactive includes; receiving a second search request, the second search request being associated with the application, and wherein the index that is connected by the pipeline, which is open, is not actively in use; the pipeline being either closed or open, but inactive includes the pipeline being closed, wherein the pipeline being closed includes a determination that the pipeline connecting the application and the index is not associated with a previous search request; and searching the index in response to determining that the search request is not associated with the entry. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12)
-
-
13. A computer-implemented method of managing a database contained in a storage facility, comprising:
-
structuring the database to have a table, an index associated with the table, and a log associated with the index, the log configured to include an entry; receiving a search request related to the index; determining, using both the entry and information sought by the search request, that the search request is not associated with the entry, wherein; the first search request is associated with the entry if the entry affects any information sought by the first search request, wherein the entry affects information sought by the first search request if a pipeline between an application and the index is open and active, and the first search request is not associated with the entry if; a pipeline between an application and the index is either closed or open, but inactive, wherein the pipeline being either closed or open, but inactive includes; the pipeline being open, but inactive, wherein the pipeline being open, but inactive includes; receiving a second search request, the second search request being associated with the application, and wherein the index that is connected by the pipeline, which is open, is not actively in use; the pipeline being either closed or open, but inactive includes the pipeline being closed, wherein the pipeline being closed includes a determination that the pipeline connecting the application and the index is not associated with a previous search request; and searching the index without accounting for the entry in response to determining that the search request is not associated with the entry; and accounting for the entry and searching the index in response to determining the search request is not associated with the entry.
-
Specification