Inventors:
Ying Hu - Nashua NH, US
Seema Sundara - Nashua NH, US
Jagannathan Srinivasan - Nashua NH, US
Assignee:
Oracle International Corporation - Redwood Shores CA
International Classification:
G06F 7/00
G06F 17/00
Abstract:
A method, system, and computer program product provides improved performance for rebuild of user-defined indexes during partition maintenance operations (partition split, merge, and move). A method of maintaining a index of a partitioned database table comprises performing a partition maintenance operation on the partitioned database table wherein a plurality of rows of the partitioned database table are moved from one partition to another, storing mapping information for at least some of the plurality of moved rows, including an old mapping for each of the moved rows and a corresponding new mapping for each of the moved rows, and when rebuilding the index, replacing an old mapping in the index for each of the plurality of moved rows with the corresponding stored new mapping for each of the plurality of moved rows.