亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 976 | 回復: 0
打印 上一主題 下一主題

[MongoDB] MongoDB Jira系列-3.0.5修復的那些事兒 [復制鏈接]

求職 : Linux運維
論壇徽章:
203
拜羊年徽章
日期:2015-03-03 16:15:432015年辭舊歲徽章
日期:2015-03-03 16:54:152015年迎新春徽章
日期:2015-03-04 09:57:092015小元宵徽章
日期:2015-03-06 15:58:182015年亞洲杯之約旦
日期:2015-04-05 20:08:292015年亞洲杯之澳大利亞
日期:2015-04-09 09:25:552015年亞洲杯之約旦
日期:2015-04-10 17:34:102015年亞洲杯之巴勒斯坦
日期:2015-04-10 17:35:342015年亞洲杯之日本
日期:2015-04-16 16:28:552015年亞洲杯紀念徽章
日期:2015-04-27 23:29:17操作系統(tǒng)版塊每日發(fā)帖之星
日期:2015-06-06 22:20:00操作系統(tǒng)版塊每日發(fā)帖之星
日期:2015-06-09 22:20:00
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2016-01-15 18:25 |只看該作者 |倒序瀏覽
大家好,我是E叔。
經(jīng)常有朋友向我咨詢版本選型的問題。
受到老畢同學的啟發(fā),E叔決定為大家搬運+翻譯+簡單解釋 MongoDB3.0.4+以后各個版本fixed的比較重要的jira issues。大家可以根據(jù)需求來決定版本選型。
今天是3.0.5篇。

Issues fixed in 3.0.5

以下均是3.0.5中修復了的jira issues。(比較重要的issues)
由于人肉整理,難免有遺漏,歡迎補充。

Issues fixed in 3.0.5

SERVER-19513

truncate 一個capped 表的時候 可能其索引在WT中不會刪除。

cover index 的查詢可能就會返回出這些沒刪除的索引的documents

SERVER-19375

選擇syncsource的時候,此前是比較的最新的數(shù)據(jù),應該比較最新oplog數(shù)據(jù)。

SERVER-19189(與SERVER-18829有關聯(lián))

提高了WT引擎在大量threads下的性能。

SERVER-18829

當在WT中進行大量index的建立的時候,會超過我們WT設置的最大cache,可能會OOM之類

SERVER-19178

由于WT tracks和expires capped表的方式問題,性能有所損耗(在大量inserts的情況,)

注意:oplog就是個capped collection!

現(xiàn)在WT會cache住capped的第一個沒有過期的document在cache中,提高了效率。

SERVER-18994

producer thread can continue producing after a node becomes primary

SERVER-18926

full text search 在WT中效率很低,使用內(nèi)存較多

yield過程中 intermediate的數(shù)據(jù)buffer在cache中,但是在$text 和geoNear的long queries有個bug:

In particular, if a such a query yields y times and buffers d documents, the overall time spent in yield-preparation was O(yd). With the fix, the time complexity is reduced to O(y).

SERVER-18902

超過1MB大小的document,WT速度slow down

原因如下

WiredTiger does not store documents larger than its default leaf_value_max in the in-memory cache. The leaf_value_max value is 1 megabyte. As a result, operations that read or modify larger documents are significantly less efficient than with smaller documents.

Starting with MongoDB 3.0.5 all documents are stored in the in-memory WritedTiger cache, but this change only impacts collections created after upgrading to 3.0.5 or later. Existing collections are unaffected by this change.

WT的每個leaf的leaf_value_max是1MB,如果超過1MB就存儲多個,這時候效率變差。

Users with documents larger than 1 megabyte may use the –wiredTigerCollectionConfigString ‘leaf_value_max=‘configuration option to increase the value of leaf_value_max beyond 1 megabyte to improve performance when accessing large documents.

For example, to ask WiredTiger to put in its cache documents of up to 16 megabytes in size, use:

–wiredTigerCollectionConfigString ‘leaf_value_max=16000000′

Note that this setting only impacts collections created after the change. Existing collections are not be affected by this change, so users with existing collections containing large documents may want to move them to a newly created collection, replicate them to new instances running 3.0.5, or perform a dump + restore cycle on these collections.

3.0.5修復,但是只有在3.0.5之后建立的表才有效,可以重新建立表,導入數(shù)據(jù)之類。

SERVER-18838

當意外宕機(如斷電)的時候,

這些操作:database creation

database dropping

collection creation

collection dropping

index creation

index dropping

將可能會作用在invalid的data set中,導致重啟后recover失敗

SERVER-17386

WT 不限制mongo打開的wt session。這樣造成了一定的內(nèi)存泄露

WiredTiger allows MongoDB to open an unbounded number of WiredTiger sessions, which means that despite a limited number of WiredTiger cursors per session, the total number of cached sessions an cursors may lead to excessive memory use.
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復

  

北京盛拓優(yōu)訊信息技術有限公司. 版權所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP