Unlock instant, AI-driven research and patent intelligence for your innovation.

Redis cluster query method and device, computer readable storage medium and program product

A query method and cluster technology, applied in the computer field, can solve compatibility problems, cannot traverse multiple nodes at a time, etc.

Pending Publication Date: 2022-05-17
CHINA TELECOM CLOUD TECH CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, at present, the scan command can only query the data in the current single node in the Redis cluster, but cannot traverse multiple nodes in the entire Redis cluster at one time
In this way, when data in Redis containing only a single node is migrated to a Redis cluster containing multiple nodes, there will be compatibility issues if data traversal queries (use of the scan command) are involved

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Redis cluster query method and device, computer readable storage medium and program product
  • Redis cluster query method and device, computer readable storage medium and program product
  • Redis cluster query method and device, computer readable storage medium and program product

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] The following detailed description is made with reference to the accompanying drawings, and is provided to assist in a comprehensive understanding of various example embodiments of the present disclosure. The following description includes various details to aid in understanding, but these are to be regarded as examples only and not for the purpose of limiting the disclosure, which is defined by the appended claims and their equivalents. Words and phrases used in the following description are used only to enable a clear and consistent understanding of the present disclosure. In addition, descriptions of well-known structures, functions, and configurations may be omitted for clarity and conciseness. Those of ordinary skill in the art will recognize that various changes and modifications of the examples described herein can be made without departing from the spirit and scope of the disclosure.

[0015] In the Redis database, you can use the scan command to initiate a que...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a Redis cluster query method and device, a computer readable storage medium and a program product. The Redis cluster query method comprises the steps that a query request is obtained, and the query request comprises vernier parameters; analyzing a node index and an array index according to the vernier parameter, and determining a node corresponding to the node index as a starting node of iterative query data and a position corresponding to the array index as a starting position of the iterative query data; and starting from the initial position, acquiring data from the Redis cluster according to the query request.

Description

technical field [0001] The present disclosure generally relates to the field of computer technology, and more specifically relates to a Redis cluster query method, a Redis cluster query device, a computer-readable storage medium, and a computer program product. Background technique [0002] Remote Dictionary Server (Redis) is an open source key-value (Key-Value) database. In Redis, you can traverse a single node by executing the scan command, so as to query the relevant data in this node. In addition, in order to meet the growing demand for data processing, a Redis cluster containing multiple nodes can be built. However, at present, the scan command can only query the data in the current single node in the Redis cluster, but cannot traverse multiple nodes in the entire Redis cluster at one time. In this way, when data in Redis containing only a single node is migrated to a Redis cluster containing multiple nodes, there will be compatibility issues if data traversal queries...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F16/2455G06F16/28
CPCG06F16/2455G06F16/284
Inventor 廖少波汤俊健
Owner CHINA TELECOM CLOUD TECH CO LTD