<span id="mktg5"></span>

<i id="mktg5"><meter id="mktg5"></meter></i>

        <label id="mktg5"><meter id="mktg5"></meter></label>
        最新文章專題視頻專題問答1問答10問答100問答1000問答2000關鍵字專題1關鍵字專題50關鍵字專題500關鍵字專題1500TAG最新視頻文章推薦1 推薦3 推薦5 推薦7 推薦9 推薦11 推薦13 推薦15 推薦17 推薦19 推薦21 推薦23 推薦25 推薦27 推薦29 推薦31 推薦33 推薦35 推薦37視頻文章20視頻文章30視頻文章40視頻文章50視頻文章60 視頻文章70視頻文章80視頻文章90視頻文章100視頻文章120視頻文章140 視頻2關鍵字專題關鍵字專題tag2tag3文章專題文章專題2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章專題3
        問答文章1 問答文章501 問答文章1001 問答文章1501 問答文章2001 問答文章2501 問答文章3001 問答文章3501 問答文章4001 問答文章4501 問答文章5001 問答文章5501 問答文章6001 問答文章6501 問答文章7001 問答文章7501 問答文章8001 問答文章8501 問答文章9001 問答文章9501
        當前位置: 首頁 - 科技 - 知識百科 - 正文

        Redischildrencannowreportamountofcopy-on-wr

        來源:懂視網 責編:小采 時間:2020-11-09 13:10:48
        文檔

        Redischildrencannowreportamountofcopy-on-wr

        Redischildrencannowreportamountofcopy-on-wr:This is one of this trivial changes in Redis that can make a big difference for users. Basically in the unstable branch I added some code that has the following effect, when running Redis on Linux systems: [32741] 19 Nov 12:00:55.019 * Bac
        推薦度:
        導讀Redischildrencannowreportamountofcopy-on-wr:This is one of this trivial changes in Redis that can make a big difference for users. Basically in the unstable branch I added some code that has the following effect, when running Redis on Linux systems: [32741] 19 Nov 12:00:55.019 * Bac

        This is one of this trivial changes in Redis that can make a big difference for users. Basically in the unstable branch I added some code that has the following effect, when running Redis on Linux systems: [32741] 19 Nov 12:00:55.019 * Bac

        This is one of this trivial changes in Redis that can make a big difference for users. Basically in the unstable branch I added some code that has the following effect, when running Redis on Linux systems:

        [32741] 19 Nov 12:00:55.019 * Background saving started by pid 391
        [391] 19 Nov 12:01:00.663 * DB saved on disk
        [391] 19 Nov 12:01:00.673 * RDB: 462 MB of memory used by copy-on-write

        As you can see now the amount of additional memory used by the saving child is reported (it is also reported for AOF rewrite operations).

        I think this is big news for users as instead to see us developers and other Redis experts handwaving about the amount of copy-on-write being proportional to number of write ops per second and time used to produce the RDB or AOF file, now they get a number :-)

        # How it is obtained?

        We use the /proc//smaps, so yes, this is Linux only.
        Basically it is the sum of all the Private_Dirty entries in this file for the child process (actually you could measure it on the parent side and it is the same).

        I verified that the number we obtain actually corresponds very well with the physical amount of memory consumed during a save, in different conditions, so I'm very confident we provide an accurate information.

        # Why a number in the log file instead of an entry in the INFO output?

        Because even before calling wait3() from the parent, as long as the child exits we no longer have this information. So to display this information in INFO we need some inter process communication to move this info from the child to the parent. Not rocket science but for now I avoided adding extra complexity. The current patch is trivial enough that we could backport it into 2.6 for the joy of many users:

        https://github.com/antirez/redis/commit/3bfeb9c1a7044cd96c1bd77677dfe8b575c73c5f
        https://github.com/antirez/redis/commit/49b645235100fc214468b608c1ba6cdbc320fa88

        The log is produced at NOTICE level (so it is displayed by default). Comments

        聲明:本網頁內容旨在傳播知識,若有侵權等問題請及時與本網聯系,我們將在第一時間刪除處理。TEL:177 7030 7066 E-MAIL:11247931@qq.com

        文檔

        Redischildrencannowreportamountofcopy-on-wr

        Redischildrencannowreportamountofcopy-on-wr:This is one of this trivial changes in Redis that can make a big difference for users. Basically in the unstable branch I added some code that has the following effect, when running Redis on Linux systems: [32741] 19 Nov 12:00:55.019 * Bac
        推薦度:
        標簽: copy now on
        • 熱門焦點

        最新推薦

        猜你喜歡

        熱門推薦

        專題
        Top
        主站蜘蛛池模板: 天天摸夜夜摸成人免费视频| 久久青草精品38国产免费| 国产精品久久久久免费a∨| 亚洲成AV人片一区二区| 一级做受视频免费是看美女| 免费播放美女一级毛片 | 四虎永久免费网站免费观看| 亚洲国产无线乱码在线观看 | 亚洲人精品亚洲人成在线| 国产精品1024永久免费视频| 亚洲欧洲自拍拍偷综合| 我的小后妈韩剧在线看免费高清版| 亚洲无圣光一区二区| 国内精品乱码卡1卡2卡3免费| 亚洲三级在线免费观看| 毛片免费视频播放| 色偷偷噜噜噜亚洲男人| 亚洲国产成人精品久久久国产成人一区二区三区综 | 成人片黄网站A毛片免费| 亚洲熟伦熟女专区hd高清| 日本免费网站在线观看| 最好2018中文免费视频| 国产L精品国产亚洲区久久| 午夜免费福利视频| 亚洲国产精品免费观看| 亚洲国产小视频精品久久久三级| 在线免费视频你懂的| 666精品国产精品亚洲| 成人免费在线视频| 亚洲一级片免费看| 亚洲高清无在码在线电影不卡| 在线观看av永久免费| 一出一进一爽一粗一大视频免费的| 国产亚洲av片在线观看播放| 成人免费黄色网址| 一级做a爰片久久毛片免费陪| 老司机亚洲精品影院无码| 在线精品免费视频| 在线看片免费人成视频播| 精品国产成人亚洲午夜福利| 久久亚洲精品无码播放|