mune
V2EX  ›  PHP

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

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