Patent ID: 7757063
Filing Date: 2010-07-13
Classification: G06F,Y10S

Abstract:
1. 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, wherein each page of the at least one page groupings comprises a plurality of memory blocks; means for identifying at least one page grouping free of used memory blocks that are available to 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; means for copying all used memory blocked from each page grouping in a candidate list of at least one page grouping having at least one used memory blocks, to another page grouping in order to free each page grouping, in the candidate list, of used memory blocks, if no page grouping that is available to be freed from the memory pool is identified, wherein if an interrupt occurs in the copying to cancel the decrease in allocation, the decrease in allocation is cancelled, wherein if an interrupt occurs in the copying to further decrease allocation in the memory pool, at least one additional page grouping is added to the candidate list, and wherein if an interrupt occurs in the copying to further increase allocation to the memory pool, at least one page grouping is removed from the candidate list.