V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
mune
V2EX  ›  PHP

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

  •  
  •   mune · Oct 19, 2017 · 3932 views
    This topic created in 3113 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   ·   3729 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 51ms · UTC 10:42 · PVG 18:42 · LAX 03:42 · JFK 06:42
    ♥ Do have faith in what you're doing.