![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mongo db
宏奕0920
这个作者很懒,什么都没留下…
展开
-
MongoDB 聚合查询aggregate错误:Sort exceeded memory limit解决
在MongoDB中,内排序大内存限制最大为100M,如果执行一个更大的排序,需要使用 allowDiskUse 选项来将数据写到临时文件来排序。在查询语句中最后添加allowDiskUse选项:allowDiskUse: true原创 2021-09-26 11:18:21 · 1042 阅读 · 0 评论 -
MongoDB简介
MongoDB是一个高性能,开源,无模式的文档型数据库,是当前NoSql数据库中比较热门的一种。它在许多场景下可用于替代传统的关系型数据库或键/值存储方式。Mongo使用C++开发。Mongo的官方网站地址是:http://www.mongodb.org/ 特点:高性能、易部署、易使用,存储数据非常方便。主要功能特性有:面向集合存储,易存储对象类型的数据。转载 2015-01-29 10:27:17 · 560 阅读 · 0 评论 -
Java 连接MongoDB并进行insert delete操作
private static final String IP = "localhost"; private static final int PORT = 27017; public static MongoClient getInstance() { return new MongoClient(IP, PORT); } public static void main(Strin原创 2015-01-30 15:41:51 · 4781 阅读 · 0 评论 -
Sort operation used more than the maximum 33554432 bytes of RAM
在使用Java查询MongoDB的时候报错:com.mongodb.MongoQueryException: Query failed with error code 96 and error message 'Executor error during find command :: caused by :: Sort operation used more than the maximum...原创 2019-04-29 14:05:00 · 465 阅读 · 0 评论 -
MongoDB mongoimport 从文件导入数据命令
mongoimport -h 127.0.0.1 --port 27010 -u root -p root-d test-c demo --file E:\\123.csv原创 2019-08-21 14:09:25 · 1929 阅读 · 0 评论