Home> Database> Redis> body text

Can the key of redis be in Chinese?

藏色散人
Release: 2019-06-17 16:05:41
Original
9601 people have browsed it

Can the key of redis be in Chinese?

The Redis key command is used to manage redis keys. (Recommended: "Redis Video Tutorial")

The basic syntax of the Redis key command is as follows:

redis 127.0.0.1:6379> COMMAND KEY_NAME
Copy after login

The key of redis can be Chinese?

The key can be Chinese, but redis will serialize the key when storing it, and what is stored in redis is bytecode.

It is not recommended to use Chinese Key, as it will cause greater internal consumption and the possibility of garbled characters. Encoded byte storage, etc. all occupy different space.

The above is the detailed content of Can the key of redis be in Chinese?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!