redis配置文件在哪里


当前第2页 返回上一页

实例:

1

2

3

redis 127.0.0.1:6379> CONFIG GET loglevel

1) "loglevel"

2) "notice"

使用 * 号获取所有配置项:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

28

29

30

31

32

33

34

35

36

37

38

39

40

41

42

43

44

45

46

47

48

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

92

93

94

95

96

97

98

99

100

101

102

103

104

105

106

107

108

109

110

111

112

113

114

115

116

redis 127.0.0.1:6379> CONFIG GET *

  "dbfilename"

  "dump.rdb"

  "requirepass"

  ""

  "masterauth"

  ""

  "unixsocket"

 ""

 "logfile"

 ""

 "pidfile"

 "/var/run/redis.pid"

 "maxmemory"

 "0"

 "maxmemory-samples"

 "3"

 "timeout"

 "0"

 "tcp-keepalive"

 "0"

 "auto-aof-rewrite-percentage"

 "100"

 "auto-aof-rewrite-min-size"

 "67108864"

 "hash-max-ziplist-entries"

 "512"

 "hash-max-ziplist-value"

 "64"

 "list-max-ziplist-entries"

 "512"

 "list-max-ziplist-value"

 "64"

 "set-max-intset-entries"

 "512"

 "zset-max-ziplist-entries"

 "128"

 "zset-max-ziplist-value"

 "64"

 "hll-sparse-max-bytes"

 "3000"

 "lua-time-limit"

 "5000"

 "slowlog-log-slower-than"

 "10000"

 "latency-monitor-threshold"

 "0"

 "slowlog-max-len"

 "128"

 "port"

 "6379"

 "tcp-backlog"

 "511"

 "databases"

 "16"

 "repl-ping-slave-period"

 "10"

 "repl-timeout"

 "60"

 "repl-backlog-size"

 "1048576"

 "repl-backlog-ttl"

 "3600"

 "maxclients"

 "4064"

 "watchdog-period"

 "0"

 "slave-priority"

 "100"

 "min-slaves-to-write"

 "0"

 "min-slaves-max-lag"

 "10"

 "hz"

 "10"

 "no-appendfsync-on-rewrite"

 "no"

 "slave-serve-stale-data"

 "yes"

 "slave-read-only"

 "yes"

 "stop-writes-on-bgsave-error"

 "yes"

 "daemonize"

 "no"

 "rdbcompression"

 "yes"

 "rdbchecksum"

 "yes"

 "activerehashing"

 "yes"

 "repl-disable-tcp-nodelay"

 "no"

 "aof-rewrite-incremental-fsync"

 "yes"

 "appendonly"

 "no"

 "dir"

 "/home/deepak/Downloads/redis-2.8.13/src"

 "maxmemory-policy"

 "volatile-lru"

 "appendfsync"

 "everysec"

 "save"

 "3600 1 300 100 60 10000"

 "loglevel"

 "notice"

 "client-output-buffer-limit"

 "normal 0 0 0 slave 268435456 67108864 60 pubsub 33554432 8388608 60"

 "unixsocketperm"

 "0"

 "slaveof"

 ""

 "notify-keyspace-events"

 ""

 "bind"

更多Redis相关知识,请访问Redis使用教程栏目!

以上就是redis配置文件在哪里的详细内容,更多文章请关注木庄网络博客

返回前面的内容

相关阅读 >>

redis配置文件在哪里

更多相关阅读请进入《redis配置文件在哪里》频道 >>


数据库系统概念 第6版
书籍

数据库系统概念 第6版

机械工业出版社

本书主要讲述了数据模型、基于对象的数据库和XML、数据存储和查询、事务管理、体系结构等方面的内容。



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...