SYSTEMS AND METHODS FOR DYNAMICALLY RESIZING MEMORY POOLS
First Claim
1. A data processing system implemented method for resizing a memory pool in a database management system, comprising:
- i) forming the memory pool from at least one page grouping;
ii) if an increase in allocation to the memory pool is required, adding at least one page grouping to the memory pool to form a chain of page groupings;
iii) if a decrease in allocation to the memory pool is required, identifying at least one page grouping free of used memory blocks that may be freed from the memory pool, and freeing the at least one page grouping from the memory pool.
2 Assignments
0 Petitions
Accused Products
Abstract
There are disclosed systems, computer program products, and methods for dynamically resizing memory pools used by database management systems. In one aspect, if a decrease in allocation to the memory pool is required, at least one page grouping that may be freed from the memory pool is identified as a candidate based on its position in a list of page groupings. If the page grouping contains any used memory blocks, the used memory blocks may be copied from a candidate page grouping to another page grouping in the list in order to free the candidate page grouping. Once the candidate page grouping is free of used memory blocks, the candidate page grouping may be freed from the memory pool. As an example, this method may be used for dynamically resizing locklists or lock memory.
40 Citations
21 Claims
-
1. A data processing system implemented method for resizing a memory pool in a database management system, comprising:
-
i) forming the memory pool from at least one page grouping;
ii) if an increase in allocation to the memory pool is required, adding at least one page grouping to the memory pool to form a chain of page groupings;
iii) if a decrease in allocation to the memory pool is required, identifying at least one page grouping free of used memory blocks that may be freed from the memory pool, and freeing the at least one page grouping from the memory pool. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A data processing system for resizing a memory pool in a database management system, comprising:
-
means for forming the memory pool from at least one page grouping;
means for adding at least one page grouping to the memory pool to form a chain of page groupings if an increase in allocation of memory to the memory pool is required;
means for identifying at least one page grouping free of used memory blocks that may be freed from the memory pool, and freeing the at least one page grouping from the memory pool if a decrease in allocation of memory to the memory pool is required. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer program product comprising a data processor readable medium storing code that, when loaded into a data processing device, adapts the device to resize a memory pool, the data processor readable medium including:
-
code for forming the memory pool from at least one page grouping;
code for adding at least one page grouping to the memory pool to form a chain of page groupings if an increase in allocation of memory to the memory pool is required;
code for identifying at least one page grouping free of used memory blocks that may be freed from the memory pool, and freeing the at least one page grouping from the memory pool if a decrease in allocation of memory to the memory pool is required. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification