mune
V2EX  ›  PHP

redis 会卡死吗,重启之后输入命令 keys * 或者 select index 都没有反应,

  •  
  •   mune · Oct 19, 2017 · 4333 views
    This topic created in 3323 days ago, the information mentioned may be changed or developed.
    2 replies  •  2017-10-25 14:31:29 +08:00
    monsterxx03
    monsterxx03
    Oct 19, 2017
    1
    估计在加载 rdb 文件,看看 log
    KashinJ
    KashinJ
    Oct 25, 2017
    2
    keys 命令时间复杂度是 O(N) , 如果数据量大,则会直接搞死 redis。
    因为 redis 单进程单核运行……
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   998 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 42ms · UTC 20:09 · PVG 04:09 · LAX 12:09 · JFK 15:09
    ♥ Do have faith in what you're doing.