International Business Machines Corporation
Online reorganization of database tables with concurrent updates using virtual partitions

Last updated:

Abstract:

In an approach to online reorganization of database tables with concurrent updates using virtual partitions, responsive to receiving a table to reorganize, rows of the first table are selected, where the rows of the first table create a first virtual partition. A memory for a second virtual partition is allocated, where the second virtual partition is appended to a second table. A union view is created comprising a union of remaining rows of the first table with the second table, where the remaining rows of the first table have not been copied to the second table. The first virtual partition is copied into the second virtual partition. Responsive to receiving queries before copying the first virtual partition into the second virtual partition is complete, the queries are allowed to access the union view.

Status:
Grant
Type:

Utility

Filling date:

12 Jan 2021

Issue date:

7 Jun 2022