Patent ID: 8793230

Claim:
A method, comprising: creating, in a database, a target database schema for a target version of a software system; and upgrading a plurality of tenants in a current database schema of a current version of the software system to the target database schema, the upgrading comprising, for each tenant: capturing a current state of data corresponding to the tenant in the current database schema; transitioning, using at least one processor of a machine, the data corresponding to the tenant from the current database schema to the target database schema, the transitioning comprising transitioning a first data group of the data corresponding to the tenant in the current database schema to the target database schema while executing the tenant of the current database schema, and transitioning a second data group of the data corresponding to the tenant in the current database schema from the current database schema to the target database schema while the tenant of the current database schema is stopped; testing to verify the tenant in the target database schema; opening the tenant in the target database schema for users in response to the tenant in the target database schema being verified; and restoring the tenant in the current database schema using the captured state in response to the tenant in the target database schema not being verified.