8019784

Managing External Routines in a Database Management System

PublishedSeptember 13, 2011
Assigneenot available in USPTO data we have
Technical Abstract

Patent Claims
10 claims

Legal claims defining the scope of protection, as filed with the USPTO.

1

1. A computer-implemented method, in a database server having a file system and a database management system, for managing an external routine in a data store interoperably coupled with the database management system, the method comprising: creating, by the database management system, a first table for storing the external routine having an identifier and a body portion comprising an implementation of the external routine, in the data store, wherein the implementation of the external routine includes program code in a language environment associated with the external routine; storing, by a routine manager in the database management system, the external routine in the first table by storing the identifier in a first column and storing the body portion in a second column as a database object; automatically and directly managing, by the database management system, any modification in relation to the external routine; controlling, by the database management system, access to the external routine, wherein storing the body portion in the second column includes compiling, by the database server, the program code prior to storing the body portion in the second column and storing the compiled program code in the second column such that the external routine can be executed directly; providing, by the database management system, a plurality of external compilation modules, wherein each external compilation module is associated with a language environment; creating, by the database server, a mapping in the database management system that maps each language environment to the associated external compilation module; using, by the database management system, the mapping to invoke the external compilation module associated with the language environment of the external routine; and utilizing, by the database server, the invoked external compilation module to compile the program code.

2

2. The method of claim 1 wherein the external routine is either a stored procedure or a user defined function.

3

3. The method of claim 1 further comprising: providing, by the database management system, a data definition language statement that includes an identifier of the external routine; and storing, by the database management system, the identifier of the external routine in at least one catalog and in the first table such that the identifier in the at least one catalog refers to the identifier of the external routine in the first table.

4

4. The method of claim 1 wherein the database object is a binary large object.

5

5. The method of claim 1 further comprising: providing, by the database management system, a plurality of predefined compilation modules in the database management system, wherein each compilation module is associated with a language environment; and utilizing the predefined compilation module associated with the language environment of the external routine to compile the program code.

6

6. A computer-implemented method, in a database server having a file system and a database management system, for managing an external routine in a data store interoperably coupled with the database management system, the method comprising: creating, by the database management system, a first table for storing the external routine having an identifier and a body portion comprising an implementation of the external routine, in the data store, wherein the implementation of the external routine includes program code in a language environment associated with the external routine; storing, by a routine manager in the database management system, the external routine in the first table by storing the identifier in a first column and storing the body portion in a second column as a database object; automatically and directly managing, by the database management system, any modification in relation to the external routine; controlling, by the database management system, access to the external routine, wherein storing the body portion in the second column includes compiling, by the database server, the program code prior to storing the body portion in the second column and storing the compiled program code in the second column such that the external routine can be executed directly; providing, by the database management system, a plurality of execution engines, wherein each execution engine is associated with a language environment; creating, by the database server, a mapping in the database management system that maps each language environment to the associated execution engine; receiving, by the database management system, a call to execute the external routine; using, by the database management system, the mapping to invoke the execution engine associated with the language environment associated with the called external routine; and utilizing, by the database server, the invoked execution engine to execute the compiled program code of the external routine.

7

7. The method of claim 6 wherein the external routine is either a stored procedure or a user defined function.

8

8. The method of claim 6 further comprising: providing, by the database management system, a data definition language statement that includes an identifier of the external routine; and storing, by the database management system, the identifier of the external routine in at least one catalog and in the first table such that the identifier in the at least one catalog refers to the identifier of the external routine in the first table.

9

9. The method of claim 6 wherein the database object is a binary large object.

10

10. The method of claim 6 further comprising: providing, by the database management system, a plurality of predefined compilation modules in the database management system, wherein each compilation module is associated with a language environment; and utilizing the predefined compilation module associated with the language environment of the external routine to compile the program code.

Patent Metadata

Filing Date

Unknown

Publication Date

September 13, 2011

Inventors

Peter BENDEL
Gregor Meyer
Stefan Raspl

Want to explore more patents?

Browse 5M+ US patents with plain-English claim translations and AI-generated analysis.

Citation & reuse

Analysis on this page is generated by Patentable — an AI-powered patent intelligence platform. AI-generated summaries, explanations, and analysis may be reused with attribution and a visible link back to the canonical URL below. Patent abstracts and claims are USPTO public domain.

Cite as: Patentable. “MANAGING EXTERNAL ROUTINES IN A DATABASE MANAGEMENT SYSTEM” (8019784). https://patentable.app/patents/8019784

© 2026 Patentable. All rights reserved.

Patentable is a research and drafting-assistant tool, not a law firm, and does not provide legal advice. Documents we generate are drafts for review by a licensed patent attorney.