Method and system for managing external routines in a database management system

a database management system and external routine technology, applied in the field of managing routines, can solve problems such as logistical challenges, inconvenient management, and increased burden on the system administrator

Inactive Publication Date: 2007-02-15
IBM CORP
View PDF11 Cites 32 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Benefits of technology

[0009] According to versions of the present invention, external routines are stored in the data store and treated as database content that is managed directly by the database management system. Synchronization processes already in place for ensuring consistency throughout the database can be utilized to ensure consistency between the external routines and catalog entries. In addition, the access control policies applying to data in the database can be easily extended to the external routines thereby protecting them from unintentional modifications and malicious users.

Problems solved by technology

While this configuration is convenient, it presents a number of logistical challenges.
For instance, because the routines reside in the file system, inconsistencies between the file system and the catalog can arise, e.g., after a backup or restore function.
This is an added burden on the system administrator, and becomes particularly tedious if the database is partitioned over a plurality of nodes.
Moreover, because the routines reside in the file system, security concerns can arise.
The access control policies for the server are not necessarily identical to those of the DBMS, and therefore, a client who has access to the file system can inadvertently or intentionally modify, delete or replace a routine.
This can cause serious system disruptions that require administrative attention.
To prevent this, the system administrator has the added burden of controlling access to the file system and also protecting the external routines.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for managing external routines in a database management system
  • Method and system for managing external routines in a database management system
  • Method and system for managing external routines in a database management system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0015] Embodiments of the present invention relate to managing external routines, such as stored procedures and user-defined functions, in a computer implemented database system. Various modifications to the preferred embodiment and the generic principles and features described herein will be readily apparent to those skilled in the art. For example, the following discussion is presented in the context of a DB2® database environment available from IBM® Corporation. It should be understood, however, that the present invention is not limited to DB2 and may be implemented with other relational database systems. Thus, the present invention is to be accorded the widest scope consistent with the principles and features described herein.

[0016] An exemplary computer hardware environment that utilizes a DBMS is illustrated in FIG. 1. A distributed computer system 10 utilizes a network to connect client systems 11 executing client applications to a database server 12 executing software and o...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

A method for managing an external routine in a computer implemented database management system includes creating a first table for storing external routines in a data store coupled to the database management system. An external routine is stored in the first table so that the database management system is allowed to automatically manage any modification related to the external routine and to control access to the external routine such that administrative support is minimized.

Description

FIELD OF THE INVENTION [0001] The present invention relates to database management systems and in particular, to managing routines, such as stored procedures or user defined functions, in a database management system. BACKGROUND OF THE INVENTION [0002] Database management systems (DBMS) maintain and manage data stored in databases. Management includes storing, deleting, retrieving and updating the data. Typically, data stored in a database includes plain values, e.g., numbers and alphanumeric strings, and complex objects such as images, documents and spatial data. The DBMS typically is hosted by a database server that is accessible by a plurality of client systems via a network. [0003] In state of the art systems, the DBMS is capable of invoking executable code to manipulate the data in the database. In some systems, when instructed, the DBMS can automatically load and execute the code. Such executable code, known as an external routine, can be a stored procedure (STP) or a user def...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(United States)
IPC IPC(8): G06F7/00
CPCG06F17/30289G06F16/21
Inventor BENDEL, PETERMEYER, GREGORRASPL, STEFAN
Owner IBM CORP
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products