# US 2025/0094385 A1 · Hyper-scale, elastic, smart, shared, database aware storage

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

- Number: US 2025/0094385 A1
- Document ID: US20250094385A1
- Status: Published application
- Kind: A1
- Application number: 18/885,394
- Filed: 2024-09-13
- Published: 2025-03-20
- Earliest claimed: 2023-09-15
- Assignees: Oracle International Corporation
- Applicants: Oracle International Corporation
- Inventors: Nilesh Choudhury; Juan R. Loaiza; Kothanda Umamageswaran; Jia Shi; Vijay Sridharan; Alexander Tsukerman; Siddharth Choudhary
- Web page: https://patentgrep.com/patent/US20250094385A1

## CPC

- G06F 16/13: File access structures, e.g. distributed indices (arrangements of input from, or output to, record carriers G06F3/06)
- G06F 16/278: {Data partitioning, e.g. horizontal or vertical partitioning}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

Herein is an accelerated interface between a database server and a storage area network (SAN). Persistent torage being managed for a database is spread across a number of storage buckets. Global distributed storage metadata is used only for tracking the location of storage buckets on different storage servers. With this approach, a very small amount of memory is needed at a global distributed level to maintain the map. Each storage bucket can have any number of mirrored replicas for further increasing speed and reliability. A database server contains a storage bucket map in memory, and uses the map to do database online transaction processing (OLTP) I/O and smart (i.e. offloaded) database operations on storage. This allows for direct I/O between database server and storage server with lower latency and without using slow and remote middleware such as a logical unit number (LUN) metadata server on a separate network element.

## Claims

### Claim 1

A method comprising:
receiving a request to access a database extent in a database file;
obtaining, based on the request, a bucket number of a storage bucket that can aggregate the database extent in the database file;
selecting, based on the bucket number of the storage bucket, a storage drive in a storage server;
accessing, in the storage drive, the database extent in the database file; and
sending a response that is based on said accessing.

### Claim 2 (depends on 1)

The method of claim 1 wherein:
said selecting comprises using the bucket number of the storage bucket as a lookup key to retrieve the storage bucket;
the storage bucket contains an identifier of the storage drive and an identifier of the storage server.

### Claim 3 (depends on 2)

The method of claim 2 wherein:
the request contains a location version number;
the storage bucket contains a location version number;
the method further comprises detecting that the location version number in the request is not less than the location version number in the storage bucket;
said selecting is responsive to said detecting.

### Claim 4 (depends on 3)

The method of claim 3 wherein:
said storage drive is a first storage drive;
the method further comprises:
moving the storage bucket from said first storage drive to a second storage drive;
increasing, in response to said moving, the location version number in the storage bucket.

### Claim 5 (depends on 3)

The method of claim 3 wherein:
said request is a first request;
the method further comprises after said sending:
receiving a second request that contains the location version number of the first request, and
rejecting, based on the location version number in the second request, the second request.

### Claim 6 (depends on 1)

The method of claim 1 wherein:
said receiving comprises receiving from a database server;
said sending comprises sending to the database server.

### Claim 7 (depends on 6)

The method of claim 6 wherein said receiving from the database server comprises receiving a remote direct memory access (RDMA) request.

### Claim 8 (depends on 1)

The method of claim 1 performed by said storage server.

### Claim 9 (depends on 1)

The method of claim 1 wherein the request contains none of: a logical unit number (LUN) and an identifier of the storage drive.

### Claim 10

A method comprising:
obtaining a bucket number of a storage bucket that can aggregate a database extent in a database file;
sending, based on the bucket number of the storage bucket, a first request to access the database extent in the database file, wherein the first request contains a location version number;
detecting that the first request failed because the location version number of the storage bucket is stale; and
in response to said detecting:
retrieving a latest location version number of the storage bucket, and
sending a second request that represents the first request except that the second request contains said latest location version number of the storage bucket.

### Claim 11 (depends on 10)

The method of claim 10 performed by a database server.

### Claim 12 (depends on 11)

The method of claim 11 performed in a single transaction of a database that contains the database file.

### Claim 13 (depends on 10)

The method of claim 10 wherein:
said sending the first request comprises sending to a first storage server;
said sending the second request comprises sending to a second storage server.

### Claim 14 (depends on 13)

The method of claim 13 further comprising a database server generating the first request including storing, in the first request, an identifier of the database server or an identifier of the first storage server.

### Claim 15

One or more non-transitory computer-readable media storing instructions that, when executed by one or more processors, cause:
receiving a request to access a database extent in a database file;
obtaining, based on the request, a bucket number of a storage bucket that can aggregate the database extent in the database file;
selecting, based on the bucket number of the storage bucket, a storage drive in a storage server;
accessing, in the storage drive, the database extent in the database file; and
sending a response that is based on said accessing.

### Claim 16 (depends on 15)

The one or more non-transitory computer-readable media of claim 15 wherein said selecting comprises using the bucket number of the storage bucket as a lookup key to retrieve the storage bucket.

### Claim 17 (depends on 16)

The one or more non-transitory computer-readable media of claim 16 wherein:
the request contains a location version number;
the storage bucket contains a location version number;
the instructions further cause detecting that the location version number in the request is not less than the location version number in the storage bucket;
said selecting is responsive to said detecting.

### Claim 18 (depends on 15)

The one or more non-transitory computer-readable media of claim 15 wherein:
said receiving comprises receiving from a database server;
said sending comprises sending to the database server.

### Claim 19

One or more non-transitory computer-readable media storing instructions that, when executed by one or more processors, cause:
obtaining a bucket number of a storage bucket that can aggregate a database extent in a database file;
sending, based on the bucket number of the storage bucket, a first request to access the database extent in the database file, wherein the first request contains a location version number;
detecting that the first request failed because the location version number of the storage bucket is stale; and
in response to said detecting:
retrieving a latest location version number of the storage bucket, and
sending a second request that represents the first request except that the second request contains said latest location version number of the storage bucket.

### Claim 20 (depends on 19)

The one or more non-transitory computer-readable media of claim 19 wherein the one or more processors are contained in a database server.

### Claim 21 (depends on 20)

The one or more non-transitory computer-readable media of claim 20 wherein the instruction are executed for a single transaction of a database that contains the database file.
