长期记录使用redis过程中遇到的配置参数以及作用和大概位置
1 | ################################## NETWORK ##################################### |
1 | 85 # By default protected mode is enabled. You should disable it only if |
1 | 91 # Accept connections on the specified port, default is 6379 (IANA #815344). |
1 | ################################ SNAPSHOTTING ################################ |
1 | 252 # The filename where to dump the DB |
1 | 255 # The working directory. |
1 | 679 ############################## APPEND ONLY MODE ############################### |
1 | 701 # The name of the append only file (default: "appendonly.aof") |
1 | 726 # If unsure, use "everysec". |
1 | 767 # Specify a percentage of zero in order to disable the automatic AOF |
1 | 562 # In short... if you have replicas attached it is suggested that you set a lower |
1 | 595 # The default is: |