Updated on 2023-09-27 GMT+08:00

To Redis

Table 1 lists the destination job parameters when the destination link is a Redis link.
Table 1 Parameter description

Parameter

Description

Example Value

Redis Key Prefix

Key prefix, which is similar to the table name of a relational database

TABLE

Value Storage Type

The options are as follows:
  • String: without column name, such as value1,value2
  • Hash: with column name, such as column1=value1,column2=value2

String

Use Column Value as Field

This parameter is displayed when Value Storage Type is set to Hash. Only Hash is supported. If this function is enabled, values are alternately used as fields and values in sequence except the primary key column.

Yes

Delete Same Key Before Writing

Whether to delete the same key before writing.

  • No: If a key with the same name but of a different type already exists in Redis, the migration job skips the key.
  • Yes: Redis deletes the existing key with the same name and then performs the migration.

No

Key Delimiter

Character used to separate table names and column names of a relational database

_

Value Delimiter

Character used to separate columns when the storage type is string

;

Validity period of the key value

Unified time to live (TTL) of a key, in seconds

300