A mechanism is disclosed for migrating large data sets for product
upgrades. In one embodiment, an identifier is received as a parameter of
a first method of an API. In response to the receipt of the identifier as
a parameter of the first method, a utility is invoked. The utility
exports, as one or more transportable tablespaces, one or more database
objects that are associated with the identifier in a database. The
identifier is also received as a parameter of a second method of the same
API. In response to the receipt of the identifier as a parameter of the
second method of the API, a utility is also invoked. The utility imports,
into the database, database objects that are contained in the one or more
transportable tablespaces. The utility also associates, with the
identifier, the database objects that are contained in the one or more
transportable tablespaces.