1. A program storage device, comprising: program instructions executable by a processing device to perform operations for determining an optimal number of tasks during reorganization of a database system, the operations comprising: identifying memory constraints; identifying processing capabilities; and determining a number of reorganization processes and a combination of reorganization processes that provides a minimum reorganization time based upon the identified memory and processing constraints.