# US 2016/0253341 A1 · Managing a binary object in a database system

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

- Number: US 2016/0253341 A1
- Document ID: US20160253341A1
- Status: Published application
- Kind: A1
- Application number: 15/148,600
- Filed: 2016-05-06
- Published: 2016-09-01
- Earliest claimed: 2010-05-21
- Assignees: Microsoft Technology Licensing, LLC
- Applicants: Microsoft Technology Licensing, LLC
- Inventors: Pradeep Madhavarapu; Michael Warmington; Alexandru Chirica; Jun Fang; Rohan Kumar; Maciej Plaza; Srini Acharya
- Web page: https://patentgrep.com/patent/US20160253341A1

## CPC

- G06F 16/122: {using management policies (point-in-time backing up or restoration of persistent data G06F11/1446; file migration policies for HSM systems G06F16/185)}
- G06F 16/13: File access structures, e.g. distributed indices (arrangements of input from, or output to, record carriers G06F3/06)
- G06F 16/20: of structured data, e.g. relational data
- G06F 16/2219: {Large Object storage; Management thereof}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method for managing a binary object in a database system is provided. The method may include receiving a request to store the binary object and determining if a size of the binary object is above a first threshold. If the size is less than the first threshold, the method may include storing the binary object in a database of the database system using a database communication protocol. If the size is above the first threshold, the method may include determining if the size is above a second threshold. To this end, if the size is less than the second threshold, the method may include storing the binary object in a file system of the database system using the database communication protocol. Furthermore, if the size is above the second threshold, the method may include storing the binary object in the file system using a file system communication protocol.

## Claims

### Claim at position 1

1-20. (canceled)

### Claim 21

A method of managing a binary object in a database system, the method comprising:
determining whether a size of data that is associated with the binary object is greater than a first threshold;
if the size of the data is less than the first threshold, storing the binary object in a database of the database system using a database communication protocol; and
if the size of the data is greater than the first threshold, storing the binary object in a file system of the database system using the database communication protocol.

### Claim 22 (depends on 21)

The method of claim 21, further comprising:
buffering the data to determine the size of the data;
wherein determining whether the size of the data is greater than the first threshold comprises:
determining whether the size of the data is greater than the first threshold in response to buffering the data.

### Claim 23 (depends on 22)

The method of claim 22, wherein buffering the data comprises:
dividing the binary object into multiple buffers, each of the multiple buffers being smaller than a threshold size.

### Claim 24 (depends on 23)

The method of claim 23, wherein determining whether the size of the data is greater than the first threshold comprises:
determining that the size of the data is greater than the first threshold; and
wherein, if the size of the data is greater than the first threshold, storing the binary object in the file system of the database system using the database communication protocol comprises:
combining the multiple buffers to store the binary object in the file system of the database system using the database communication protocol in response to a determination that the size of the data is greater than the first threshold.

### Claim 25 (depends on 21)

The method of claim 21, further comprising:
determining the size of the data based on a global unique identifier in which the size of the data is encoded;
wherein determining whether the size of the data is greater than the first threshold comprises:
determining whether the size of the data is greater than the first threshold in response to determining the size of the data.

### Claim 26 (depends on 21)

The method of claim 21, wherein, if the size of the data is greater than the first threshold, storing the binary object in the file system of the database system using the database communication protocol, comprises:
if the size of the data is greater than the first threshold, storing the binary object in the file system of the database system using the database communication protocol without writing a copy of the binary object to a database log.

### Claim 27 (depends on 21)

The method of claim 21, wherein determining whether the size of the data is greater than the first threshold comprises:
determining that the size of the data is greater than the first threshold; and
wherein, if the size of the data is greater than the first threshold, storing the binary object in the file system of the database system using the database communication protocol, comprises:
in response to a determination that the size of the data is greater than the first threshold, selecting between the database communication protocol and a file system communication protocol for storing the binary object in the file system of the database system depending on whether the size of the data is greater than a second threshold that is greater than the first threshold, the selecting comprising:
storing the binary object in the file system of the database system using the database communication protocol in response to the size of the data not being greater than the second threshold.

### Claim 28

A system to manage a binary object in a database system, the system comprising:
an element that includes one or more processors,
the element configured to determine whether a size of data that is associated with the binary object is greater than a first threshold,
the element configured to store the binary object in a database of the database system using a database communication protocol in response to the size of the data being less than the first threshold,
the element configured to store the binary object in a file system of the database system using the database communication protocol in response to the size of the data being greater than the first threshold.

### Claim 29 (depends on 28)

The system of claim 28, wherein the element is configured to buffer the data to determine the size of the data; and
wherein the element is configured to determine whether the size of the data is greater than the first threshold in response to the data being buffered to determine the size of the data.

### Claim 30 (depends on 29)

The system of claim 29, wherein the element is configured to buffer the data by dividing the binary object into multiple buffers, each of the multiple buffers being smaller than a threshold size.

### Claim 31 (depends on 30)

The system of claim 30, wherein the element is configured to combine the multiple buffers to store the binary object in the file system of the database system using the database communication protocol in response to a determination that the size of the data is greater than the first threshold.

### Claim 32 (depends on 28)

The system of claim 28, wherein the element is configured to determine the size of the data based on a global unique identifier in which the size of the data is encoded; and
wherein the element is configured to determine whether the size of the data is greater than the first threshold in response to the size of the data being determined based on the global unique identifier.

### Claim 33 (depends on 28)

The system of claim 28, wherein the element is configured to store the binary object in the file system of the database system using the database communication protocol without writing a copy of the binary object to a database log in response to the size of the data being greater than the first threshold

### Claim 34 (depends on 28)

The system of claim 28, wherein the element is configured to select between the database communication protocol and a file system communication protocol for storing the binary object in the file system of the database system depending on whether the size of the data is greater than a second threshold that is greater than the first threshold, in response to the size of the data being greater than the first threshold.

### Claim 35 (depends on 34)

The system of claim 34, wherein the element is configured to store the binary object in the file system of the database system using the database communication protocol in response to the size of the data being greater than the first threshold and further in response to the size of the data not being greater than the second threshold.

### Claim 36 (depends on 35)

The system of claim 35, wherein the element is configured to store the binary object in the file system of the database system using the file system communication protocol in response to the size of the data being greater than the first threshold and further in response to the size of the data being greater than the second threshold.

### Claim 37

A system to manage a binary object in a database system, the system comprising:
an element that includes one or more processors,
the element configured to select a designated protocol from a plurality of protocols to manage the binary object in the database system according to a size of the binary object,
the element further configured to select a designated location in which to store the binary object from a plurality of locations according to the size of the binary object,
the designated protocol being a database communication protocol and the designated location being a database of the database system in response to the size of the binary object being in a first range of sizes,
the designated protocol being the database communication protocol and the designated location being a file system of the database system in response to the size of the binary object being in a second range of sizes.

### Claim 38 (depends on 37)

The system of claim 37, wherein the designated protocol is a file system communication protocol and the designated location being the file system of the database system in response to the size of the binary object being in a third range of sizes.

### Claim 39 (depends on 37)

The system of claim 37, wherein the element is configured to buffer the data to determine the size of the data.

### Claim 40 (depends on 39)

The system of claim 39, wherein the element is configured to buffer the data by dividing the binary object into multiple buffers in response to the size of the data being greater than a threshold size, each of the multiple buffers being smaller than the threshold size.
