Patent ID: 8818948

Claim:
A method for performing a dynamic disk redistribution while maintaining a user's ability to access to a database, the method comprising: initializing a temporary file; copying a live database file from a memory device to the temporary file, wherein the temporary file comprises redistributed data; swapping the live database file with the temporary file, wherein swapping the live database file with the temporary file comprises distributing data from the temporary file evenly over one or more physical disks that make up the database; purging the live database file being copied; and wherein the redirection method further includes: receiving a next I/O operation during the dynamic disk redistribution; determining if the next I/O operation relates to redistributed data: upon determining that the next I/O operation does not relate to the redistributed data, performing the next I/O operation; upon determining that the next I/O operation relates to the redistributed data: determining if a target of the next I/O operation resides in the temporary file: upon determining that the target does not reside in the temporary file, performing the next I/O operation on the live database file; upon determining that the next I/O operation relates to the redistributed data, performing the next I/O operation on the temporary file and the live database file.