Redis-based mass data classified storage method and system
A mass data and storage system technology, applied in the computer field, can solve problems such as increasing response timeout rate, increasing query time, and difficulty in meeting the continuous growth of user data volume, and achieve the effect of reducing memory fragmentation and memory occupation
Active Publication Date: 2021-08-24
上海艾麒信息科技股份有限公司
12 Cites 0 Cited by
AI-Extracted Technical Summary
Problems solved by technology
View more
Method used
View more
Abstract
The invention provides a Redis-based mass data classified storage method and system, and the method comprises the steps: S1, classifying data, and defining a data category ID for each category of data; S2, for each data category, calculating the number N of hash buckets according to the data scale of the corresponding actual service; S3, taking the data identifier ID, the data category ID and the number N of the data buckets as input parameter factors, and performing hash calculation to obtain a hash key and a field; S4, using the data content corresponding to the data identification ID as a hashvalue; and S5, storing the hashkey, the field and the hashvalue into the redis. According to the method and the device, the user data identifier is converted into a digital form and is stored in redis in the form of hash type data, so that the purpose of reducing memory occupation is achieved.
Application Domain
Redundant data error correctionSpecial data processing applications +1
Technology Topic
Data contentEngineering +6
Image
Examples
- Experimental program(2)
Example Embodiment
Example Embodiment
PUM


Description & Claims & Application Information
We can also present the details of the Description, Claims and Application information to help users get a comprehensive understanding of the technical details of the patent, such as background art, summary of invention, brief description of drawings, description of embodiments, and other original content. On the other hand, users can also determine the specific scope of protection of the technology through the list of claims; as well as understand the changes in the life cycle of the technology with the presentation of the patent timeline. Login to view more.
Similar technology patents
Data retrieval method for e-commerce government affair system
Owner:合肥微商圈信息科技有限公司
Message transmission system and transmission method supporting unicast and broadcast
Owner:重庆攸亮科技股份有限公司
Method and device for managing files on disk, computer equipment and storage medium
Owner:BEIJING TOPSEC NETWORK SECURITY TECH +2
Memory multiplexing method and device in audio recording equipment, equipment and medium
Owner:GUANGZHOU QUWAN NETWORK TECH CO LTD
Picture display method, device and equipment and storage medium
Owner:上海御微半导体技术有限公司
Classification and recommendation of technical efficacy words
- Reduce memory usage
- Reduce memory fragmentation
Method and/or apparatus for high speed visualization of depth image-based 3D graphic data
Owner:SAMSUNG ELECTRONICS CO LTD
Method and device for acquiring routing information
Owner:ZTE CORP
Method and device for reducing memory occupation, electronic equipment and readable storage medium
Owner:BEIJING KUANGSHI TECH
Picture display method and apparatus, storage medium, processor and terminal
Owner:NETEASE (HANGZHOU) NETWORK CO LTD
Character string matching method and device
Owner:HILLSTONE NETWORKS CORP