Unlock instant, AI-driven research and patent intelligence for your innovation.

Dynamic management of memory allocation in a database

a database and dynamic management technology, applied in the field of database, can solve the problems of increasing the complexity of software applications, and wasting the memory available to databases

Active Publication Date: 2018-06-14
INT BUSINESS MASCH CORP
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the leveraging of the dynamic memory allocation by the software applications increases their complexity.
However, the static memory allocation may cause a shortage or a waste of the memory available to the databases.
Particularly, this significantly increases the complexity of the software applications that are designed to work with multiple databases (using different types of memory allocation).
Therefore, even a relatively small number of invocations of the stored statements involving the allocation of large objects may case a shortage of the memory that is available to the databases.
These situations are quite difficult (if not impossible) to predict in advance; as a result, they are generally discovered only at runtime when corresponding exceptions are raised by the databases.
All of the above has a detrimental effect on the reliability of the databases, and then of the software applications accessing them.

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
  • Dynamic management of memory allocation in a database
  • Dynamic management of memory allocation in a database
  • Dynamic management of memory allocation in a database

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021]With reference in particular to FIG. 1A-FIG. 1D, the general principles are shown of the solution according to an embodiment of the present disclosure.

[0022]Starting from FIG. 1A, a database 101 (for example, of the relational type) stores one or more stored statements. The stored statements implement operations that are pre-defined and saved in the database 101 (for example, already compiled); the stored statements may be stored procedures, user-defined functions (UDFs), prepared queries for performing common operations, such as data validation, access control. Each stored statement is defined so as to allocate one or more objects relating to its execution every time the stored statement is invoked; the database use a static memory allocation, wherein each object is allocated with a pre-defined size. Any client accessing the database 101 (for example, a software application) may submit an invocation of any stored statement for its execution.

[0023]Moving to FIG. 1B, in the sol...

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 memory allocation in a database receives an invocation of a stored statement defined to allocate objects, each with a stored size. The method determines an actual size relating to the invocation and determines a preferred statement among defined statements with defined object sizes. The defined statements include the stored statement and alternative stored statements that provide an alternative implementation of the stored statement defined to allocate the objects with alternative sizes lower than stored sizes. The preferred statement has defined sizes compliant to actual sizes according to preference criterion based on comparing defined and actual sizes. The method invokes the preferred statement for execution in place of the stored statement when different. The method stores a new statement, having new sizes compliant to actual sizes according to alternate criterion, responsive to unfulfilling a condition based on comparing defined sizes of the preferred statement with actual sizes.

Description

BACKGROUNDTechnical Field[0001]The present invention generally relates to databases, and more particularly to dynamic management of memory allocation in a database.Description of the Related Art[0002]The background of the present invention is hereinafter introduced with the discussion of techniques relating to its context. However, even when this discussion refers to documents, acts, artifacts and the like, it does not suggest or represent that the discussed techniques are part of the prior art or are common general knowledge in the field relevant to the present invention.[0003]Databases are commonly used to store large amount of data in structured form (for example, organized in schemas, tables and views in relational databases); the databases define the data at a logical (or conceptual) level, which abstracts the data from their actual representation at a physical (or internal) level.[0004]The databases generally allow pre-defining and saving stored statements (for example, stored...

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): G06F3/06G06F17/30
CPCG06F3/0631G06F17/30474G06F3/0673G06F3/0607G06F16/24549
Inventor BELLIZIA, VALERIOSIDOTI, STEFANO
Owner INT BUSINESS MASCH CORP