Data storage method and device
A data storage and data technology, which is applied in electrical digital data processing, special data processing applications, instruments, etc., can solve the problems of poor data scalability, low data storage efficiency, cumbersome and other problems, and achieve good scalability, high efficiency, Simple process effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0027] Example one
[0028] When the related technology stores data, the background daemon needs to load the database data into the shared memory of the business server for storage. If the database data is updated, it is necessary to modify the code of the daemon process, and the daemon process after modifying the code loads the updated data into the shared memory for storage. When the amount of data is too large, the shared memory cannot load all the data, resulting in poor scalability of the storage structure; in addition, because the code of the daemon needs to be modified to load the updated data into the shared memory for storage, the code is modified The process is cumbersome, and the code needs to be modified every time the updated data is loaded. This makes the process of storing the updated data more cumbersome, with a long delay, and the scalability of the data in the shared memory is poor, resulting in low data storage efficiency .
[0029] In order to prevent the abov...
Example Embodiment
[0054] Example two
[0055] In order to simplify the data storage process, improve the scalability and efficiency when storing data, and thereby improve the efficiency of data query, an embodiment of the present invention provides a data storage method. The source of the data stored in this method is the data in the first database, and the data in the first database is stored in the form of data tables, and each data table is composed of multiple columns of data. Combining with the content of the first embodiment above, the method provided in this embodiment will be illustrated by examples. See figure 2 , The method flow provided in this embodiment includes:
[0056] 201: Determine at least one data acquisition instruction according to a configuration file, where the configuration file is used to describe each data table stored in the first database and the attributes of each column of data under each data table;
[0057] The configuration file may include, but is not limited to, ...
Example Embodiment
[0109] Example three
[0110] The embodiment of the present invention provides a data storage device, which is used to execute the data storage method provided in the first or second embodiment above. See image 3 , The device includes:
[0111] The first determining module 301 is configured to determine at least one data acquisition instruction according to the configuration file. The configuration file is used to describe each data table stored in the first database and the attribute of each column of data under each data table. The data table corresponds to a data acquisition instruction;
[0112] The first obtaining module 302 is configured to obtain at least one piece of first data under each data table from the first database according to each data obtaining instruction;
[0113] The second determining module 303 is configured to determine the key value corresponding to each piece of first data and the second data corresponding to each piece of first data, the second data is co...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2023 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap