Claims
- 1. A database management method of performing a database processing by invoking a function registered in the database in response to a request of the processing, comprising the steps of:relating an index type name with a data type of parameter into a first correspondence and cataloging the first correspondence as index type definition information, said index type name representing a type of a particular index that is built-in to a database system, and said data type of parameter transferring a routine managing an index of an index type identified by said index type name; relating the index type name with data invoking a routine for searching the index of said index type in a second correspondence and cataloging the second correspondence as routine definition information; relating an index name, an index type name of the index type in an index corresponding to said index name, column information included in a column of a table defining said index, and a function name identifying a function for accessing said index into a third correspondence and cataloging the third correspondence as index definition information; upon receipt of said processing request including a name of a function and column information used by said function, referring to said index definition information to acquire a relevant one of said cataloged index type names corresponding to said function name and said column information when said function name and said column information match said cataloged function name and said cataloged column information, referring to said index type definition information to acquire the data type of said cataloged parameter corresponding to said acquired index type name, generating an execution plan based on said acquired index type name and said acquired data type of parameter; and in executing said execution plan, referring to said routine definition and invoking a routine for reference to an index corresponding to said acquired index type name based on a routine invoking data corresponding to said acquired index type name.
- 2. A database management system that performs a database processing by invoking a function registered in the database in response to a request of the processing, the system comprising:means for relating an index type name with a data type of parameter into a first correspondence and cataloging the first correspondence as index type definition information, said index type name representing a type of a particular index that is built-in to a database system, and said data type of parameter transferring a routine managing an index of an index type identified by said index type name; means for relating the index type name with data invoking a routine for searching the index of said index type in a second correspondence and cataloging the second correspondence as routine definition information; means for relating an index name, an index type name of the index type in an index corresponding to said index name, column information included in a column of a table defining said index, and a function name identifying a function for accessing said index into a third correspondence and cataloging the third correspondence as index definition information; means for, upon receipt of said processing request including a name of a function and column information used by said function, referring to said index definition information to acquire a relevant one of said cataloged index type names corresponding to said function name and said column information when said function name and said column information match said cataloged function name and said cataloged column information, referring to said index type definition information to acquire the data type of said cataloged parameter corresponding to said acquired index type name, and generating an execution plan based on said acquired index type name and said acquired data type of parameter; and means for, in executing said execution plan, referring to said routine definition and invoking a routine for reference to an index corresponding to said acquired index type name based on a routine invoking data corresponding to said acquired index type name.
- 3. A computer-implemented program which, when executed by a computer, causes the computer to implement a database management method comprising the steps of:relating an index type name with a data type of parameter into a first correspondence and cataloging the first correspondence as index type definition information, said index type name representing a type of a particular index that is built-in to a database system, and said data type of parameter transferring a routine managing an index of an index type identified by said index type name; relating the index type name with data invoking a routine for searching the index of said index type in a second correspondence and cataloging the second correspondence as routine definition information; relating an index name, an index type name of the index type in an index corresponding to said index name, column information included in a column of a table defining said index, and a function name identifying a function for accessing said index into a third correspondence and cataloging the third correspondence as index definition information; upon receipt of said processing request including a name of a function and column information used by said function, referring to said index definition information to acquire a relevant one of said cataloged index type names corresponding to said function name and said column information when said function name and said column information match said cataloged function name and said cataloged column information, referring to said index type definition information to acquire the data type of said cataloged parameter corresponding to said acquired index type name, generating an execution plan based on said acquired index type name and said acquired data type of parameter; and in executing said execution plan, referring to said routine definition and invoking a routine for reference to an index corresponding to said acquired index type name based on a routine invoking data corresponding to said acquired index type name.
- 4. A database management method of performing a database processing by invoking a function registered in the database in response to a request of the processing, comprising the steps of:relating an index type name with a data type of parameter into a first correspondence and cataloging the first correspondence as index type definition information, said index type name representing a type of a particular index that is built-in to a database system, and said data type of parameter transferring a routine managing an index of an index type identified by said index type name; relating the index type name with data invoking a routine for searching the index of said index type in a second correspondence and cataloging the second correspondence as routine definition information; relating an index name, an index type name of the index type in an index corresponding to said index name, column information included in a column of a table defining said index, and a function name identifying a function for accessing said index into a third correspondence and cataloging the third correspondence as index definition information; upon receipt of said processing request including a name of a function and column information used by said function, referring to said index definition information to acquire a relevant one of said cataloged index type names corresponding to said function name and said column information when said function name and said column information match said cataloged function name and said cataloged column information, referring to said routine definition information to acquire a relevant one of said cataloged routine invoking data corresponding to said acquired index type name, generating an execution plan based on said acquired routine invoking data; and in executing said execution plan for execution of a routine corresponding to said acquired routine invoking data, invoking said routine based on the routine invoking data.
- 5. A database management system that performs a database processing by invoking a function registered in the database in response to a request of the processing, the system comprising:means for relating an index type name with a data type of parameter into a first correspondence and cataloging the first correspondence as index type definition information, said index type name representing a type of a particular index that is built-in to a database system, and said data type of parameter transferring a routine managing an index of an index type identified by said index type name; means for relating the index type name with data invoking a routine for searching the index of said index type in a second correspondence and cataloging the second correspondence as routine definition information; means for relating an index name, an index type name of the index type in an index corresponding to said index name, column information included in a column of a table defining said index, and a function name identifying a function for accessing said index into a third correspondence and cataloging the third correspondence as index definition information; means for, upon receipt of said processing request including a name of a function and column information used by said function, referring to said index definition information to acquire a relevant one of said cataloged index type names corresponding to said function name and said column information when said function name and said column information match said cataloged function name and said cataloged column information, referring to said routine definition information to acquire a relevant one of said cataloged routine invoking data corresponding to said acquired index type name, and generating an execution plan based on said acquired routine invoking data; and means for, in executing said execution plan for execution of a routine corresponding to said acquired routine invoking data, invoking said routine based on the routine invoking data.
- 6. A computer-implemented program which, when executed by a computer, causes the computer to implement a database management method comprising the steps of:relating an index type name with a data type of parameter into a first correspondence and cataloging the first correspondence as index type definition information, said index type name representing a type of a particular index that is built-in to a database system, and said data type of parameter transferring a routine managing an index of an index type identified by said index type name; relating the index type name with data invoking a routine for searching the index of said index type in a second correspondence and cataloging the second correspondence as routine definition information; relating an index name, an index type name of the index type in an index corresponding to said index name, column information included in a column of a table defining said index, and a function name identifying a function for accessing said index into a third correspondence and cataloging the third correspondence as index definition information; upon receipt of said processing request including a name of a function and column information used by said function, referring to said index definition information to acquire a relevant one of said cataloged index type names corresponding to said function name and said column information when said function name and said column information match said cataloged function name and said cataloged column information, referring to said routine definition information to acquire a relevant one of said cataloged routine invoking data corresponding to said acquired index type name, generating an execution plan based on said acquired routine invoking data; and in executing said execution plan for execution of a routine corresponding to said acquired routine invoking data, invoking said routine based on the routine invoking data.
Priority Claims (1)
Number |
Date |
Country |
Kind |
9-041906 |
Feb 1997 |
JP |
|
CROSS-REFERENCE TO RELATED APPLICATIONS
This is a continuation application of U.S. Ser. No. 09/028,056, filed Feb. 23, 1998.
This application relates to prior U.S. application Ser. No. 08/917,711 filed on Aug. 26, 1997, now U.S. Pat. No. 5,930,800 assigned to the present assignee, the disclosure of which is incorporated herein by reference.
US Referenced Citations (24)
Non-Patent Literature Citations (2)
Entry |
Database Language SQL, SQL3-A Tutorial, Jim Malton, Sybase, Inc. 1996. |
SIGMOD Record, vol. 23, No. 4, Dec. 1994, “Recent Design Trade-offs in SQL3”, N. Mattos et al, pp. 84-89. |
Continuations (1)
|
Number |
Date |
Country |
Parent |
09/028056 |
Feb 1998 |
US |
Child |
09/715120 |
|
US |