1. A method for optimizing free space in a database, the method comprising the steps of: identifying, by one or more computer processors, a database, wherein the database has two or more tablespaces; creating, by one or more computer processors, a local partition and a global partition for each tablespace of the two or more tablespaces, wherein the created two or more global partitions are included in a global storage pool; receiving, by one or more computer processors, a request to move an object to a first local partition of a first tablespace of the two or more tablespaces; determining, by one or more computer processors, that an amount of used space of the first local partition is above a first threshold; and responsive to determining that the amount of used space of the first local partition is above the first threshold, storing, by one or more computer processors, at least a portion of the object in the global storage pool.