随笔分类 -  mongodb

摘要:Fast Paging with MongoDB https://scalegrid.io/blog/fast-paging-with-mongodb/ 阅读全文
posted @ 2020-12-24 16:02 tonggc1668 阅读(89) 评论(0) 推荐(0)
摘要:/** * Copyright 2009-2020 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this f 阅读全文
posted @ 2020-11-11 15:20 tonggc1668 阅读(190) 评论(0) 推荐(0)
摘要:query spring mongoquery.skip(-1L).limit(2) same as skip(0).limit(2)query.skip(0L).limit(-2) block, seems equals no limit query.skip(0L).limit(0) block 阅读全文
posted @ 2020-09-22 10:18 tonggc1668 阅读(302) 评论(0) 推荐(0)
摘要:mongodb丢失数据的原因剖析 https://blog.csdn.net/yibing548/article/details/50844310 MongoDB知识点 https://www.jianshu.com/p/ef7d1ab3c84b mongodb的存储引擎 https://www.c 阅读全文
posted @ 2020-06-04 13:19 tonggc1668 阅读(303) 评论(0) 推荐(0)
摘要:https://mongodb.github.io/mongo-java-driver/ http://mongodb.github.io/mongo-java-driver/4.0/ http://mongodb.github.io/mongo-java-driver/4.0/driver-rea 阅读全文
posted @ 2020-06-03 17:47 tonggc1668 阅读(173) 评论(0) 推荐(0)
摘要:深入浅出MongoDB复制 https://mongoing.com/archives/5200 mongoDB释放磁盘占用 https://www.jianshu.com/p/e905ff4d85ff MongoDB如何释放空闲磁盘空间? https://cloud.tencent.com/dev 阅读全文
posted @ 2020-04-27 17:08 tonggc1668 阅读(259) 评论(0) 推荐(0)
摘要:https://www.jianshu.com/p/86942c09094a 阅读全文
posted @ 2019-08-02 10:10 tonggc1668 阅读(89) 评论(0) 推荐(0)
摘要:db.getCollection('a').renameCollection("b"); db.getCollection('a').find({}, {_id: 0}).forEach(doc => db.getCollection('b').insert(doc)); db.getCollect 阅读全文
posted @ 2019-07-17 17:34 tonggc1668 阅读(546) 评论(0) 推荐(0)
摘要:https://blog.csdn.net/qq_35561207/article/details/85201501 https://stackoverflow.com/questions/51789398/java-mongodb-changestreams-getupdatedescriptio 阅读全文
posted @ 2019-06-28 16:27 tonggc1668 阅读(146) 评论(0) 推荐(0)
摘要:db.getCollection('TradeBookingRepresentation').find({uitid:'168282:20190214010009224', tradeVersion:{major:2019021900, minor:904, revision:0}}).sort({ 阅读全文
posted @ 2019-03-07 15:48 tonggc1668 阅读(621) 评论(0) 推荐(0)
摘要:printjson(db.adminCommand( { isMaster: 1 } )); 阅读全文
posted @ 2019-02-13 10:25 tonggc1668 阅读(342) 评论(0) 推荐(0)
摘要:下载网址http://dl.mongodb.org/dl/win32/x86_64 mongodb-win32-x86_64-2008plus-ssl-v3.4-latest.zip 解压d盘命名mongodb mongodb文件夹下新建data文件夹data文件夹下分别建立db,log两个文件夹在 阅读全文
posted @ 2018-01-28 16:47 tonggc1668 阅读(105) 评论(0) 推荐(0)