Deallocates unused permanent, temporary, and spool space allocated for a database that uses global space allocation, and can update space for one or more databases.
Fixes the inconsistencies between the AMP-level space allocations in the DBC.DatabaseSpace table and the global-level space allocations in the DBC.GlobalDBSpace table.