Patent ID: 8364677

Claim:
In an information handling system a method for generating said partition key, comprising the steps of: dividing a plurality of entries of a database table into a plurality of partitions, each of said partitions having a corresponding range of partition keys, each of said entries being assigned to one of said partitions in accordance with a partition key generated for each entry; generating, on a computing device, a partition subrange identifier specifying a subrange of key values in one of said partitions; generating a sequence number specifying a particular key value within a subrange; generating said partition key by combining said partition subrange identifier and said sequence number; maintaining a control table that stores, for each partition, a highest key and a base key value specifying a block of key values from which new keys are currently being assigned from; and responsive to a repartitioning of the database into a plurality of new partitions, updating said control table to store for each of said new partitions a highest key value and a repartitioned base key value specifying a new block of key values from which new keys are currently being assigned from, wherein the repartitioned base key value stored for each of said new partitions comprises a combination of a partition subrange identifier and a base key sequence number, wherein the base key sequence numbers stored for the new partitions after repartitioning are equal to the largest value of any of the base key sequence numbers before repartitioning, wherein the base key sequence number is increased for each entry inserted into the database table from beginning key value of a partition.