Method and apparatus for facilitating wildcard searches within a relational database
AssigneeSun Microsystems, Inc.
InventorRobert M. Lane
Life of this patent
Estimating the term…
Loading patent…
AssigneeSun Microsystems, Inc.
InventorRobert M. Lane
Estimating the term…
One embodiment of the present invention provides a system that facilitates performing an efficient wildcard search on a field within a relational database table. The system operates by receiving a query with a search string that includes a wildcard and a sub-string. In order to process this query, the system identifies rows in a table in which a target column contains a string that matches search string. This is accomplished by looking up rows in the table that match the search string by looking up the sub-string in a sub-string index for the target column, wherein this sub-string index allows a given string in the target column to be rapidly identified based upon a sub-string of the given string. Next, the system accesses the matching rows in order to process the query. In one embodiment of the present invention, the wildcard is a leading wildcard that precedes the sub-string. In a variation on this embodiment, the search string additionally includes a trailing wildcard that follows the sub-string.
A method for facilitating an efficient wildcard search on a field within a relational database, comprising:
A method for producing an index to facilitate an efficient wildcard search on a target column within a table in a relational database, comprising:
A computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method for facilitating an efficient wildcard search on a field within a relational database, the method comprising:
A computer-readable storage medium storing instructions that when executed by a computer cause the computer to perform a method for producing an index to facilitate an efficient wildcard search on a target column within a table in a relational database, the method comprising:
An apparatus that facilitates an efficient wildcard search on a field within a relational database, comprising:
An apparatus that produces an index to facilitate an efficient wildcard search on a target column within a table in a relational database, comprising:
Dependencies are inferred from the claim text.