# US 12,762,097 B2 · Migrating deployment infrastructure containers across different databases

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 12,762,097 B2
- Document ID: US12762097B2
- Status: Granted
- Kind: B2
- Application number: 17/838,955
- Filed: 2022-06-13
- Published: 2023-12-14
- Granted: 2026-10-13
- Earliest claimed: 2022-06-13
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Jian Luo; Qian Li; Ivan Veselinov Andreev; Joo Yeon Lee; Jonathan Bregler; Simon Lueders; Alexander Bunte; Eunsang Kim; Juchang Lee
- Web page: https://patentgrep.com/patent/US12762097B2

## CPC

- G06F 16/214: {Database migration support}
- G06F 16/212: {with details for data modelling support}
- G06F 16/2379: {Updates performed during online database operations; commit processing}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Technologies are described for migrating deployment infrastructure containers. Deployment infrastructure containers are used for isolating and deploying related database objects together. Deployment infrastructure containers can store design-time artifacts and run-time artifacts. Deployment infrastructure containers can be migrated using a first migration technique in which catalog objects are migrated from a source database system to a target database system and updated to work in the target database system (e.g., by updating metadata). Deployment infrastructure containers can also be migrated using a second migration technique that migrates design-time artifacts and builds the design-time artifacts at the target database system to re-create the run-time artifacts. Migrated deployment infrastructure containers can be integrated into the target environment, which can include creating new service instances and associating them with the migrated deployment infrastructure containers.

## Claims

### Claim 1

A method, performed by one or more computing devices, for migrating deployment infrastructure containers, the method comprising:
receiving a command to migrate a deployment infrastructure container comprising a design-time container storing design-time artifacts and a run-time container storing run-time artifacts from a source database system to a target database system;
responsive to the command, migrating the deployment infrastructure container from the source database system to the target database system, comprising:
migrating catalog objects from the source database system to the target database system, the catalog objects comprising catalog object metadata for the design-time container and the run-time container, a design-time schema associated with the design-time container, a run-time schema associated with the run-time container, and a system schema for the deployment infrastructure container; and
updating the migrated catalog objects at the target database system, comprising updating the migrated catalog object metadata at the target database system;
creating a new service instance for the migrated deployment infrastructure container; and
associating the new service instance with the migrated deployment infrastructure container at the target database system,
wherein updating the migrated catalog object metadata at the target database system comprises:
comparing a persistent version field of the migrated catalog objects to a persistent version associated with the target database system, wherein the persistent version field indicates a physical and logical format of the migrated catalog object metadata;
determining that a version of the migrated catalog objects is older than the persistent version associated with the target database;
and responsive to the determination, updating the migrated catalog object metadata.

### Claim 2 (depends on 1)

The method of claim 1, wherein migrating the catalog objects from the source database system to the target database system further comprises:
migrating user information representing users associated with the deployment infrastructure container from the source database system to the target database system.

### Claim 3 (depends on 1)

The method of claim 1, wherein updating the migrated catalog object metadata at the target database system comprises re-writing metadata in the design-time schema of the migrated deployment infrastructure container.

### Claim 4 (depends on 1)

The method of claim 1, wherein updating the migrated catalog objects at the target database system comprises updating a container format of the migrated deployment infrastructure container to be compatible with the target database system.

### Claim 5 (depends on 1)

The method of claim 1, wherein migrating the catalog objects from the source database system to the target database system comprises:
copying the catalog objects from the source database system to temporary storage;
and copying the catalog objects from the temporary storage to the target database system.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
creating credentials for use by a cloud application in accessing the migrated deployment infrastructure container; and
storing the credentials at the cloud application.

### Claim 7 (depends on 1)

The method of claim 1, wherein the source database system is a legacy database system and wherein the target database system is a cloud database system.

### Claim 8

One or more computing devices comprising:
processors; and
memory;
the one or more computing devices configured, via computer-executable instructions, to perform operations for migrating deployment infrastructure containers, the operations comprising:
receiving a command to migrate a deployment infrastructure container comprising a design-time container storing design-time artifacts and a run-time container storing run-time artifacts from a source database system to a target database system;
responsive to the command, migrating the deployment infrastructure container from the source database system to the target database system, comprising:
migrating catalog objects from the source database system to the target database system, the catalog objects comprising catalog object metadata for the design-time container and the run-time container, a design-time schema associated with the design-time container, a run-time schema associated with the run-time container, and a system schema for the deployment infrastructure container; and
updating the migrated catalog objects at the target database system, comprising updating the migrated catalog object metadata at the target database system;
creating a new service instance for the migrated deployment infrastructure container; and
associating the new service instance with the migrated deployment infrastructure container at the target database system,
wherein updating the migrated catalog object metadata at the target database system comprises:
comparing a persistent version field of the migrated catalog objects to a persistent version associated with the target database system, wherein the persistent version field indicates a physical and logical format of the migrated catalog object metadata;
determining that a version of the migrated catalog objects is older than the persistent version associated with the target database;
and responsive to the determination, updating the migrated catalog object metadata.

### Claim 9 (depends on 8)

The one or more computing devices of claim 8, wherein migrating the catalog objects from the source database system to the target database system further comprises:
migrating user information representing users associated with the deployment infrastructure container from the source database system to the target database system.

### Claim 10 (depends on 8)

The one or more computing devices of claim 8, wherein updating the migrated catalog object metadata at the target database system comprises re-writing metadata in the design-time schema of the migrated deployment infrastructure container.

### Claim 11 (depends on 8)

The one or more computing devices of claim 8, wherein updating the migrated catalog objects at the target database system comprises updating a container format of the migrated deployment infrastructure container to be compatible with the target database system.

### Claim 12 (depends on 1)

The method of claim 1, further comprising:
with a deployment infrastructure server, performing one or more update operations so that the migrated deployment infrastructure container is compatible with the target database system, the one or more update operations comprising the updating of the migrated catalog objects at the target database system and updating the migrated system schema at the target database system.

### Claim 13 (depends on 1)

The method of claim 1, wherein the migration of the deployment infrastructure containers is performed as part of an overall migration procedure, the overall migration procedure comprising a catalog migration phase followed by a phase that migrates the deployment infrastructure containers and a data migration phase in which database tables belonging to the deployment infrastructure containers are migrated.
