×

Management of user-defined routine libraries in database environments

  • US 7,016,911 B2
  • Filed: 12/10/2002
  • Issued: 03/21/2006
  • Est. Priority Date: 12/21/2001
  • Status: Expired due to Fees
First Claim
Patent Images

1. A computer program product for a computer programming environment comprising a database system, the database system comprising a memory device for storing user-defined routine libraries and a working memory for storing working copies of user-defined routine libraries, the computer program product comprising a computer usable medium having computer readable code means embodied in said medium for managing libraries of user-defined routines in the database system, comprising:

  • computer readable program code means for defining and launching an unload thread for unloading inactive libraries from the working memory, and computer readable program code means for defining and maintaining an identifying data structure for specifying locations in the working memory, the identifying data structure comprising entries, each entry specifying an associated loaded library stored in the working memory and having an associated last loaded value, the unload thread comprisingcomputer readable program code means for periodically accessing the identifying data structure to identify unload candidate libraries on an unload timing interval, each unload candidate library having an associated entry in the identifying data structure in which the last loaded value indicates that the unload candidate library has been inactive over the preceding unload timing interval;

    computer readable program code means for defining and maintaining a timing counter,computer readable program code means for incrementing the timing counter on a periodic basis related to the unload timing interval, andcomputer readable program code means for defining the last loaded values in entries in the identifying data structure based on the value of the timing counter, and in which the computer readable program code means for periodically accessing the identifying data structure to identify unload candidate libraries comprises means for comparing the last loaded values for entries in the identifying data structure with the timing counter.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×