# US 2021/0342378 A1 · External storage of unstructured database objects

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

- Number: US 2021/0342378 A1
- Document ID: US20210342378A1
- Status: Published application
- Kind: A1
- Application number: 16/898,899
- Filed: 2020-06-11
- Published: 2021-11-04
- Earliest claimed: 2020-04-29
- Assignees: Sap SE
- Applicants: Sap SE
- Inventors: Martin Steiert; Horst Schaude; Regina Aboobacker; Sreekanth K; Pavan Kumar
- Web page: https://patentgrep.com/patent/US20210342378A1

## CPC

- G06F 16/35: Clustering; Classification
- G06F 16/972: {Access to data in other repository systems, e.g. legacy data or dynamic Web page generation}
- G06F 16/31: Indexing; Data structures therefor; Storage structures
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Systems and methods to migrate unstructured objects such as, but not limited to, attachments and platform change documents from a database to a cloud-provided external object storage. The unstructured objects may be designated for migration based on their creation date and/or other characteristics. Migration of an object may include conversion of the object to a serialized file in an object notation format. The database may maintain a header of the migrated object indicating the location to which the object was migrated.

## Claims

### Claim 1

A system comprising:
a memory storing processor-executable process steps;
a processing unit to execute the processor-executable process steps to cause the system to:
identify an unstructured object for migration from a database storage to an external storage, the unstructured object comprising an unstructured object item and an unstructured object header;
convert the unstructured object item to an object notation format;
transmit the converted unstructured object item to a cloud application for storage in an external storage; and
in response to a determination that the storage in the external storage is successful:
delete the unstructured object item from the database storage; and
update the unstructured object header in the database storage to indicate the external storage.

### Claim 2 (depends on 1)

A system according to claim 1, wherein identification of the unstructured object for migration from the database storage to the external storage comprises determining a creation date of the unstructured object is greater than a threshold time prior to a current date.

### Claim 3 (depends on 1)

A system according to claim 1, wherein transmission of the converted unstructured object to the cloud application for storage in the external storage comprises:
execution of a proxy class to request authentication with a cloud platform executing the cloud application; and
transmission of the converted unstructured object item from the proxy class to the cloud application.

### Claim 4 (depends on 1)

A system according to claim 1, the processing unit to execute the processor-executable process steps to cause the system to:
receive a request for the unstructured object;
determine, based on the unstructured object header in the database storage, that the unstructured object item is stored in the external storage;
request the unstructured object item from the cloud application;
receive the converted unstructured object;
convert the received converted unstructured object to the unstructured object; and
store the unstructured object in the database storage.

### Claim 5 (depends on 4)

A system according to claim 4, wherein transmission of the converted unstructured object to the cloud application for storage in the external storage comprises:
execution of a proxy class to request authentication with a cloud platform executing the cloud application; and
transmission of the converted unstructured object from the proxy class to the cloud application.

### Claim 6 (depends on 1)

A system according to claim 1, the processing unit to execute the processor-executable process steps to cause the system to:
determine that the unstructured object has been deleted from the external storage; and
in response to the determination that the unstructured object has been deleted from the external storage, transmit an instruction to the cloud application to delete the converted object from the external storage.

### Claim 7

A computer-implemented method comprising:
identifying an unstructured object for migration from a database storage to an external storage, the unstructured object comprising an unstructured object item and an unstructured object header;
converting the unstructured object item to an object notation format;
transmitting the converted unstructured object item to a cloud application for storage in an external storage; and
in response to determining that the storage in the external storage is successful:
deleting the unstructured object item from the database storage; and
updating the unstructured object header in the database storage to indicate the external storage.

### Claim 8 (depends on 7)

A method according to claim 7, wherein identifying the unstructured object for migration from the database storage to the external storage comprises determining a creation date of the unstructured object is greater than a threshold time prior to a current date.

### Claim 9 (depends on 7)

A method according to claim 7, wherein transmitting the converted unstructured object item to the cloud application for storage in the external storage comprises:
executing a proxy class to request authentication with a cloud platform executing the cloud application; and
transmitting the converted unstructured object from the proxy class to the cloud application.

### Claim 10 (depends on 7)

A method according to claim 7, further comprising:
receiving a request for the unstructured object;
determining, based on the unstructured object header in the database storage, that the unstructured object item is stored in the external storage;
requesting the unstructured object item from the cloud application;
receiving the converted unstructured object;
converting the received converted unstructured object to the unstructured object; and
storing the unstructured object in the database storage.

### Claim 11 (depends on 10)

A method according to claim 10, wherein transmitting the converted unstructured object item to the cloud application for storage in the external storage comprises:
executing a proxy class to request authentication with a cloud platform executing the cloud application; and
transmitting the converted unstructured object from the proxy class to the cloud application.

### Claim 12 (depends on 7)

A method according to claim 7, further comprising:
determining that the unstructured object has been deleted from the external storage; and
in response to the determination that the unstructured object has been deleted from the external storage, transmitting an instruction to the cloud application to delete the converted object from the external storage.

### Claim 13

A system comprising:
a database system comprising a database storage storing database tables and unstructured objects,
the database system to:
identify an unstructured object for migration from the database storage to a cloud-based object store, the unstructured object comprising an unstructured object item and an unstructured object header;
convert the unstructured object item to an object notation format;
transmit the converted unstructured object item to a cloud application for storage in the cloud-based object store; and
in response to a determination that the storage in the cloud-based object store is successful:
delete the unstructured object item from the database storage; and
update the unstructured object header in the database storage to indicate the cloud-based object store.

### Claim 14 (depends on 13)

A system according to claim 13, wherein identification of the unstructured object for migration from the database storage to the cloud-based object store comprises determining a creation date of the unstructured object is greater than a threshold time prior to a current date.

### Claim 15 (depends on 13)

A system according to claim 13, wherein transmission of the converted unstructured object item to the cloud application for storage in the cloud-based object store comprises:
execution of a proxy class to request authentication with a cloud platform executing the cloud application; and
transmission of the converted unstructured object item from the proxy class to the cloud application.

### Claim 16 (depends on 13)

A system according to claim 13, the database system to:
receive a request for the unstructured object;
determine, based on the unstructured object header in the database storage, that the unstructured object item is stored in the cloud-based object store;
request the unstructured object item from the cloud application;
receive the converted unstructured object;
convert the received converted unstructured object to the unstructured object; and
store the unstructured object in the database storage.

### Claim 17 (depends on 16)

A system according to claim 16, wherein transmission of the converted unstructured object item to the cloud application for storage in the cloud-based object store comprises:
execution of a proxy class to request authentication with a cloud platform executing the cloud application; and
transmission of the converted unstructured object item from the proxy class to the cloud application.

### Claim 18 (depends on 13)

A system according to claim 13, the database system to:
determine that the unstructured object has been deleted from the external storage; and
in response to the determination that the unstructured object has been deleted from the external storage, transmit an instruction to the cloud application to delete the converted object from the external storage.
