我大约有100w的数据量skip后非常慢请帮忙看下
source link: https://www.oschina.net/question/3482383_2324295
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
我大约有100w的数据量skip后非常慢请帮忙看下
"find" : "content",
"filter" : {
"status" : 2,
"channelId" : {
"in" : [ 5120, 5121, 30722, 898, 899, 32196, 17928, 907, 1037, 912, 914, 29011, 29012, 32596, 32663, 920, 924, 1057, 32290, 931, 32875, 5103, 5105, 5106, 5107, 5110, 952, 1470 ] }, "releaseDate" : { "$lte" : ISODate("2021-11-05T14:32:57.511Z") } }, "sort" : { "topLevel" : -1, "releaseDate" : -1 }, "projection" : { "_id" : true, "titleImg" : true, "shortTitle" : true, "quoteTitle" : true, "title" : true, "titleColor" : true, "description" : true, "url" : true, "txt" : true, "releaseDate" : true, "editor" : true, "author" : true, "tagStr" : true, "editorCharge" : true, "mediaPath" : true, "origin" : true, "views" : true }, "skip" : 117964, "limit" : 22, "in" : [ 5120, 5121, 30722, 898, 899, 32196, 17928, 907, 1037, 912, 914, 29011, 29012, 32596, 32663, 920, 924, 1057, 32290, 931, 32875, 5103, 5105, 5106, 5107, 5110, 952, 1470 ] }, "releaseDate" : { "$lte" : ISODate("2021-11-05T14:32:57.511Z") } }, "sort" : { "topLevel" : -1, "releaseDate" : -1 }, "projection" : { "_id" : true, "titleImg" : true, "shortTitle" : true, "quoteTitle" : true, "title" : true, "titleColor" : true, "description" : true, "url" : true, "txt" : true, "releaseDate" : true, "editor" : true, "author" : true, "tagStr" : true, "editorCharge" : true, "mediaPath" : true, "origin" : true, "views" : true }, "skip" : 117964, "limit" : 22, "db" : "cmsyy",
"$clusterTime" : {
"clusterTime" : Timestamp(1636093976, 1),
"signature" : {
"hash" : BinData(0,"xxpLvCV1uDJz9hffulWXJsaQp1Y="),
"keyId" : NumberLong("7006251150622064643")
}
},
"lsid" : {
"id" : UUID("597026cf-e23c-4efa-8191-90ddd1de5944")
}
},
"keysExamined" : 118014,
"docsExamined" : 22,
"fromMultiPlanner" : true,
"replanned" : true,
"replanReason" : "cached plan was less efficient than expected: expected trial execution to take 22 works but it took at least 220 works",
"cursorExhausted" : true,
"numYield" : 816,
"nreturned" : 22,
"queryHash" : "E975BCE5",
"planCacheKey" : "5CCAD883",
"locks" : {
"ReplicationStateTransition" : {
"acquireCount" : {
"w" : NumberLong(818)
}
},
"Global" : {
"acquireCount" : {
"r" : NumberLong(818)
}
},
"Database" : {
"acquireCount" : {
"r" : NumberLong(817)
}
},
"Collection" : {
"acquireCount" : {
"r" : NumberLong(817)
}
},
"Mutex" : {
"acquireCount" : {
"r" : NumberLong(1)
}
}
},
"flowControl" : {
},
"storage" : {
"data" : {
"bytesRead" : NumberLong(1378154),
"timeReadingMicros" : NumberLong(1251)
}
},
"responseLength" : 64078,
"protocol" : "op_msg",
"millis" : 2995,
Recommend
-
43
我大舟山年夜饭一上桌,其它各省的年夜饭就跪安吧!
-
10
bytes32Tostring 不起作用的,求大佬帮忙看下 5 bytes32Tostring 不起作用的,求大佬帮忙看下...
-
4
数据:昨日BSC链上活跃地址数约有200万个,达到其他区块链的5至10倍 - 律动BlockBeats 登录/注册 数据:昨日BSC链上活跃地址数约有200万个,达到其他区块链的5至10倍 11月...
-
8
JRS们帮忙看下下图哪个女生最好看小米服务(11级)楼主2022-02-05 07:03:09推荐 (2)...
-
3
兄弟们,可以帮忙看下女朋友发过来这张房卡属于哪个酒店吗,她有些心里问题,很急 - 虎扑社区兄弟们,可以帮忙看下女朋友发过来这张房卡属于哪个酒店吗,她有些心里问题,很急
-
4
V2EX › 程序员 eslint 自定义插件 - 有大佬帮忙看下吗 yiluo · 7 小时 25 分钟前 · 162 次...
-
2
V2EX › 职场话题 求各位大佬帮忙看下我的简历有没有什么问题,投了几天简历,一个面试都没有
-
8
V2EX › 程序员 请 css 大佬帮忙看下这个居中难题,折腾了 3 个小时还没解决
-
9
大佬帮忙看下 channel 的问题,多个协程执行 harryin777 · 大约2小时之...
-
8
V2EX › 问与答 有没有 v 友帮忙看下这种情况该怎么办
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK