×

Methods for dynamically resizing memory pools

  • US 7,469,329 B2
  • Filed: 03/30/2006
  • Issued: 12/23/2008
  • Est. Priority Date: 03/30/2006
  • Status: Expired due to Fees
First Claim
Patent Images

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, wherein each page of the at least one page groupings comprises a plurality of memory blocks;

    iii) if a decrease in allocation to the memory pool is required, 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;

    iv) if no page grouping that is available to be freed from the memory pool is identified in iii), then copying all used memory blocks 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,wherein if an interrupt occurs in iv) to cancel the decrease in allocation, the decrease in allocation is canceled,wherein if an interrupt occurs in iv) to further decrease allocation to the memory pool, at least one additional page grouping is added to the candidate list, andwherein if an interrupt occurs in iv) to further increase allocation to the memory pool, at least one page grouping is removed from the candidate list.

View all claims
  • 2 Assignments
Timeline View
Assignment View
    ×
    ×