Redis 配置参数详解

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Redis 配置参数详解相关的知识,希望对你有一定的参考价值。

参考技术A client-output-buffer-limit normal

client-output-buffer-limit slave

client-output-buffer-limit pubsub

bind

port

daemonize
-是否以后台守护的方式运行。

loglevel

logfile

timeout

maxclients

maxmemory

maxmemory-policy

slowlog-log-slower-than

slowlog-max-len

tcp-backlog

tcp-keepalive

requirepass

masterauth

rename-command CONFIG ""

dir

dbfilename

save

stop-writes-on-bgsave-error

rdbcompression

rdbchecksum

appendonly

appendfilename

appendfsync

aof-use-rdb-preamble

auto-aof-rewrite-percentage
auto-aof-rewrite-min-size

aof-load-truncated

no-appendfsync-on-rewrite

slave-serve-stale-data

slave-read-only

repl-diskless-sync

repl-diskless-sync-delay

repl-disable-tcp-nodelay

repl-backlog-size

repl-backlog-ttl

slave-prority

min-slaves-to-write N
min-slaves-max-lag M

cluster-enabled

cluster-config-file

cluster-node-timeout

cluster-replica-validity-factor 5

cluster-migration-barrier 1

cluster-require-full-coverage

cluster-replica-no-failover no

以上是关于Redis 配置参数详解的主要内容,如果未能解决你的问题,请参考以下文章

Redis配置参数详解

Redis 主从配置和参数详解

redis配置文件参数详解

Redis 配置参数详解

redis.conf参数配置文件详解

Redis 高可用方案 配置参数详解