日本综合一区二区|亚洲中文天堂综合|日韩欧美自拍一区|男女精品天堂一区|欧美自拍第6页亚洲成人精品一区|亚洲黄色天堂一区二区成人|超碰91偷拍第一页|日韩av夜夜嗨中文字幕|久久蜜综合视频官网|精美人妻一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務(wù)時間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
記錄Redis重新記錄AOF,重啟記錄重新告知(redis 重置 aof)

Redis is an open source, data structure server that is popularly used because of its high performance, advanced features, and scalability. It can be used to store key-value data, lists, hashes, sets and other data structures. As an in-memory data store, Redis requires that all data is stored in memory to ensure maximum performance. Redis can also store data on disk for persistence.

創(chuàng)新互聯(lián)建站專注于企業(yè)營銷型網(wǎng)站、網(wǎng)站重做改版、新邵網(wǎng)站定制設(shè)計、自適應(yīng)品牌網(wǎng)站建設(shè)、H5響應(yīng)式網(wǎng)站商城網(wǎng)站建設(shè)、集團(tuán)公司官網(wǎng)建設(shè)、成都外貿(mào)網(wǎng)站建設(shè)、高端網(wǎng)站制作、響應(yīng)式網(wǎng)頁設(shè)計等建站業(yè)務(wù),價格優(yōu)惠性價比高,為新邵等各大城市提供網(wǎng)站開發(fā)制作服務(wù)。

In some cases, when Redis is restarted, the data does not persist and is lost, so Redis provides persistency and durability through the redis append-only-file (AOF). The AOF is a log-structured format which continuously updates with every write operation to Redis which is then stored on disk. When Redis is restarted, the contents of the AOF are entered into the new Redis process which re-creates the Redis data store.

Recording AOF happens periodically and can also be triggered manually. There are two ways to trigger an AOF rewrite:

? By running the SAVE command: This command forces an AOF rewrite.

? By changing the auto-AOF-rewrite-percentage setting: This setting controls when a rewrite is automatically triggered. When the size of the AOF increases past the auto-AOF-rewrite-percentage value, an AOF rewrite will be triggered automatically.

The AOF rewrite can be disabled. To do this, the no-appendfsync-on-rewrite configuration setting must be set to “yes”.

Once the configuration settings for AOF recording and rewriting have been set up, Redis can be restarted. On restart, Redis will open the AOF file and execute the log of operations on it, re-creating the Redis data store. The AOF file will be re-recorded on every restart so that the data within it is up-to-date.

In summary, Redis provides durability through the use of the AOF recording and rewriting. Recording the AOF ensures that data is not lost when Redis is restarted, and rewriting the AOF ensures that it is up-to-date. This process happens automatically when Redis is restarted and must be configured correctly in order to work correctly.

成都服務(wù)器托管選創(chuàng)新互聯(lián),先上架開通再付費。
創(chuàng)新互聯(lián)(www.cdcxhl.com)專業(yè)-網(wǎng)站建設(shè),軟件開發(fā)老牌服務(wù)商!微信小程序開發(fā),APP開發(fā),網(wǎng)站制作,網(wǎng)站營銷推廣服務(wù)眾多企業(yè)。電話:028-86922220


網(wǎng)站欄目:記錄Redis重新記錄AOF,重啟記錄重新告知(redis 重置 aof)
網(wǎng)站路徑:http://www.dlmjj.cn/article/djphdpo.html