kisshere

elasticsearch 查询、新增、更新数据都时快时慢怎么办?

  •  
  •   kisshere · Feb 5, 2024 · 4370 views
    This topic created in 859 days ago, the information mentioned may be changed or developed.

    业务代码、服务器、访问量都没变,以前 CURD 操作都很快,这些天突然变慢,然后偶尔又变得很快,但大部分时间都变慢了,这是怎么回事?

    6 replies    2024-02-06 09:32:52 +08:00
    SoulSleep
        1
    SoulSleep  
       Feb 5, 2024
    kibana profiler....

    index...slow...log

    服务器监控

    挨着看呗 对比下一周前的状态
    hanhugh
        2
    hanhugh  
       Feb 5, 2024
    最近在研究 es7.17 代码,业务场景不多,可以免费帮你看看,看看能不能帮助你
    tonkane
        3
    tonkane  
       Feb 5, 2024
    提供的信息太少了。集群配置、节点配置、分片、ES 版本、数据大小、日常使用场景、慢日志情况、主要的 mapping 、监控、是否经常有耗时任务:段合并等、磁盘硬件健康等
    encro
        4
    encro  
       Feb 5, 2024
    了解下预热。。。
    cache 。。。
    cyndihuifei
        5
    cyndihuifei  
       Feb 5, 2024
    @encro 跟预热没什么关系吧,es 存放的数据量大,预热得了多少
    encro
        6
    encro  
       Feb 6, 2024
    @cyndihuifei

    关系可大了,预热是否,影响性能差一个数量级吧,我记得我当年搞的时候,冷启动之后都要立即预热。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   874 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 20:26 · PVG 04:26 · LAX 13:26 · JFK 16:26
    ♥ Do have faith in what you're doing.