Method and device for storing data objects

A data object and data storage technology, which is applied in database indexing, structured data retrieval, electronic digital data processing, etc., can solve the problems that the system spends a lot of CPU time processing page replacement work, large cache space consumption, and memory structure adjustment. To achieve the effect of facilitating customer requests and I/O requests, reducing swap-in and swap-out operations, and reducing cache space

Active Publication Date: 2017-12-19
SAMSUNG (CHINA) SEMICONDUCTOR CO LTD +1
View PDF4 Cites 11 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] That is, the existing way of storing data objects makes the data objects loaded into the cache area (for example: the leaf nodes of the B / B+ tree) consume too much cache space, thereby swallowing a large part of the memory, and insufficient memory leads to: There are many cache misses in data retrieval, pages are frequently swapped in and out, the memory structure is frequently adjusted, and the system spends a lot of CPU time processing page replacement work, so that customer requests and I / O requests cannot be processed in a timely manner
Moreover, it also requires the database or file system to perform complex and time-consuming operations on cache management, reducing the performance of the database or file system

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
  • Method and device for storing data objects
  • Method and device for storing data objects
  • Method and device for storing data objects

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0027] Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like numerals refer to like parts throughout. The embodiments are described below in order to explain the present invention by referring to the figures.

[0028] figure 1 A flowchart showing a method for storing data objects according to an exemplary embodiment of the present invention.

[0029] refer to figure 1 , in step S101, when a write request for a data object is received, the data of the data object is split into a first part of data and a second part of data, wherein the first part of data includes: the data of the data object field, the second part of data includes: metadata of the data object.

[0030] Here, a data object can be understood as a set of interrelated data or a collection of interrelated data. For example, a collection that records at least one attribute information about a user can be regarded ...

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 provides a method and a device for storing data objects. The method includes the following steps that when the data object writing request is received, data of the data objects is divided into first partial data and second partial data, wherein the first partial data includes data fields of the data object, and the second partial data includes metadata of the data objects; the first partial data is wrote and stored in a first data file of a first external storage device; the location information, in the first external storage device, of the first partial data and the second partial data are wrote and stored in a second data file of a second external storage device. According to the method and the device, data required by retrieval of the data objects and high in access frequency is loaded into a cache region, the cache space occupied by each data object can thus be effectively reduced, and the data retrieval speed is ensured.

Description

technical field [0001] The present invention relates to the technical field of data storage, and more specifically, to a method and device for storing data objects. Background technique [0002] Existing databases or file systems usually use B / B+ trees, hash tables, skip tables, etc. as their cache management methods, and data is usually associated with these structures in the form of objects. Taking the B / B+ tree as an example, each data object will be stored in each tree node. In the B+ tree, the data information is moved to the leaf node, and the internal nodes of the B+ tree are only used to store the relevant Key value range. Because the data nodes are large, they usually take up a lot of memory. When performing big data analysis, it often leads to insufficient memory. At this time, the database or file system needs to use the relevant replacement algorithm (for example, LRU (Least Recently Used) algorithm) ) Discard the memory data page. After the memory page is disca...

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): G06F17/30
CPCG06F16/22G06F16/172G06F16/1734G06F16/13G06F16/182G06F16/24552G06F16/2291G06F16/2358
Inventor 解锋涛邵海珠戴月华
Owner SAMSUNG (CHINA) SEMICONDUCTOR CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products