# US 9,355,141 B2 · System and method for aggregating query results in a fault-tolerant database management system

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

- Number: US 9,355,141 B2
- Document ID: US9355141B2
- Status: Granted
- Kind: B2
- Application number: 14/462,706
- Filed: 2014-08-19
- Published: 2015-01-29
- Granted: 2016-05-31
- Earliest claimed: 2010-09-24
- Assignees: Hitachi Data Systems Corporation
- Applicants: Hitachi Data Systems Corporation
- Inventors: Jeffrey M. Crump; Margie E. Tirado
- Web page: https://patentgrep.com/patent/US9355141B2

## CPC

- G06F 16/248: Presentation of query results
- G06F 16/113: {Details of archiving (lifecycle management in storage systems G06F3/0649; point-in-time backing up or restoration of persistent data G06F11/1446)}
- G06F 16/148: {File search processing}
- G06F 16/1834: {implemented based on peer-to-peer networks, e.g. gnutella (p2p communication protocols H04L67/104)}
- G06F 16/184: {implemented as replicated file system}
- G06F 16/245: Query processing
- G06F 16/2455: Query execution
- G06F 16/24556: {Aggregation; Duplicate elimination}
- G06F 16/9535: Search customisation based on user profiles and personalisation
- G06Q 10/10: Office automation; Time management
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06Q: INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR

## Abstract

A redundant array of independent nodes are networked together. Each node executes an instance of an application that provides object-based storage. Metadata objects are stored in a set of regions distributed among the nodes across the array. A given region is identified by hashing a metadata object attribute and extracting a given set of bits of a resulting hash value. A method of managing query results comprises: receiving, by a first node of the plurality of independent nodes from a client application, a request for a list of objects with a criterion; issuing by the first node a query to all the nodes based on the received request; processing the query by each node over the regions in the node using the metadata objects stored in the regions; aggregating and filtering by the first node results of the query from all the nodes; and returning by the first node the aggregated and filtered results to the client application.

## Claims

### Claim 1

A storage system storing a plurality of content data, and a plurality of original metadata and back-up metadata associated with the plurality of content data, the storage system comprising:
a first node including a first processor; and
a plurality of second nodes, each having a first storage region storing one or more original metadata of the plurality of original metadata and a second storage region storing one or more back-up metadata of the plurality of back-up metadata, and each including a second processor being configured to manage the first storage region and the second storage region;
wherein on receipt of a first query, requesting a list of content data and/or metadata that satisfies a given criterion, by the first node, the first processor is configured to issue a second query, requesting a list of content data and/or metadata that satisfies the given criterion, to each of the plurality of second nodes,
wherein on receipt of the second query by each of the plurality of second nodes, the second processor of each of the plurality of second nodes is configured to search only its own first storage region out of its own first and second storage regions, for content data and/or metadata related to the given criterion, and provide result of the second query to the first node, and
wherein the first processor in the first node is further configured to aggregate the result sent from each of the plurality of second nodes.

### Claim 2 (depends on 1)

A storage system according to claim 1, wherein the first processor in the first node is further configured to sort the aggregated result, and return the sorted result to a client computer.

### Claim 3 (depends on 1)

A storage system according to claim 1, wherein the first processor in the first node is further configured to filter the aggregated result by operation type for content data and/or metadata, and return the filtered result to a client computer.

### Claim 4 (depends on 1)

A storage system according to claim 1,
wherein the first query and the second query specify a period of last modified time, and request content data and/or metadata which is modified in the specified period.

### Claim 5 (depends on 1)

A storage system according to claim 1,
wherein the first query and the second query specify a directory, and request content data and/or metadata which is stored in the specified directory.

### Claim 6 (depends on 1)

A storage system according to claim 1,
wherein the first query and the second query specify a namespace, and request content data and/or metadata which is stored in the specified namespace.

### Claim 7 (depends on 1)

A storage system according to claim 1,
wherein the first processor in the first node is further configured to manage its own first storage region storing one or more original metadata of the plurality of original metadata, and its own second storage region storing one or more back-up metadata of the plurality of back-up metadata,
wherein the first processor of the first node is further configured to search its own first storage region, without searching its own second storage region, for content data and/or metadata related to the given criterion, and
wherein the first processor in the first node is further configured to aggregate the result sent from each of the plurality of the second nodes and executed in the first node.

### Claim 8

A method for a storage system including a plurality of storage nodes and storing a plurality of content data, and a plurality of original metadata and back-up metadata associated with the plurality of content data, the method comprising:
in each of the plurality of storage nodes having a first storage region storing one or more original metadata of the plurality of original metadata and a second storage region storing one or more back-up metadata of the plurality of back-up metadata, managing the first storage region and the second storage region;
executing, by each of the plurality of storage nodes, a search on only its own first storage region of its own first and second storage regions, for content data and/or metadata related to a query requesting a list of content data and/or metadata that satisfies a given criterion; and
aggregating, by one of the storage nodes, results of the search sent from other storage nodes, to respond to the query.

### Claim 9 (depends on 8)

A method according to claim 8 further comprising:
sorting the aggregated result; and
returning the sorted result to a client computer.

### Claim 10 (depends on 8)

A method according to claim 8 further comprising:
filtering the aggregated result by operation type for content data and/or metadata; and
returning the filtered result to a client computer.

### Claim 11 (depends on 9)

A method according to claim 9, wherein the query specifies a period of last modified time, and requests content data and/or metadata which is modified in the specified period.

### Claim 12 (depends on 9)

A method according to claim 9, wherein the query specifies a directory, and requests content data and/or metadata which is stored in the specified directory.

### Claim 13 (depends on 9)

A method according to claim 9, wherein the query specifies a namespace, and requests content data and/or metadata which is stored in the specified namespace.

### Claim 14

A storage system storing a plurality of content data, and a plurality of original metadata and back-up metadata associated with the plurality of content data, the storage system comprising:
a plurality of storage nodes, each having a first storage region storing one or more original metadata of the plurality of original metadata and a second storage region storing one or more back-up metadata of the plurality of back-up metadata, and each including a processor being configured to manage the first storage region and the second storage region; and
a network being configured to couple the plurality of storage nodes with each other;
wherein the processor of each of the plurality of storage nodes is configured to search only its own first storage region of its own first and second storage regions, for content data and/or metadata related to a query requesting a list of content data and/or metadata that satisfies a given criterion, and provide result of the query to one of the storage nodes, and
wherein the processor in the one of the storage nodes is further configured to aggregate the result sent from other storage nodes.

### Claim 15 (depends on 14)

A storage system according to claim 14, wherein the processor in the one of the storage nodes is further configured to sort the aggregated result; and return the sorted result to a client computer.

### Claim 16 (depends on 14)

A storage system according to claim 14, wherein the processor in the one of the storage nodes is further configured to filter the aggregated result by operation type for content data and/or metadata; and return the filtered result to a client computer.

### Claim 17 (depends on 14)

A storage system according to claim 14, wherein the query specifies a period of last modified time, and requests content data and/or metadata which is modified in the specified period.

### Claim 18 (depends on 14)

A storage system according to claim 14, wherein the query specifies a directory, and requests content data and/or metadata which is stored in the specified directory.

### Claim 19 (depends on 14)

A storage system according to claim 14, wherein the query specifies a namespace, and requests content data and/or metadata which is stored in the specified namespace.
