Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Data storage method and device, apparatus and storage medium

A data storage and data technology, applied in database indexing, digital data processing, structured data retrieval, etc., can solve the problems of high data storage cost, high storage space consumption, single data storage mode, etc., and achieve the goal of reducing storage cost. Effect

Pending Publication Date: 2019-09-03
TENCENT TECH (SHENZHEN) CO LTD
View PDF0 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Since Elasticsearch supports a variety of data types, such as row storage, column storage, inverted index, spatial index, etc., the storage space consumption is relatively large; generally, the original data written to Elasticsearch requires storage space that is multiple times the size of the data itself, and the data of the Elasticsearch cluster The storage mode is single, and the data cannot be stored separately according to the heat of data access. If all the data is stored on a disk with better performance, the cost of data storage will be high

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
  • Data storage method and device, apparatus and storage medium
  • Data storage method and device, apparatus and storage medium
  • Data storage method and device, apparatus and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Apparently, the described embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0034] In the description of the present invention, it should be understood that the terms "first" and "second" are used for description purposes only, and cannot be interpreted as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Thus, a feature defined as "first" and "second" may explicitly or implicitly include one or more of these features. Also, the terms "first", "second", et...

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 data storage method and device, an apparatus and a storage medium, and the method comprises the steps of creating a data cluster which comprises a plurality of first attribute nodes, a plurality of second attribute nodes and a plurality of indexes; obtaining the current time and the creation time of each index in the data cluster, and for each index, determining whetherthe index meets a first migration condition or not according to the current time and the creation time of the index; creating a migration index list, and adding the indexes meeting the first migrationcondition in the data cluster into the migration index list; and determining the index meeting a second migration condition in the migration index list as a target index, and migrating the index dataof the target index from the first attribute node to the second attribute node. According to the present invention, the index data meeting the preset condition in the data cluster can be migrated, sothat the index data with different attributes can be separately stored, and the storage cost is reduced.

Description

technical field [0001] The present invention relates to data storage technology, in particular to a data storage method, device, equipment and storage medium. Background technique [0002] Elasticsearch is a distributed storage search engine. For a distributed storage system, data is stored scattered on multiple nodes. Elasticsearch nodes can have various attributes, including data nodes, master nodes, ingest nodes, and so on. In the native Elasticsearch storage solution, by configuring the relevant properties of the node, you can set its node type, and by configuring the path parameters, you can set its corresponding data directory. One or more Elasticsearch nodes will form an Elasticsearch cluster, and the data written to the cluster will be stored on each data node in units of indexes and fragments, and the data will be automatically balanced on each data node. [0003] Since Elasticsearch supports a variety of data types, such as row storage, column storage, inverted i...

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/22G06F16/2458
CPCG06F16/2228G06F16/2471
Inventor 黄华姜国强
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products