Redis Learning Notes

Source: Internet
Author: User

First, the basic knowledge

  1. Store data in the form of key-value, so that you do not need to store objects with associated properties in multiple tables, like a relational database.
  2. Redis stores data in memory, which greatly increases the efficiency of data transfer and asynchronously writes to disk without compromising transmission efficiency, ensuring durability
  3. Redis is a dictionary-structured storage server, and a Redis instance provides multiple dictionaries for storing data, each of which corresponds to each database in a relational database
  4. Redis does not support setting different passwords for each database, and multiple databases in a Redis instance are not completely isolated, Flashall can empty all data for a Redis instance, and a Redis instance is suitable for storing different types of data for the same application. Instead of storing data for different types of applications, the Redis instance is lightweight for different types of application data that can be placed in different Redis instances.
  5. Hash type: Suitable for storing objects, using object categories and IDs to form key names, using fields to represent objects ' properties, and field values to store property values

6.

Redis Learning Notes

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.