1. A computer-implemented method of managing a database contained in a storage facility, comprising: structuring the database to have a plurality of tables having indexes to related rows and having keys with key values associated with particular rows; and deleting rows in the database tables by deleting keys in indexes related to the rows in an order such that corresponding rows are deleted based on relation to the keys.