Typical scenario | How PolarDB-X supports SaaS multi-tenancy

SaaS multi-tenant background For many platform applications or systems (such as e-commerce CRM platforms, warehouse order platforms, etc.), their service models are developed around the user dimension (the user dimension here can be a seller or brand, a warehouse, etc.) . Therefore, for this type of platform business, in order to support the horizontal scalability […]

NoSQL redis persistence (RDB, AOF)

Table of Contents 1. Redis high availability 2. Redis persistence 1. Persistence function 2. Two persistences of Redis 3. RDB persistence 1. Trigger conditions 1.1 Manual trigger 1.2 Automatic triggering 1.3 Other automatic triggering mechanisms 2. Execution process 3. Load RED files at startup (recovery) 4. Redis AOF persistence 1. Turn on AOF 2. Execution […]

RDB interpretation of Redis persistence

Table of Contents What is RDB Interpretation of configuration location parameters how to use Automatic trigger manual trigger save bgsave Recovery of RDBRDB persistent files normal recovery Recovery failure handling method RDB advantages RDB Disadvantages Redis is an in-memory database. When the redis server restarts or the computer restarts, the data will be lost. We […]

redis series 16 persistent RDB

1. Overview Redis is an in-memory database. Once the server process exits, the state of the database memory data in the server will also disappear. In order to solve this problem, Redis provides RDB persistence function, which can save the database state of redis in memory to disk to avoid accidental data loss. RDB persistence […]

Redis RDB persistence

Redis is a key-value pair database server. The server usually contains any number of non-empty databases, and each non-empty database can contain any number of key-value pairs. For convenience, we will list the non-empty databases in the server and their The key-value pairs of are collectively referred to as the database state. For example, the […]

Redis persistent RDB and AOF

Redis persistent RDB and AOF Redis has two persistence schemes, RDB (Redis DataBase) and AOF (Append Only File). If you want to quickly understand and use RDB and AOF, you can skip to the bottom of the article to see the summary. This chapter learns the key knowledge of Redis persistence through configuration files, ways […]

Redis 6.5 RDB and AOF persistent source code

We all know that redis has two persistence methods, one is AOF (Append Only File) and the other is RDB (Redis DataBase). The difference is not introduced here. You can go to Redis Persistence RDB and AOF for comparison and sorting You may have this question, or the interviewer will ask you, when will AOF […]

Java parses Redis rdb files

This program mainly uses java to parse the redis persistent rdb file. Considering that the rdb file may be relatively large and the parsing time is relatively long, it uses one thread to parse and one thread to write to the target file. Each class is explained below: 1. The Common class is mainly used […]