Git Product home page Git Product logo

Comments (6)

wanjianjun123 avatar wanjianjun123 commented on May 24, 2024

我理解的binlogrecycle是将rocksdb中的binlog回收掉,binlog-save-logs是控制是否将binlog落盘到dump目录,理论上这2个动作都不应该会占用大量内存且不自动释放,不知道是不是我的理解有问题,辛苦大佬解答~~谢谢!

from tendis.

raffertyyu avatar raffertyyu commented on May 24, 2024

http://tendis.cn/#/Tendisplus/%E7%9F%A5%E8%AF%86%E5%BA%93/FAQ?id=q-tendis%e7%9a%84%e5%86%85%e5%ad%98%e5%8d%a0%e7%94%a8%e6%98%af%e5%a4%9a%e5%b0%91
可以参考一下官网上的文档

from tendis.

wanjianjun123 avatar wanjianjun123 commented on May 24, 2024

http://tendis.cn/#/Tendisplus/%E7%9F%A5%E8%AF%86%E5%BA%93/FAQ?id=q-tendis%e7%9a%84%e5%86%85%e5%ad%98%e5%8d%a0%e7%94%a8%e6%98%af%e5%a4%9a%e5%b0%91 可以参考一下官网上的文档

您好,文档我看过的,内存上涨确实没有超过设定的最大值,我不太理解的点是:binlogrecycle期间,持续占用内存,这个逻辑是否合理呢?此时是否会影响正常的读写性能呢?binlogrecycle不是个清理动作嘛,binlog落盘需要使用内存,那落完盘为啥不把内存释放掉呢?

from tendis.

takenliu avatar takenliu commented on May 24, 2024

rocks.blockcachemb 153600
因为这里配置了153GB的blockcache,binlog回收的时候会读binlog,就会把数据写入blockcache缓存起来。

from tendis.

wanjianjun123 avatar wanjianjun123 commented on May 24, 2024

rocks.blockcachemb 153600 因为这里配置了153GB的blockcache,binlog回收的时候会读binlog,就会把数据写入blockcache缓存起来。

是的,我的疑问是,当binlog回收完,为什么不把占用的cache释放掉呢?感觉这个不太合理。

from tendis.

takenliu avatar takenliu commented on May 24, 2024

释放不了,这是rocksdb的blockcache,读取的数据会加入到blockcache中,然后一直存在,直到有新的数据加入到blockcache里面来。你的场景下没有读请求,在有读请求的场景下,会有新的热数据加入到blockcache中来。

from tendis.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.