Understand the data structure of REDIS __ data structure

Source: Internet
Author: User
Tags redis
Structure Type values stored by the structure the ability to read and write structures
String can make strings, integers, floating-point numbers Performs an operation on an entire string or part of a string, and performs an increment (decrement) or self-subtraction () operation on integers and floating-point numbers
List A linked list, each node on the list contains a string Push or eject elements from both ends of the list, trim the scale by offset (trim), read single or multiple elements, and find or delete elements based on values
Set The unordered collector (unordered collection) that contains the string, and each string contained is unique Add, get, delete a single element, check whether an element exists in the set, compute the intersection, set the difference, and get the element randomly from the collection
Hash Unordered hash list containing key-value pairs Add, get, delete a single key value pair; Get all the key-value pairs
Zset A sequential mapping between a member of a string, or a floating-point value (score), in which the order of elements is determined by the size of the value. Add, get, delete a single element, get the element based on the score Range (range) or member
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.